>>> On 08.07.15 at 22:57, <boris.ostrov...@oracle.com> wrote: > As I started to update the patches I realized that in some cases > (especially in arch_do_domctl():XEN_DOMCTL_get_address_size) we don't > have VCPU (which is what hvm_guest_x86_mode() wants) but rather only the > domain. d->vcpu[0] should work. Otherwise I'll either need a new field > in struct domain or wrap has_32bit_shinfo into something PVH-specific, > like is_32bit_pvh_vcpu().
Shouldn't XEN_DOMCTL_get_address_size be handled HVM-like for PVH, especially if you also intend the tools to use the 64-bit guest context variant even for 32-bit PVH? Once again - are you intending to prohibit 32-bit PVH switching to 64-bit mode (which would seem both wrong and possibly cumbersome to me)? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel