Re: [Xen-devel] [PATCH v1 1/2] asm-x86/monitor: Add MONITOR_EVENT_INTERRUPT to common capabilities

2018-02-19 Thread Razvan Cojocaru
On 02/19/2018 03:07 PM, Alexandru Isaila wrote:
> Signed-off-by: Alexandru Isaila 
> ---
>  xen/include/asm-x86/monitor.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/include/asm-x86/monitor.h b/xen/include/asm-x86/monitor.h
> index 59a2610..7a9e1e8 100644
> --- a/xen/include/asm-x86/monitor.h
> +++ b/xen/include/asm-x86/monitor.h
> @@ -80,13 +80,13 @@ static inline uint32_t 
> arch_monitor_get_capabilities(struct domain *d)
>  capabilities = ((1U << XEN_DOMCTL_MONITOR_EVENT_GUEST_REQUEST) |
>  (1U << XEN_DOMCTL_MONITOR_EVENT_SOFTWARE_BREAKPOINT) |
>  (1U << XEN_DOMCTL_MONITOR_EVENT_MOV_TO_MSR) |
> +(1U << XEN_DOMCTL_MONITOR_EVENT_INTERRUPT) |
>  (1U << XEN_DOMCTL_MONITOR_EVENT_WRITE_CTRLREG));
>  
>  if ( cpu_has_vmx )
>  {
>  capabilities |= ((1U << XEN_DOMCTL_MONITOR_EVENT_DEBUG_EXCEPTION) |
>   (1U << XEN_DOMCTL_MONITOR_EVENT_CPUID) |
> - (1U << XEN_DOMCTL_MONITOR_EVENT_INTERRUPT) |
>   (1U << 
> XEN_DOMCTL_MONITOR_EVENT_EMUL_UNIMPLEMENTED));
>  
>  /* Since we know this is on VMX, we can just call the hvm func */
> 

Acked-by: Razvan Cojocaru 

___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH v1 1/2] asm-x86/monitor: Add MONITOR_EVENT_INTERRUPT to common capabilities

2018-02-19 Thread Alexandru Isaila
Signed-off-by: Alexandru Isaila 
---
 xen/include/asm-x86/monitor.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/asm-x86/monitor.h b/xen/include/asm-x86/monitor.h
index 59a2610..7a9e1e8 100644
--- a/xen/include/asm-x86/monitor.h
+++ b/xen/include/asm-x86/monitor.h
@@ -80,13 +80,13 @@ static inline uint32_t arch_monitor_get_capabilities(struct 
domain *d)
 capabilities = ((1U << XEN_DOMCTL_MONITOR_EVENT_GUEST_REQUEST) |
 (1U << XEN_DOMCTL_MONITOR_EVENT_SOFTWARE_BREAKPOINT) |
 (1U << XEN_DOMCTL_MONITOR_EVENT_MOV_TO_MSR) |
+(1U << XEN_DOMCTL_MONITOR_EVENT_INTERRUPT) |
 (1U << XEN_DOMCTL_MONITOR_EVENT_WRITE_CTRLREG));
 
 if ( cpu_has_vmx )
 {
 capabilities |= ((1U << XEN_DOMCTL_MONITOR_EVENT_DEBUG_EXCEPTION) |
  (1U << XEN_DOMCTL_MONITOR_EVENT_CPUID) |
- (1U << XEN_DOMCTL_MONITOR_EVENT_INTERRUPT) |
  (1U << XEN_DOMCTL_MONITOR_EVENT_EMUL_UNIMPLEMENTED));
 
 /* Since we know this is on VMX, we can just call the hvm func */
-- 
2.7.4


___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel