x86/hvm: add MSR old value
authorAlexandru Isaila <aisaila@bitdefender.com>
Thu, 4 Jan 2018 13:28:29 +0000 (14:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Jan 2018 13:28:29 +0000 (14:28 +0100)
commitb55f6c299d316b00f65b63137fde8c2524fb638a
treefb8e7836e7568b02d5e3145a81d987aafd22c0d1
parente204e60f77702bf5c884dd37c3f1b01f14e396ae
x86/hvm: add MSR old value

This patch adds the old value param and the onchangeonly option
to the VM_EVENT_REASON_MOV_TO_MSR event.

The param was added to the vm_event_mov_to_msr struct and to the
hvm_monitor_msr function. Finally I've changed the bool_t param
to a bool for the hvm_msr_write_intercept function.

Signed-off-by: Alexandru Isaila <aisaila@bitdefender.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_monitor.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/monitor.c
xen/arch/x86/monitor.c
xen/include/asm-x86/hvm/monitor.h
xen/include/asm-x86/hvm/support.h
xen/include/asm-x86/monitor.h
xen/include/public/domctl.h
xen/include/public/vm_event.h