Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2015-01-08 Thread Ian Campbell
On Fri, 2014-11-28 at 11:31 +, Jan Beulich wrote: > >>> On 28.11.14 at 11:52, wrote: > > If hardware support the 1GB pages, expose the feature to guest by > > default. Users don't have to use a 'cpuid= ' option in config fil > > e to turn it on. > > > > If guest use shadow mode, the 1GB pages

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-12-07 Thread Zhang, Yang Z
Andrew Cooper wrote on 2014-12-04: > On 04/12/14 01:50, Zhang, Yang Z wrote: >> Konrad Rzeszutek Wilk wrote on 2014-12-03: >>> On Wed, Dec 03, 2014 at 09:38:49AM +, Ian Campbell wrote: On Tue, 2014-12-02 at 16:09 -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Nov 28, 2014 at 11:50:43AM

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-12-04 Thread Andrew Cooper
On 04/12/14 01:50, Zhang, Yang Z wrote: > Konrad Rzeszutek Wilk wrote on 2014-12-03: >> On Wed, Dec 03, 2014 at 09:38:49AM +, Ian Campbell wrote: >>> On Tue, 2014-12-02 at 16:09 -0500, Konrad Rzeszutek Wilk wrote: On Fri, Nov 28, 2014 at 11:50:43AM +, Ian Campbell wrote: > On Fri,

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-12-03 Thread Zhang, Yang Z
Konrad Rzeszutek Wilk wrote on 2014-12-03: > On Wed, Dec 03, 2014 at 09:38:49AM +, Ian Campbell wrote: >> On Tue, 2014-12-02 at 16:09 -0500, Konrad Rzeszutek Wilk wrote: >>> On Fri, Nov 28, 2014 at 11:50:43AM +, Ian Campbell wrote: On Fri, 2014-11-28 at 18:52 +0800, Liang Li wrote: >>>

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-12-03 Thread Konrad Rzeszutek Wilk
On Wed, Dec 03, 2014 at 09:38:49AM +, Ian Campbell wrote: > On Tue, 2014-12-02 at 16:09 -0500, Konrad Rzeszutek Wilk wrote: > > On Fri, Nov 28, 2014 at 11:50:43AM +, Ian Campbell wrote: > > > On Fri, 2014-11-28 at 18:52 +0800, Liang Li wrote: > > > > If hardware support the 1GB pages, expos

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-12-03 Thread Ian Campbell
On Tue, 2014-12-02 at 16:09 -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Nov 28, 2014 at 11:50:43AM +, Ian Campbell wrote: > > On Fri, 2014-11-28 at 18:52 +0800, Liang Li wrote: > > > If hardware support the 1GB pages, expose the feature to guest by > > > default. Users don't have to use a 'cp

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-12-02 Thread Konrad Rzeszutek Wilk
On Fri, Nov 28, 2014 at 11:50:43AM +, Ian Campbell wrote: > On Fri, 2014-11-28 at 18:52 +0800, Liang Li wrote: > > If hardware support the 1GB pages, expose the feature to guest by > > default. Users don't have to use a 'cpuid= ' option in config fil > > e to turn it on. > > > > If guest use s

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-11-28 Thread Ian Campbell
On Fri, 2014-11-28 at 18:52 +0800, Liang Li wrote: > If hardware support the 1GB pages, expose the feature to guest by > default. Users don't have to use a 'cpuid= ' option in config fil > e to turn it on. > > If guest use shadow mode, the 1GB pages feature will be hidden from > guest, this is don

Re: [Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-11-28 Thread Jan Beulich
>>> On 28.11.14 at 11:52, wrote: > If hardware support the 1GB pages, expose the feature to guest by > default. Users don't have to use a 'cpuid= ' option in config fil > e to turn it on. > > If guest use shadow mode, the 1GB pages feature will be hidden from > guest, this is done in the function

[Xen-devel] [v4] libxc: Expose the 1GB pages cpuid flag to guest

2014-11-28 Thread Liang Li
If hardware support the 1GB pages, expose the feature to guest by default. Users don't have to use a 'cpuid= ' option in config fil e to turn it on. If guest use shadow mode, the 1GB pages feature will be hidden from guest, this is done in the function hvm_cpuid(). So the change is okay for shadow