Re: [Xen-devel] [PATCH v3 1/2] x86/monitor: add get_capabilities to monitor_op domctl

2015-07-08 Thread Lengyel, Tamas
On Wed, Jul 8, 2015 at 10:37 AM, Jan Beulich wrote: > >>> On 07.07.15 at 15:52, wrote: > > --- a/xen/arch/x86/monitor.c > > +++ b/xen/arch/x86/monitor.c > > @@ -42,10 +42,29 @@ int status_check(struct xen_domctl_monitor_op *mop, > bool_t status) > > return 0; > > } > > > > +static inline u

Re: [Xen-devel] [PATCH v3 1/2] x86/monitor: add get_capabilities to monitor_op domctl

2015-07-08 Thread Jan Beulich
>>> On 07.07.15 at 15:52, wrote: > --- a/xen/arch/x86/monitor.c > +++ b/xen/arch/x86/monitor.c > @@ -42,10 +42,29 @@ int status_check(struct xen_domctl_monitor_op *mop, > bool_t status) > return 0; > } > > +static inline uint32_t get_capabilities(struct domain *d) > +{ > +uint32_t cap

Re: [Xen-devel] [PATCH v3 1/2] x86/monitor: add get_capabilities to monitor_op domctl

2015-07-07 Thread Razvan Cojocaru
On 07/07/2015 04:52 PM, Tamas K Lengyel wrote: > Add option to monitor_op domctl to determine the monitor capabilities of the > system. > > Signed-off-by: Tamas K Lengyel > --- > v3: move is_singlestep_supported into vmx > sanity check capabilities for each monitor_op enable/disable > fix

[Xen-devel] [PATCH v3 1/2] x86/monitor: add get_capabilities to monitor_op domctl

2015-07-07 Thread Tamas K Lengyel
Add option to monitor_op domctl to determine the monitor capabilities of the system. Signed-off-by: Tamas K Lengyel --- v3: move is_singlestep_supported into vmx sanity check capabilities for each monitor_op enable/disable fix comment typo v2: skipped --- tools/libxc/include/xenctrl.h |