x86/mm: allow mem_event ops on AMD processors too.
authorTim Deegan <tim@xen.org>
Thu, 29 Mar 2012 15:59:33 +0000 (16:59 +0100)
committerTim Deegan <tim@xen.org>
Thu, 29 Mar 2012 15:59:33 +0000 (16:59 +0100)
(Experimental, for now).

Signed-off-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/mem_event.c

index f15293fe4de7911a3ac5532e48ed61f32b9cda63..2986825380884e4712d45bab27e64945becc2442 100644 (file)
@@ -563,10 +563,6 @@ int mem_event_domctl(struct domain *d, xen_domctl_mem_event_op_t *mec,
             if ( !hap_enabled(d) )
                 break;
 
-            /* Currently only EPT is supported */
-            if ( boot_cpu_data.x86_vendor != X86_VENDOR_INTEL )
-                break;
-
             /* No paging if iommu is used */
             rc = -EXDEV;
             if ( unlikely(need_iommu(d)) )