Revision 6983d1657dc1784288eb299f5f001fb56af705d8 authored by Wei Wang on 05 April 2024, 03:40:56 UTC, committed by Michael Tokarev on 09 April 2024, 17:18:26 UTC
Before loading the guest states, ensure that the preempt channel has been ready to use, as some of the states (e.g. via virtio_load) might trigger page faults that will be handled through the preempt channel. So yield to the main thread in the case that the channel create event hasn't been dispatched. Cc: qemu-stable <qemu-stable@nongnu.org> Fixes: 9358982744 ("migration: Send requested page directly in rp-return thread") Originally-by: Lei Wang <lei4.wang@intel.com> Link: https://lore.kernel.org/all/9aa5d1be-7801-40dd-83fd-f7e041ced249@intel.com/T/ Signed-off-by: Lei Wang <lei4.wang@intel.com> Signed-off-by: Wei Wang <wei.w.wang@intel.com> Link: https://lore.kernel.org/r/20240405034056.23933-1-wei.w.wang@intel.com [peterx: add a todo section, add Fixes and copy stable for 8.0+] Signed-off-by: Peter Xu <peterx@redhat.com> (cherry picked from commit 7afbdada7effbc2b97281bfbce0c6df351a3cf88) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 parent 46f03be
File | Mode | Size |
---|---|---|
meson.build | -rw-r--r-- | 61 bytes |
stats-hmp-cmds.c | -rw-r--r-- | 7.9 KB |
stats-qmp-cmds.c | -rw-r--r-- | 4.4 KB |
Computing file changes ...