|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v14 11/17] pvh: Set up more PV stuff in set_info_guest
On 04/11/13 16:53, Jan Beulich wrote: On 04.11.13 at 13:15, George Dunlap <george.dunlap@xxxxxxxxxxxxx> wrote:@@ -728,8 +740,21 @@ int arch_set_info_guest(if ( has_hvm_container_vcpu(v) ) So the plan would be that once we support 32-bit, I'd just copy the code from below:
if ( !compat )
cr3_gfn = xen_cr3_to_pfn(c.nat->ctrlreg[3]);
else
cr3_gfn = compat_cr3_to_pfn(c.cmp->ctrlreg[3]);
But since we know that compat is false here, it seems a bit silly to
have the if() statement.
But there should be a "PVH 32bitfixme" here -- is that enough for now?
What do you mean "adjusting the caller"? What we want for HVM guests is for this field to be entirely left alone, isn't it? If we set GUEST_GS_BASE unconditionally here, the only way to effect "no change" is to read it and pass in the existing value, which seems kind of pointless. -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |