[PATCH v3 0/5] WIP: ramfb: migration support

marcandre.lureau@redhat.com posted 5 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231003085644.1220326-1-marcandre.lureau@redhat.com
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Gerd Hoffmann <kraxel@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>
There is a newer version of this series
hw/vfio/pci.h                 |  3 +++
include/hw/display/ramfb.h    |  4 ++++
hw/core/machine.c             | 15 ++++---------
hw/display/ramfb-standalone.c | 27 +++++++++++++++++++++++
hw/display/ramfb.c            | 19 ++++++++++++++++
hw/i386/pc.c                  | 41 -----------------------------------
hw/vfio/display.c             | 23 ++++++++++++++++++++
hw/vfio/pci.c                 | 32 +++++++++++++++++++++++++++
8 files changed, 112 insertions(+), 52 deletions(-)
[PATCH v3 0/5] WIP: ramfb: migration support
Posted by marcandre.lureau@redhat.com 7 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

Implement RAMFB migration, and add properties to enable it only on >= 8.2
machines, + a few related cleanups.

v3:
- add a "x-" prefix to properties, as they are not meant for users.
- RAMFB now exports a ramfb_vmstate for actual devices to include
- VFIOPCIDevice now has a VFIODisplay optional subsection whenever ramfb
  migration is required (untested)

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1859424

Marc-André Lureau (5):
  hw/core: remove needless includes
  hw/pc: remove needless includes
  ramfb: add migration support
  ramfb-standalone: add migration support
  hw/vfio: add ramfb migration support

 hw/vfio/pci.h                 |  3 +++
 include/hw/display/ramfb.h    |  4 ++++
 hw/core/machine.c             | 15 ++++---------
 hw/display/ramfb-standalone.c | 27 +++++++++++++++++++++++
 hw/display/ramfb.c            | 19 ++++++++++++++++
 hw/i386/pc.c                  | 41 -----------------------------------
 hw/vfio/display.c             | 23 ++++++++++++++++++++
 hw/vfio/pci.c                 | 32 +++++++++++++++++++++++++++
 8 files changed, 112 insertions(+), 52 deletions(-)

-- 
2.41.0