mbox series

[v3,0/2] s390x/pv: Add support for asynchronous teardown for reboot

Message ID 20230214163035.44104-1-imbrenda@linux.ibm.com (mailing list archive)
Headers show
Series s390x/pv: Add support for asynchronous teardown for reboot | expand

Message

Claudio Imbrenda Feb. 14, 2023, 4:30 p.m. UTC
The first patch is just a minimal header update to compile the second
patch; it can be safely discarded once the Linux headers are updated to
6.2.

The second patch adds support for asynchronous teardown of protected
guests when rebooting. The existing guest is prepared for asynchronous
teardown, the rebooted guest will be able to continue immediately, while a
background thread actually performs the necessary cleanup.

v2->v3:
* improve description of header updates
* allocate the QemuThread on the stack to avoid leak, and explain why

v1->v2:
* remove useless snprintf and pass the name of the thread directly
* make the name of the thread more understandable

Claudio Imbrenda (2):
  Linux header update
  s390x/pv: Add support for asynchronous teardown for reboot

 hw/s390x/pv.c              | 28 ++++++++++++++++++++++++++++
 hw/s390x/s390-virtio-ccw.c |  5 ++++-
 include/hw/s390x/pv.h      |  2 ++
 linux-headers/linux/kvm.h  |  3 +++
 4 files changed, 37 insertions(+), 1 deletion(-)