qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] PPC/KVM support higher vCPU ids
@ 2016-05-26  8:02 Greg Kurz
  2016-05-26  8:02 ` [Qemu-devel] [PATCH 1/3] PPC/KVM: early validation of vcpu id Greg Kurz
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Greg Kurz @ 2016-05-26  8:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, qemu-ppc, Alexander Graf, David Gibson

Now that KVM_CAP_MAX_VCPU_ID is in Linux 4.6, we can use it to support
topologies that generate vCPU ids >= KVM_MAX_VCPUS. This is especially
useful for PPC targets when the guest has fewer threads per core than
the host.

The first patch was already posted and accepted by David last month, but
since it hasn't been pushed to an official tree yet, I resend it so that
the series applies against master.

---

Greg Kurz (3):
      PPC/KVM: early validation of vcpu id
      linux-headers: update to Linux 4.6
      KVM: use KVM_CAP_MAX_VCPU_ID


 include/standard-headers/linux/pci_regs.h      |   20 +++++++++++++++++++-
 include/standard-headers/linux/virtio_config.h |    2 ++
 include/sysemu/kvm.h                           |    2 ++
 kvm-all.c                                      |   12 ++++++++++++
 linux-headers/asm-arm/unistd.h                 |    2 ++
 linux-headers/asm-arm64/unistd.h               |    3 +++
 linux-headers/asm-powerpc/unistd.h             |    2 ++
 linux-headers/asm-s390/kvm.h                   |    1 +
 linux-headers/asm-s390/unistd.h                |    4 +++-
 linux-headers/asm-x86/kvm.h                    |    6 +++---
 linux-headers/asm-x86/unistd_x32.h             |    2 ++
 linux-headers/linux/kvm.h                      |    1 +
 target-ppc/translate_init.c                    |    8 ++++++++
 13 files changed, 60 insertions(+), 5 deletions(-)

--
Greg

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

end of thread, other threads:[~2016-06-13 11:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-26  8:02 [Qemu-devel] [PATCH 0/3] PPC/KVM support higher vCPU ids Greg Kurz
2016-05-26  8:02 ` [Qemu-devel] [PATCH 1/3] PPC/KVM: early validation of vcpu id Greg Kurz
2016-05-27  3:58   ` David Gibson
2016-05-26  8:02 ` [Qemu-devel] [PATCH 2/3] linux-headers: update to Linux 4.6 Greg Kurz
2016-05-26  8:02 ` [Qemu-devel] [PATCH 3/3] KVM: use KVM_CAP_MAX_VCPU_ID Greg Kurz
2016-05-27  3:58   ` David Gibson
2016-05-27 11:16     ` Greg Kurz
2016-06-07  8:42       ` Greg Kurz
2016-06-13  8:42       ` Greg Kurz
2016-06-13 11:25         ` 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).