diff options
author | Li Qiang | 2019-05-21 17:15:41 +0200 |
---|---|---|
committer | Laurent Vivier | 2019-05-22 17:35:27 +0200 |
commit | da56e33006c3f2c0e703870f140b3ef72eb74aec (patch) | |
tree | df593ae9fd86b0654acaa5a94d96b81580791d41 /hw/vfio/ap.c | |
parent | vfio: pci: make "vfio-pci-nohotplug" as MACRO (diff) | |
download | qemu-da56e33006c3f2c0e703870f140b3ef72eb74aec.tar.gz qemu-da56e33006c3f2c0e703870f140b3ef72eb74aec.tar.xz qemu-da56e33006c3f2c0e703870f140b3ef72eb74aec.zip |
hw: vfio: drop TYPE_FOO MACRO in VMStateDescription
It's recommended that VMStateDescription names are decoupled from QOM
type names as the latter may freely change without consideration of
migration compatibility.
Link: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02175.html
CC: qemu-trivial@nongnu.org
Signed-off-by: Li Qiang <liq3ea@163.com>
Message-Id: <20190521151543.92274-3-liq3ea@163.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/vfio/ap.c')
-rw-r--r-- | hw/vfio/ap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c index d8b79ebe53..564751650f 100644 --- a/hw/vfio/ap.c +++ b/hw/vfio/ap.c @@ -155,7 +155,7 @@ static void vfio_ap_reset(DeviceState *dev) } static const VMStateDescription vfio_ap_vmstate = { - .name = VFIO_AP_DEVICE_TYPE, + .name = "vfio-ap", .unmigratable = 1, }; |