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

2015-07-07 Thread Jan Beulich
>>> On 07.07.15 at 14:01, wrote: > On Tue, Jul 7, 2015 at 4:22 AM, Jan Beulich wrote: >> >>> On 07.07.15 at 02:43, wrote: >> > --- a/xen/arch/x86/monitor.c >> > +++ b/xen/arch/x86/monitor.c >> > @@ -42,6 +42,22 @@ int status_check(struct xen_domctl_monitor_op *mop, >> bool_t status) >> > re

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

2015-07-07 Thread Lengyel, Tamas
On Tue, Jul 7, 2015 at 4:22 AM, Jan Beulich wrote: > >>> On 07.07.15 at 02:43, wrote: > > --- a/xen/arch/x86/hvm/hvm.c > > +++ b/xen/arch/x86/hvm/hvm.c > > @@ -6431,6 +6431,11 @@ int hvm_debug_op(struct vcpu *v, int32_t op) > > return rc; > > } > > > > +bool_t hvm_is_singlestep_supported(v

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

2015-07-07 Thread Jan Beulich
>>> On 07.07.15 at 02:43, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -6431,6 +6431,11 @@ int hvm_debug_op(struct vcpu *v, int32_t op) > return rc; > } > > +bool_t hvm_is_singlestep_supported(void) > +{ > +return cpu_has_monitor_trap_flag; > +} This being

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

2015-07-06 Thread Razvan Cojocaru
On 07/07/2015 03:43 AM, Tamas K Lengyel wrote: > Add option to monitor_op domctl to determine the monitor capabilities of the > system. > > Signed-off-by: Tamas K Lengyel > --- > tools/libxc/include/xenctrl.h | 6 ++ > tools/libxc/xc_monitor.c | 21 + > xen/arch/x86

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

2015-07-06 Thread Tamas K Lengyel
Add option to monitor_op domctl to determine the monitor capabilities of the system. Signed-off-by: Tamas K Lengyel --- tools/libxc/include/xenctrl.h | 6 ++ tools/libxc/xc_monitor.c | 21 + xen/arch/x86/hvm/hvm.c| 5 + xen/arch/x86/monitor.c| 2