>>> On 04.01.18 at 14:05, <wei.l...@citrix.com> wrote: > --- a/xen/include/public/arch-x86/cpuid.h > +++ b/xen/include/public/arch-x86/cpuid.h > @@ -57,7 +57,8 @@ > * Leaf 2 (0x40000x01) > * EAX[31:16]: Xen major version. > * EAX[15: 0]: Xen minor version. > - * EBX-EDX: Reserved (currently all zeroes). > + * EBX: Domain id. > + * ECX-EDX: Reserved (currently all zeroes). > */
There's one issue here, as I've noticed only now: How does a caller distinguish domid being zero from the information not being provided by an older hypervisor? I think there needs to be a qualifying bit elsewhere. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel