public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: Reject vCPU IDs above 2^32
@ 2024-06-05 22:05 Mathias Krause
  2024-06-05 22:05 ` [PATCH 1/2] KVM: Reject overly excessive IDs in KVM_CREATE_VCPU Mathias Krause
  2024-06-05 22:05 ` [PATCH 2/2] KVM: selftests: Test vCPU IDs above 2^32 Mathias Krause
  0 siblings, 2 replies; 10+ messages in thread
From: Mathias Krause @ 2024-06-05 22:05 UTC (permalink / raw)
  To: Paolo Bonzini, Sean Christopherson; +Cc: kvm, Mathias Krause

vCPU IDs above 2^32 are currently not rejected as invalid for
KVM_CREATE_VCPU.

Below patches fix this and add a selftest for it.

Please apply!

Thanks,
Mathias

Mathias Krause (2):
  KVM: Reject overly excessive IDs in KVM_CREATE_VCPU
  KVM: selftests: Test vCPU IDs above 2^32

 .../selftests/kvm/x86_64/max_vcpuid_cap_test.c        | 11 ++++++++++-
 virt/kvm/kvm_main.c                                   |  2 +-
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2024-06-12 21:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 22:05 [PATCH 0/2] KVM: Reject vCPU IDs above 2^32 Mathias Krause
2024-06-05 22:05 ` [PATCH 1/2] KVM: Reject overly excessive IDs in KVM_CREATE_VCPU Mathias Krause
2024-06-05 22:31   ` Sean Christopherson
2024-06-06  7:20     ` Mathias Krause
2024-06-06 14:55       ` Sean Christopherson
2024-06-06 18:11         ` Mathias Krause
2024-06-06 18:23           ` Mathias Krause
2024-06-07  0:12           ` Sean Christopherson
2024-06-12 21:34             ` Mathias Krause
2024-06-05 22:05 ` [PATCH 2/2] KVM: selftests: Test vCPU IDs above 2^32 Mathias Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox