x86/vm_event: Carry the vmtrace buffer position in vm_event
authorTamas K Lengyel <tamas.lengyel@intel.com>
Mon, 18 Jan 2021 17:46:37 +0000 (12:46 -0500)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Feb 2021 17:37:28 +0000 (17:37 +0000)
commitc5866ab93167a73a8d4d85b844edf4aa364a1aaa
tree39f2e35e5bf9881e688cafd37939db5cce1f2120
parent9744611991a042e9aea348c5721b80cc2101c7e5
x86/vm_event: Carry the vmtrace buffer position in vm_event

Add vmtrace_pos field to x86 regs in vm_event. Initialized to ~0 if
vmtrace is not in use.

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