mbox series

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

Message ID 20231003085644.1220326-1-marcandre.lureau@redhat.com
Headers show
Series WIP: ramfb: migration support | expand

Message

Marc-André Lureau Oct. 3, 2023, 8:56 a.m. UTC
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(-)