diff options
| author | Andrew Jones | 2017-01-09 12:40:22 +0100 |
|---|---|---|
| committer | Peter Maydell | 2017-01-09 12:40:22 +0100 |
| commit | 055a7f2b0aefdd6b75bf2866171c4fe11f9a9e00 (patch) | |
| tree | 7f9099ee761c38a8d79ddca88d9ae09df5df01ad /scripts | |
| parent | hw/arm/virt: parameter passing cleanups (diff) | |
| download | qemu-055a7f2b0aefdd6b75bf2866171c4fe11f9a9e00.tar.gz qemu-055a7f2b0aefdd6b75bf2866171c4fe11f9a9e00.tar.xz qemu-055a7f2b0aefdd6b75bf2866171c4fe11f9a9e00.zip | |
hw/arm/virt: use VirtMachineState.gic_version
machvirt_init may need to probe for the gic version. If so, then
make sure the result is written to VirtMachineState. With the
state up to date, use it instead of a local variable. This is a
cleanup that prepares for VirtMachineState to be passed to functions
even outside hw/arm/virt.c
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20170102200153.28864-7-drjones@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
