]> xenbits.xensource.com Git - xen.git/commitdiff
xen/vm_event: Deprecate VM_EVENT_FLAG_DUMMY flag
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Thu, 9 Apr 2015 14:32:49 +0000 (16:32 +0200)
committerTim Deegan <tim@xen.org>
Thu, 16 Apr 2015 08:42:06 +0000 (09:42 +0100)
There are no use-cases for this flag.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/mem_sharing.c
xen/arch/x86/mm/p2m.c
xen/common/mem_access.c
xen/include/public/vm_event.h

index 4e5477a237e856483813ed4cf8e364155ad2476e..e6572af660be9fda1043bfef715c37a92e913542 100644 (file)
@@ -606,9 +606,6 @@ int mem_sharing_sharing_resume(struct domain *d)
             continue;
         }
 
-        if ( rsp.flags & VM_EVENT_FLAG_DUMMY )
-            continue;
-
         /* Validate the vcpu_id in the response. */
         if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] )
             continue;
index 1d3356adb6dbe7fb7c509d7cdd4a5a5a3941ef1f..4032c622b06fcf108ccce94aa16724f4365adb37 100644 (file)
@@ -1312,9 +1312,6 @@ void p2m_mem_paging_resume(struct domain *d)
             continue;
         }
 
-        if ( rsp.flags & VM_EVENT_FLAG_DUMMY )
-            continue;
-
         /* Validate the vcpu_id in the response. */
         if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] )
             continue;
index f925ac7be5faa2c4126be1517ce70251bcdd4a29..7ed8a4ef92770a849bd44808174ff0a4e56b0610 100644 (file)
@@ -44,9 +44,6 @@ void mem_access_resume(struct domain *d)
             continue;
         }
 
-        if ( rsp.flags & VM_EVENT_FLAG_DUMMY )
-            continue;
-
         /* Validate the vcpu_id in the response. */
         if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] )
             continue;
index ed9105bd758f771d086e37d9dab021bf66f5a1f4..c7426de0e18e7fc97cc834d142264cd2b7052f82 100644 (file)
@@ -47,7 +47,6 @@
 #define VM_EVENT_FLAG_VCPU_PAUSED     (1 << 0)
 /* Flags to aid debugging mem_event */
 #define VM_EVENT_FLAG_FOREIGN         (1 << 1)
-#define VM_EVENT_FLAG_DUMMY           (1 << 2)
 
 /*
  * Reasons for the vm event request