qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] accel/kvm: Cleanups around kvm_arch_put_registers()
@ 2025-10-08  4:07 Philippe Mathieu-Daudé
  2025-10-08  4:07 ` [PATCH v2 1/3] accel/kvm: Do not expect more then KVM_PUT_FULL_STATE Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-10-08  4:07 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, kvm, Aleksandar Rikalo, Chinmay Rath, Matthew Rosato,
	Alistair Francis, Palmer Dabbelt, qemu-s390x, David Hildenbrand,
	Marcelo Tosatti, Nicholas Piggin, Daniel Henrique Barboza,
	Liu Zhiwei, Jiaxun Yang, Harsh Prateek Bora, Paolo Bonzini,
	Ilya Leoshkevich, Richard Henderson, Thomas Huth,
	Christian Borntraeger, Halil Pasic, Aurelien Jarno, Song Gao,
	Weiwei Li, qemu-ppc, Philippe Mathieu-Daudé, Huacai Chen,
	Eric Farman

Extracted from a bigger series aiming to make accelerator
synchronization of vcpu state slightly clearer. Here KVM
patches around kvm_arch_put_registers():
- Move KVM_PUT_[RESET|RUNTIME|FULL]_STATE to an enum
- Factor common code out of kvm_cpu_synchronize_post_*()

Philippe Mathieu-Daudé (3):
  accel/kvm: Do not expect more then KVM_PUT_FULL_STATE
  accel/kvm: Introduce KvmPutState enum
  accel/kvm: Factor kvm_cpu_synchronize_put() out

 include/system/kvm.h       | 16 +++++++------
 accel/kvm/kvm-all.c        | 47 +++++++++++++++-----------------------
 target/i386/kvm/kvm.c      |  6 ++---
 target/loongarch/kvm/kvm.c |  8 +++----
 target/mips/kvm.c          |  6 ++---
 target/ppc/kvm.c           |  2 +-
 target/riscv/kvm/kvm-cpu.c |  2 +-
 target/s390x/kvm/kvm.c     |  2 +-
 8 files changed, 41 insertions(+), 48 deletions(-)

-- 
2.51.0



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

end of thread, other threads:[~2025-10-11  7:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-08  4:07 [PATCH v2 0/3] accel/kvm: Cleanups around kvm_arch_put_registers() Philippe Mathieu-Daudé
2025-10-08  4:07 ` [PATCH v2 1/3] accel/kvm: Do not expect more then KVM_PUT_FULL_STATE Philippe Mathieu-Daudé
2025-10-08  4:07 ` [PATCH v2 2/3] accel/kvm: Introduce KvmPutState enum Philippe Mathieu-Daudé
2025-10-08  4:07 ` [PATCH v2 3/3] accel/kvm: Factor kvm_cpu_synchronize_put() out Philippe Mathieu-Daudé
2025-10-08 16:29 ` [PATCH v2 0/3] accel/kvm: Cleanups around kvm_arch_put_registers() Andrew Jones
2025-10-11  7:04 ` Paolo Bonzini

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