qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/51] migration patches for VFIO
@ 2022-12-05  9:51 Juan Quintela
  2022-12-05  9:51 ` [PATCH v2 01/51] update seabios source from 1.16.0 to 1.16.1 Juan Quintela
                   ` (51 more replies)
  0 siblings, 52 replies; 53+ messages in thread
From: Juan Quintela @ 2022-12-05  9:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Thomas Huth, Viresh Kumar, Kevin Wolf, Mathieu Poirier,
	Laurent Vivier, Eric Blake, Richard Henderson, Raphael Norwitz,
	Stefan Hajnoczi, Juan Quintela, virtio-fs, Alex Bennée,
	Christian Borntraeger, Gonglei (Arei), qemu-block, Xiaojuan Yang,
	Thomas Huth, Ilya Leoshkevich, Eduardo Habkost, Gerd Hoffmann,
	Dr. David Alan Gilbert, Alex Williamson, Eric Farman, Halil Pasic,
	Peter Maydell, Vladimir Sementsov-Ogievskiy, Jason Wang,
	Laurent Vivier, Song Gao, qemu-s390x, Pavel Dovgalyuk,
	Klaus Jensen, John Snow, Michael Tokarev, qemu-arm, Paolo Bonzini,
	Michael S. Tsirkin, Keith Busch, David Hildenbrand, qemu-trivial,
	Hanna Reitz

Hi

On this v2:

- Remove the stop of the guest to calculate the size
- Rebase on latest upstream.

Please review.

[v1/RFC]
VFIO migration has several requirements:
- the size of the state is only known when the guest is stopped
- they need to send possible lots of data.

this series only address the 1st set of problems.

What they do:
- res_compatible parameter was not used anywhere, just add that information to res_postcopy.
- Remove QEMUFILE parameter from save_live_pending
- Split save_live_pending into
  * save_pending_estimate(): the pending state size without trying too hard
  * save_pending_exact(): the real pending state size, it is called with the guest stopped.
- Now save_pending_* don't need the threshold parameter
- HACK a way to stop the guest before moving there.

ToDo:
- autoconverge test is broken, no real clue why, but it is possible that the test is wrong.

- Make an artifact to be able to send massive amount of data in the save state stage (probably more multifd channels).

- Be able to not having to start the guest between cheking the state pending size and migration_completion().

Please review.

Thanks, Juan.

Alex Bennée (4):
  tests/qtests: override "force-legacy" for gpio virtio-mmio tests
  hw/virtio: add started_vu status field to vhost-user-gpio
  hw/virtio: generalise CHR_EVENT_CLOSED handling
  include/hw: VM state takes precedence in virtio_device_should_start

Evgeny Ermakov (2):
  target/arm: Set TCGCPUOps.restore_state_to_opc for v7m
  hw/display/next-fb: Fix comment typo

Gerd Hoffmann (2):
  update seabios source from 1.16.0 to 1.16.1
  update seabios binaries to 1.16.1

Juan Quintela (9):
  multifd: Create page_size fields into both MultiFD{Recv,Send}Params
  multifd: Create page_count fields into both MultiFD{Recv,Send}Params
  migration: Export ram_transferred_ram()
  migration: Export ram_release_page()
  migration: Remove res_compatible parameter
  migration: No save_live_pending() method uses the QEMUFile parameter
  migration: Split save_live_pending() into state_pending_*
  migration: Remove unused threshold_size parameter
  migration: simplify migration_iteration_run()

Klaus Jensen (5):
  hw/nvme: fix aio cancel in format
  hw/nvme: fix aio cancel in flush
  hw/nvme: fix aio cancel in zone reset
  hw/nvme: fix aio cancel in dsm
  hw/nvme: remove copy bh scheduling

Paolo Bonzini (1):
  target/i386: allow MMX instructions with CR4.OSFXSR=0

Peter Xu (15):
  migration: Take bitmap mutex when completing ram migration
  migration: Add postcopy_preempt_active()
  migration: Cleanup xbzrle zero page cache update logic
  migration: Trivial cleanup save_page_header() on same block check
  migration: Remove RAMState.f references in compression code
  migration: Yield bitmap_mutex properly when sending/sleeping
  migration: Use atomic ops properly for page accountings
  migration: Teach PSS about host page
  migration: Introduce pss_channel
  migration: Add pss_init()
  migration: Make PageSearchStatus part of RAMState
  migration: Move last_sent_block into PageSearchStatus
  migration: Send requested page directly in rp-return thread
  migration: Remove old preempt code around state maintainance
  migration: Drop rs->f

Philippe Mathieu-Daudé (5):
  hw/display/qxl: Have qxl_log_command Return early if no log_cmd
    handler
  hw/display/qxl: Document qxl_phys2virt()
  hw/display/qxl: Pass requested buffer size to qxl_phys2virt()
  hw/display/qxl: Avoid buffer overrun in qxl_phys2virt (CVE-2022-4144)
  hw/display/qxl: Assert memory slot fits in preallocated MemoryRegion

Richard Henderson (2):
  replay: Fix declaration of replay_read_next_clock
  target/i386: Always completely initialize TranslateFault

Stefan Hajnoczi (2):
  block-backend: avoid bdrv_unregister_buf() NULL pointer deref
  Update VERSION for v7.2.0-rc3

Stefano Garzarella (1):
  vhost: enable vrings in vhost_dev_start() for vhost-user devices

Thomas Huth (2):
  tests/qtest/migration-test: Fix unlink error and memory leaks
  target/s390x/tcg: Fix and improve the SACF instruction

Xiaojuan Yang (1):
  hw/loongarch/virt: Add cfi01 pflash device

-- 
2.38.1



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

end of thread, other threads:[~2022-12-05 10:41 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-05  9:51 [PATCH v2 00/51] migration patches for VFIO Juan Quintela
2022-12-05  9:51 ` [PATCH v2 01/51] update seabios source from 1.16.0 to 1.16.1 Juan Quintela
2022-12-05  9:51 ` [PATCH v2 02/51] update seabios binaries " Juan Quintela
2022-12-05  9:51 ` [PATCH v2 03/51] replay: Fix declaration of replay_read_next_clock Juan Quintela
2022-12-05  9:51 ` [PATCH v2 04/51] hw/display/qxl: Have qxl_log_command Return early if no log_cmd handler Juan Quintela
2022-12-05  9:51 ` [PATCH v2 05/51] hw/display/qxl: Document qxl_phys2virt() Juan Quintela
2022-12-05  9:51 ` [PATCH v2 06/51] hw/display/qxl: Pass requested buffer size to qxl_phys2virt() Juan Quintela
2022-12-05  9:51 ` [PATCH v2 07/51] hw/display/qxl: Avoid buffer overrun in qxl_phys2virt (CVE-2022-4144) Juan Quintela
2022-12-05  9:51 ` [PATCH v2 08/51] hw/display/qxl: Assert memory slot fits in preallocated MemoryRegion Juan Quintela
2022-12-05  9:51 ` [PATCH v2 09/51] block-backend: avoid bdrv_unregister_buf() NULL pointer deref Juan Quintela
2022-12-05  9:51 ` [PATCH v2 10/51] target/arm: Set TCGCPUOps.restore_state_to_opc for v7m Juan Quintela
2022-12-05  9:51 ` [PATCH v2 11/51] Update VERSION for v7.2.0-rc3 Juan Quintela
2022-12-05  9:51 ` [PATCH v2 12/51] tests/qtests: override "force-legacy" for gpio virtio-mmio tests Juan Quintela
2022-12-05  9:51 ` [PATCH v2 13/51] vhost: enable vrings in vhost_dev_start() for vhost-user devices Juan Quintela
2022-12-05  9:51 ` [PATCH v2 14/51] hw/virtio: add started_vu status field to vhost-user-gpio Juan Quintela
2022-12-05  9:51 ` [PATCH v2 15/51] hw/virtio: generalise CHR_EVENT_CLOSED handling Juan Quintela
2022-12-05  9:51 ` [PATCH v2 16/51] include/hw: VM state takes precedence in virtio_device_should_start Juan Quintela
2022-12-05  9:51 ` [PATCH v2 17/51] hw/nvme: fix aio cancel in format Juan Quintela
2022-12-05  9:51 ` [PATCH v2 18/51] hw/nvme: fix aio cancel in flush Juan Quintela
2022-12-05  9:51 ` [PATCH v2 19/51] hw/nvme: fix aio cancel in zone reset Juan Quintela
2022-12-05  9:51 ` [PATCH v2 20/51] hw/nvme: fix aio cancel in dsm Juan Quintela
2022-12-05  9:51 ` [PATCH v2 21/51] hw/nvme: remove copy bh scheduling Juan Quintela
2022-12-05  9:51 ` [PATCH v2 22/51] target/i386: allow MMX instructions with CR4.OSFXSR=0 Juan Quintela
2022-12-05  9:52 ` [PATCH v2 23/51] target/i386: Always completely initialize TranslateFault Juan Quintela
2022-12-05  9:52 ` [PATCH v2 24/51] hw/loongarch/virt: Add cfi01 pflash device Juan Quintela
2022-12-05  9:52 ` [PATCH v2 25/51] tests/qtest/migration-test: Fix unlink error and memory leaks Juan Quintela
2022-12-05  9:52 ` [PATCH v2 26/51] target/s390x/tcg: Fix and improve the SACF instruction Juan Quintela
2022-12-05  9:52 ` [PATCH v2 27/51] hw/display/next-fb: Fix comment typo Juan Quintela
2022-12-05  9:52 ` [PATCH v2 28/51] multifd: Create page_size fields into both MultiFD{Recv, Send}Params Juan Quintela
2022-12-05  9:52 ` [PATCH v2 29/51] multifd: Create page_count " Juan Quintela
2022-12-05  9:52 ` [PATCH v2 30/51] migration: Export ram_transferred_ram() Juan Quintela
2022-12-05  9:52 ` [PATCH v2 31/51] migration: Export ram_release_page() Juan Quintela
2022-12-05  9:52 ` [PATCH v2 32/51] migration: Take bitmap mutex when completing ram migration Juan Quintela
2022-12-05  9:52 ` [PATCH v2 33/51] migration: Add postcopy_preempt_active() Juan Quintela
2022-12-05  9:52 ` [PATCH v2 34/51] migration: Cleanup xbzrle zero page cache update logic Juan Quintela
2022-12-05  9:52 ` [PATCH v2 35/51] migration: Trivial cleanup save_page_header() on same block check Juan Quintela
2022-12-05  9:52 ` [PATCH v2 36/51] migration: Remove RAMState.f references in compression code Juan Quintela
2022-12-05  9:52 ` [PATCH v2 37/51] migration: Yield bitmap_mutex properly when sending/sleeping Juan Quintela
2022-12-05  9:52 ` [PATCH v2 38/51] migration: Use atomic ops properly for page accountings Juan Quintela
2022-12-05  9:52 ` [PATCH v2 39/51] migration: Teach PSS about host page Juan Quintela
2022-12-05  9:52 ` [PATCH v2 40/51] migration: Introduce pss_channel Juan Quintela
2022-12-05  9:52 ` [PATCH v2 41/51] migration: Add pss_init() Juan Quintela
2022-12-05  9:52 ` [PATCH v2 42/51] migration: Make PageSearchStatus part of RAMState Juan Quintela
2022-12-05  9:52 ` [PATCH v2 43/51] migration: Move last_sent_block into PageSearchStatus Juan Quintela
2022-12-05  9:52 ` [PATCH v2 44/51] migration: Send requested page directly in rp-return thread Juan Quintela
2022-12-05  9:52 ` [PATCH v2 45/51] migration: Remove old preempt code around state maintainance Juan Quintela
2022-12-05  9:52 ` [PATCH v2 46/51] migration: Drop rs->f Juan Quintela
2022-12-05  9:52 ` [PATCH v2 47/51] migration: Remove res_compatible parameter Juan Quintela
2022-12-05  9:52 ` [PATCH v2 48/51] migration: No save_live_pending() method uses the QEMUFile parameter Juan Quintela
2022-12-05  9:52 ` [PATCH v2 49/51] migration: Split save_live_pending() into state_pending_* Juan Quintela
2022-12-05  9:52 ` [PATCH v2 50/51] migration: Remove unused threshold_size parameter Juan Quintela
2022-12-05  9:52 ` [PATCH v2 51/51] migration: simplify migration_iteration_run() Juan Quintela
2022-12-05  9:56 ` [PATCH v2 00/51] migration patches for VFIO Juan Quintela

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).