qemu-e2k/hw/vfio
Avihai Horon 2461e75219 vfio/migration: Fix wrong enum usage
vfio_migration_init() initializes VFIOMigration->device_state using enum
of VFIO migration protocol v2. Current implemented protocol is v1 so v1
enum should be used. Fix it.

Fixes: 429c728006 ("vfio/migration: Fix incorrect initialization value for parameters in VFIOMigration")
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Link: https://lore.kernel.org/r/20221016085752.32740-1-avihaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2022-11-03 15:57:31 -06:00
..
amd-xgbe.c
ap.c
calxeda-xgmac.c
ccw.c
common.c vfio/common: Fix vfio_iommu_type1_info use after free 2022-09-27 14:26:42 -06:00
display.c ui/console: Do not return a value with ui_info 2022-06-14 10:34:37 +02:00
igd.c
Kconfig
meson.build
migration.c vfio/migration: Fix wrong enum usage 2022-11-03 15:57:31 -06:00
pci-quirks.c hw/vfio/pci-quirks: Resolve redundant property getters 2022-05-24 10:38:50 +10:00
pci.c vfio/pci: Use vbasedev local variable in vfio_realize() 2022-05-06 09:06:50 -06:00
pci.h vfio: defer to commit kvm irq routing when enable msi/msix 2022-05-06 09:06:50 -06:00
platform.c
spapr.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
trace-events vfio/common: remove spurious warning on vfio_listener_region_del 2022-06-08 08:44:19 -06:00
trace.h