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

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] 9+ messages in thread

end of thread, other threads:[~2025-10-07 19:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-07  8:16 [PATCH 0/3] accel/kvm: Cleanups around kvm_arch_put_registers() Philippe Mathieu-Daudé
2025-10-07  8:16 ` [PATCH 1/3] accel/kvm: Do not expect more then KVM_PUT_FULL_STATE Philippe Mathieu-Daudé
2025-10-07  8:20   ` Harsh Prateek Bora
2025-10-07  8:16 ` [PATCH 2/3] accel/kvm: Introduce KvmPutState enum Philippe Mathieu-Daudé
2025-10-07  8:30   ` Harsh Prateek Bora
2025-10-07  8:16 ` [PATCH 3/3] accel/kvm: Factor kvm_cpu_synchronize_put() out Philippe Mathieu-Daudé
2025-10-07 13:30   ` Andrew Jones
2025-10-07 13:53     ` Philippe Mathieu-Daudé
2025-10-07 19:34   ` Richard Henderson

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