qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] ramfb: migration support
@ 2023-10-09  6:32 marcandre.lureau
  2023-10-09  6:32 ` [PATCH v5 1/3] ramfb: add " marcandre.lureau
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: marcandre.lureau @ 2023-10-09  6:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Cédric Le Goater, lersek, Marc-André Lureau

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.

thanks

v5:
- add missing VMSTATE_END_OF_LIST
- changed ramfb=off & x-mig=on user config error to a warning
- add r-b tags

v4: (Laszlo review and suggestions)
- change migrate_needed() to assert(ramfb_exists)
- rename vfio_display_needed() to vfio_display_migration_needed(),
  update the condition and associated comment
- move the ramfb-migrate option check and add a check for ramfb=on
- add a stub to fix compilation on some architectures

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 (3):
  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             |  2 ++
 hw/display/ramfb-standalone.c | 27 +++++++++++++++++++++
 hw/display/ramfb.c            | 19 +++++++++++++++
 hw/vfio/display.c             | 21 +++++++++++++++++
 hw/vfio/pci.c                 | 44 +++++++++++++++++++++++++++++++++++
 stubs/ramfb.c                 |  2 ++
 8 files changed, 122 insertions(+)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-12 10:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-09  6:32 [PATCH v5 0/3] ramfb: migration support marcandre.lureau
2023-10-09  6:32 ` [PATCH v5 1/3] ramfb: add " marcandre.lureau
2023-10-09  6:32 ` [PATCH v5 2/3] ramfb-standalone: " marcandre.lureau
2023-10-09  6:32 ` [PATCH v5 3/3] hw/vfio: add ramfb " marcandre.lureau
2023-10-09 10:19   ` Laszlo Ersek
2023-10-10  7:03     ` Cédric Le Goater
2023-10-10  7:08       ` Marc-André Lureau
2023-10-10 12:48 ` [PATCH v5 0/3] ramfb: " Cédric Le Goater
2023-10-10 13:46   ` Marc-André Lureau
2023-10-11 17:09     ` Cédric Le Goater
2023-10-12  9:18       ` Gerd Hoffmann
2023-10-12 10:11         ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).