[Qemu-devel] [PATCH 0/2] hyperv: ensure VP index equal to QEMU cpu_index

Roman Kagan posted 2 patches 7 years, 4 months ago
Only 1 patches received!
target/i386/hyperv.h     |  7 ++++--
target/i386/kvm_i386.h   |  2 ++
hw/i386/pc.c             |  5 +++++
hw/misc/hyperv_testdev.c | 16 +++++++-------
target/i386/hyperv.c     | 16 +++++++++++---
target/i386/kvm-stub.c   |  5 +++++
target/i386/kvm.c        | 47 ++++++++++++++++++++++++++++++++++++++++
7 files changed, 85 insertions(+), 13 deletions(-)
[Qemu-devel] [PATCH 0/2] hyperv: ensure VP index equal to QEMU cpu_index
Posted by Roman Kagan 7 years, 4 months ago
Make sure QEMU owns the VP index (which is the number used to identify
the vCPU in Hyper-V) and make it equal to QEMU cpu_index.

Roman Kagan (2):
  hyperv: rename vcpu_id to vp_index
  hyperv: ensure VP index equal to QEMU cpu_index

---
For the reference, all of the Hyper-V / VMBus stuff can be found at
https://src.openvz.org/scm/up/qemu

 target/i386/hyperv.h     |  7 ++++--
 target/i386/kvm_i386.h   |  2 ++
 hw/i386/pc.c             |  5 +++++
 hw/misc/hyperv_testdev.c | 16 +++++++-------
 target/i386/hyperv.c     | 16 +++++++++++---
 target/i386/kvm-stub.c   |  5 +++++
 target/i386/kvm.c        | 47 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 85 insertions(+), 13 deletions(-)

-- 
2.17.1


Re: [Qemu-devel] [PATCH 0/2] hyperv: ensure VP index equal to QEMU cpu_index
Posted by Paolo Bonzini 7 years, 3 months ago
On 02/07/2018 15:41, Roman Kagan wrote:
> Make sure QEMU owns the VP index (which is the number used to identify
> the vCPU in Hyper-V) and make it equal to QEMU cpu_index.
> 
> Roman Kagan (2):
>   hyperv: rename vcpu_id to vp_index
>   hyperv: ensure VP index equal to QEMU cpu_index
> 
> ---
> For the reference, all of the Hyper-V / VMBus stuff can be found at
> https://src.openvz.org/scm/up/qemu

Queued, thanks.  It's a bug, so it's okay for 3.0.

Paolo