]> git.proxmox.com Git - mirror_qemu.git/commit
xen: Use the PCI_DEVICE macro
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 5 Jul 2018 15:58:07 +0000 (12:58 -0300)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 26 Oct 2018 15:17:32 +0000 (17:17 +0200)
commit40e2297b4c73589290f64018aa65e4aa7e08b427
tree77c7ac3f3868828a1b5a83010e4b2f80b45f6c94
parent7396972021f0d1386f8cb14cacd64b1fe1237fd7
xen: Use the PCI_DEVICE macro

TYPE_XEN_PT_DEVICE is a subclass of TYPE_PCI_DEVICE, the clean way
to access the PCIDevice pointer is using the PCI_DEVICE() macro.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/xen/xen_pt_config_init.c