[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 07/16] x86: put XEN_DOMCTL_{set, get}_address_size under CONFIG_PV
They are useful to PV only. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- v2: new --- xen/arch/x86/domctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c index 115ddf6..8ec0b9b 100644 --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -608,6 +608,7 @@ long arch_do_domctl( copyback = true; break; +#ifdef CONFIG_PV case XEN_DOMCTL_set_address_size: if ( ((domctl->u.address_size.size == 64) && !d->arch.is_32bit_pv) || ((domctl->u.address_size.size == 32) && d->arch.is_32bit_pv) ) @@ -623,6 +624,7 @@ long arch_do_domctl( BITS_PER_LONG; copyback = true; break; +#endif case XEN_DOMCTL_set_machine_address_size: if ( d->tot_pages > 0 ) -- git-series 0.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |