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