qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Roman Kagan <rkagan@virtuozzo.com>
To: qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <rth@twiddle.net>,
	Eduardo Habkost <ehabkost@redhat.com>,
	Igor Mammedov <imammedo@redhat.com>,
	Liran Alon <liran.alon@oracle.com>,
	Si-Wei Liu <si-wei.liu@oracle.com>,
	Karl Heubaum <karl.heubaum@oracle.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Vijayabhaskar Balakrishna <vijay.balakrishna@oracle.com>,
	Liam Merwick <liam.merwick@oracle.com>,
	Venu Busireddy <venu.busireddy@oracle.com>
Subject: [Qemu-devel] [PATCH 0/2] hyperv: ensure VP index equal to QEMU cpu_index
Date: Mon,  2 Jul 2018 16:41:54 +0300	[thread overview]
Message-ID: <20180702134156.13404-1-rkagan@virtuozzo.com> (raw)

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

             reply	other threads:[~2018-07-02 13:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-02 13:41 Roman Kagan [this message]
2018-07-02 13:41 ` [Qemu-devel] [PATCH 2/2] hyperv: ensure VP index equal to QEMU cpu_index Roman Kagan
2018-07-15 15:36 ` [Qemu-devel] [PATCH 0/2] " Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180702134156.13404-1-rkagan@virtuozzo.com \
    --to=rkagan@virtuozzo.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=karl.heubaum@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=liam.merwick@oracle.com \
    --cc=liran.alon@oracle.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=si-wei.liu@oracle.com \
    --cc=venu.busireddy@oracle.com \
    --cc=vijay.balakrishna@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).