Roger Pau Monne
2013-Sep-23 18:07 UTC
[PATCH v2] xen/x86: add a comment regarding how to get the VCPU ID on HVM
Add a note to the public headers regarding how to get the VCPU ID for HVM guests (on x86). Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Matt Wilson <msw@amazon.com> Cc: Jan Beulich <jbeulich@suse.com> Cc: Keir Fraser <keir@xen.org> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Matt Wilson <msw@amazon.com> --- This is what Linux PVHVM does AFAIK, and also what I've been using in my FreeBSD PVHVM series, but it's not written anywere. --- Changes since v1: * Reworded the comment as requested by Matt. --- xen/include/public/vcpu.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/xen/include/public/vcpu.h b/xen/include/public/vcpu.h index e888daf..f09367a 100644 --- a/xen/include/public/vcpu.h +++ b/xen/include/public/vcpu.h @@ -35,6 +35,10 @@ * @cmd == VCPUOP_??? (VCPU operation). * @vcpuid == VCPU to operate on. * @extra_args == Operation-specific extra arguments (NULL if none). + * + * For x86 HVM domains that use VCPU operations the VCPU ID is the ACPI + * Processor ID of the CPU (not to be confused with the APIC ID), as + * fetched from the MADT table. */ /* -- 1.7.7.5 (Apple Git-26) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Roger Pau Monné
2013-Oct-07 10:21 UTC
Re: [PATCH v2] xen/x86: add a comment regarding how to get the VCPU ID on HVM
Ping? On 23/09/13 20:07, Roger Pau Monne wrote:> Add a note to the public headers regarding how to get the VCPU ID for > HVM guests (on x86). > > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> > Acked-by: Matt Wilson <msw@amazon.com> > Cc: Jan Beulich <jbeulich@suse.com> > Cc: Keir Fraser <keir@xen.org> > Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> > Cc: Matt Wilson <msw@amazon.com> > --- > This is what Linux PVHVM does AFAIK, and also what I've been using in > my FreeBSD PVHVM series, but it's not written anywere. > --- > Changes since v1: > * Reworded the comment as requested by Matt. > --- > xen/include/public/vcpu.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/xen/include/public/vcpu.h b/xen/include/public/vcpu.h > index e888daf..f09367a 100644 > --- a/xen/include/public/vcpu.h > +++ b/xen/include/public/vcpu.h > @@ -35,6 +35,10 @@ > * @cmd == VCPUOP_??? (VCPU operation). > * @vcpuid == VCPU to operate on. > * @extra_args == Operation-specific extra arguments (NULL if none). > + * > + * For x86 HVM domains that use VCPU operations the VCPU ID is the ACPI > + * Processor ID of the CPU (not to be confused with the APIC ID), as > + * fetched from the MADT table. > */ > > /* >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Possibly Parallel Threads
- [PATCH] xen/x86: add a comment regarding how to get the VCPU ID on HVM
- [PATCH v2] xen: fix initialization of wallclock time for PVHVM on migration
- xen-unstable: commit commit 63753b3e0dc56efb1acf94fa46f3fee7bc59281c leaves HVM guest dangling after shutdown or destroy.
- [PATCH] xen: fix initialization of wallclock time for PVHVM on migration
- [PATCH v2] libxl: add support for yajl 2.x