qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] kvm: Guet_memfd enhancement and fix for KVM_SET_USER_MEMORY_REGION2
@ 2025-07-23  7:09 Xiaoyao Li
  2025-07-23  7:09 ` [PATCH 1/3] accel/kvm: Switch to check KVM_CAP_GUEST_MEMFD and KVM_CAP_USER_MEMORY2 on VM Xiaoyao Li
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Xiaoyao Li @ 2025-07-23  7:09 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, Xiaoyao Li

Patch 1 changes to check guest memfd CAP on VM instance.

Patch 2 is a fix for KVM_SET_USER_MEMORY_REGION2.

Patch 3 is an enhancement for guest_memfd_offset.

Xiaoyao Li (3):
  accel/kvm: Switch to check KVM_CAP_GUEST_MEMFD and
    KVM_CAP_USER_MEMORY2 on VM
  accel/kvm: Zero out mem explicitly in kvm_set_user_memory_region()
  accel/kvm: Set mem.guest_memfd_offset only when guest_memfd is valid

 accel/kvm/kvm-all.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-07-23 12:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23  7:09 [PATCH 0/3] kvm: Guet_memfd enhancement and fix for KVM_SET_USER_MEMORY_REGION2 Xiaoyao Li
2025-07-23  7:09 ` [PATCH 1/3] accel/kvm: Switch to check KVM_CAP_GUEST_MEMFD and KVM_CAP_USER_MEMORY2 on VM Xiaoyao Li
2025-07-23  7:09 ` [PATCH 2/3] accel/kvm: Zero out mem explicitly in kvm_set_user_memory_region() Xiaoyao Li
2025-07-23 11:57   ` Philippe Mathieu-Daudé
2025-07-23  7:09 ` [PATCH 3/3] accel/kvm: Set mem.guest_memfd_offset only when guest_memfd is valid Xiaoyao Li
2025-07-23 12:06   ` Philippe Mathieu-Daudé
2025-07-23 12:29     ` Xiaoyao Li

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