Ian Campbell
2013-Jun-12 13:42 UTC
[PATCH 4/4] xen: VKI_XENMEM_get_sharing_{freed, shared}_pages hypercall
From: Andrew Cooper <andrew.cooper3@citrix.com> These hypercalls take no parameters and their return value is stright from the ioctl() on privcmd. There are no memory read/writes. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> --- coregrind/m_syswrap/syswrap-xen.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-xen.c b/coregrind/m_syswrap/syswrap-xen.c index 8a0196f..ce300e8 100644 --- a/coregrind/m_syswrap/syswrap-xen.c +++ b/coregrind/m_syswrap/syswrap-xen.c @@ -152,6 +152,10 @@ PRE(memory_op) break; } + case VKI_XENMEM_get_sharing_freed_pages: + case VKI_XENMEM_get_sharing_shared_pages: + break; + default: bad_subop(tid, layout, arrghs, status, flags, "__HYPERVISOR_memory_op", ARG1); @@ -672,6 +676,11 @@ POST(memory_op) sizeof(vki_xen_pfn_t) * memory_reservation->nr_extents); break; } + + case VKI_XENMEM_get_sharing_freed_pages: + case VKI_XENMEM_get_sharing_shared_pages: + /* No outputs */ + break; } } -- 1.7.2.5