Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-23 Thread Roger Pau Monné
El 23/09/15 a les 15.24, Jan Beulich ha escrit: On 23.09.15 at 14:35, wrote: >> El 16/09/15 a les 11.50, Jan Beulich ha escrit: >> On 04.09.15 at 14:08, wrote: + d->domain_id, config->emulation_flags); +return -EINVAL; +} +

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-23 Thread Jan Beulich
>>> On 23.09.15 at 14:35, wrote: > El 16/09/15 a les 11.50, Jan Beulich ha escrit: > On 04.09.15 at 14:08, wrote: >>> + d->domain_id, config->emulation_flags); >>> +return -EINVAL; >>> +} >>> +if ( config->emulation_flags != emulation_mask ) >>> +

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-23 Thread Andrew Cooper
On 23/09/15 13:42, Roger Pau Monné wrote: El 16/09/15 a les 12.10, Jan Beulich ha escrit: On 04.09.15 at 14:08, wrote: --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -387,8 +387,21 @@ struct arch_domain bool_t mem_access_emulate_enabled; struct monito

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-23 Thread Roger Pau Monné
El 16/09/15 a les 12.10, Jan Beulich ha escrit: On 04.09.15 at 14:08, wrote: >> --- a/xen/include/asm-x86/domain.h >> +++ b/xen/include/asm-x86/domain.h >> @@ -387,8 +387,21 @@ struct arch_domain >> bool_t mem_access_emulate_enabled; >> >> struct monitor_write_data *event_write_da

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-23 Thread Roger Pau Monné
El 16/09/15 a les 11.50, Jan Beulich ha escrit: On 04.09.15 at 14:08, wrote: >> --- a/tools/libxl/libxl_x86.c >> +++ b/tools/libxl/libxl_x86.c >> @@ -7,8 +7,12 @@ int libxl__arch_domain_prepare_config(libxl__gc *gc, >>libxl_domain_config *d_config, >>

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-23 Thread Roger Pau Monné
El 04/09/15 a les 15.55, Jan Beulich ha escrit: On 04.09.15 at 15:51, wrote: >> El 04/09/15 a les 14.25, Wei Liu ha escrit: >>> On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 045f6ff..fe9504f 100644 >

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-16 Thread Jan Beulich
>>> On 04.09.15 at 14:08, wrote: > --- a/xen/include/asm-x86/domain.h > +++ b/xen/include/asm-x86/domain.h > @@ -387,8 +387,21 @@ struct arch_domain > bool_t mem_access_emulate_enabled; > > struct monitor_write_data *event_write_data; > + > +/* Emulated devices enabled bitmap. */ >

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-16 Thread Jan Beulich
>>> On 04.09.15 at 14:08, wrote: > --- a/tools/libxl/libxl_x86.c > +++ b/tools/libxl/libxl_x86.c > @@ -7,8 +7,12 @@ int libxl__arch_domain_prepare_config(libxl__gc *gc, >libxl_domain_config *d_config, >xc_domain_config

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-09 Thread Wei Liu
On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: > Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or > disabling specific devices emulated inside of Xen for HVM guests. > > Signed-off-by: Roger Pau Monné > Reviewed-by: Andrew Cooper > Cc: Ian Jackson > Cc:

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-04 Thread Andrew Cooper
On 04/09/15 14:55, Jan Beulich wrote: On 04.09.15 at 15:51, wrote: El 04/09/15 a les 14.25, Wei Liu ha escrit: On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 045f6ff..fe9504f 100644 --- a/xen/arch/x86/domain.c

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-04 Thread Wei Liu
On Fri, Sep 04, 2015 at 03:51:17PM +0200, Roger Pau Monné wrote: > El 04/09/15 a les 14.25, Wei Liu ha escrit: > > On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: > >> diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c > >> index 045f6ff..fe9504f 100644 > >> --- a/xen/arch/

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-04 Thread Jan Beulich
>>> On 04.09.15 at 15:51, wrote: > El 04/09/15 a les 14.25, Wei Liu ha escrit: >> On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: >>> diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c >>> index 045f6ff..fe9504f 100644 >>> --- a/xen/arch/x86/domain.c >>> +++ b/xen/arch/x86

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-04 Thread Roger Pau Monné
El 04/09/15 a les 14.25, Wei Liu ha escrit: > On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: >> diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c >> index 045f6ff..fe9504f 100644 >> --- a/xen/arch/x86/domain.c >> +++ b/xen/arch/x86/domain.c >> @@ -555,6 +555,29 @@ int arc

Re: [Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-04 Thread Wei Liu
On Fri, Sep 04, 2015 at 02:08:50PM +0200, Roger Pau Monne wrote: > Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or > disabling specific devices emulated inside of Xen for HVM guests. > > Signed-off-by: Roger Pau Monné > Reviewed-by: Andrew Cooper > Cc: Ian Jackson > Cc:

[Xen-devel] [PATCH v6 11/29] xen/x86: add bitmap of enabled emulated devices

2015-09-04 Thread Roger Pau Monne
Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or disabling specific devices emulated inside of Xen for HVM guests. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell Cc: Wei Liu Cc: Jan Beulich Cc: Andrew