hw/vfio: add ramfb migration support
commit8741781157f09a9f79bb652f8a0210d40f814cd0
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 9 Oct 2023 06:32:47 +0000 (9 10:32 +0400)
committerCédric Le Goater <clg@redhat.com>
Wed, 18 Oct 2023 08:10:49 +0000 (18 10:10 +0200)
treea240a40b2055287e3110615b7719edce00723983
parenta1e88d2d2b89ad6371036aa07f7e96947786c873
hw/vfio: add ramfb migration support

Add a "VFIODisplay" subsection whenever "x-ramfb-migrate" is turned on.

Turn it off by default on machines <= 8.1 for compatibility reasons.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
[ clg:  - checkpatch fixes
   - improved warn_report() in vfio_realize() ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/core/machine.c
hw/vfio/display.c
hw/vfio/pci.c
hw/vfio/pci.h
stubs/ramfb.c