>>> On 04.01.18 at 14:05, <wei.l...@citrix.com> wrote:
> From: Roger Pau Monne <roger....@citrix.com>
> 
> Use the ebx register of the hypervisor leaf 1. The eax register on
> this leaf is already used to report the Xen major and minor versions.

The rationale for doing this is missing. Iirc in past discussions the
opinion was voiced (more than once, and iirc by Andrew any maybe
others) that a domain in general shouldn't be told about its domain
ID. Otherwise I also can't see why we don't have a hypercall for
this, and e.g. XTF needs to go through hoops to figure it out. Are
those arguments (which I don't recall) not applicable anymore?

In the Amazon shim patches thread handing out the domain ID by
command line option was suggested as an alternative, which then
wouldn't affect other (non-shim) domains, or the client of the shim.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to