hw/arm/virt: pass VirtMachineState instead of VirtGuestInfo
commite9a8e474fbdedca787623f0c55f7b6e9cb97bdfc
authorAndrew Jones <drjones@redhat.com>
Mon, 9 Jan 2017 11:40:22 +0000 (9 11:40 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jan 2017 11:40:22 +0000 (9 11:40 +0000)
tree398b8846b70d6c10a742440235f6ce0f57fc9d3e
parenta72d4363875ed086acedab657d34f6fc82a7d8aa
hw/arm/virt: pass VirtMachineState instead of VirtGuestInfo

Only two functions take VirtGuestInfo parameters. Now that guest-info
is part of VirtMachineState, and VirtMachineState is defined in the
virt header, pass that instead.

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-11-drjones@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt-acpi-build.c
hw/arm/virt.c
include/hw/arm/virt.h