x86/vm_event: add response flag to reset vmtrace buffer
authorTamas K Lengyel <tamas.lengyel@intel.com>
Sat, 30 Jan 2021 13:36:37 +0000 (08:36 -0500)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Feb 2021 17:37:28 +0000 (17:37 +0000)
commitca82d3fecc93745ee17850a609ac7772bd7c8bf7
treec298e32f21ef3293da3dff3d6689497756443a7f
parentc5866ab93167a73a8d4d85b844edf4aa364a1aaa
x86/vm_event: add response flag to reset vmtrace buffer

Allow resetting the vmtrace buffer in response to a vm_event. This can be used
to optimize a use-case where detecting a looped vmtrace buffer is important.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@intel.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
xen/arch/x86/vm_event.c
xen/common/vm_event.c
xen/include/asm-arm/vm_event.h
xen/include/asm-x86/vm_event.h
xen/include/public/vm_event.h