tests/xen-access: disable CR4 write events on application exit
authorRazvan Cojocaru <rcojocaru@bitdefender.com>
Mon, 29 Jan 2018 21:48:24 +0000 (23:48 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 6 Feb 2018 16:45:40 +0000 (16:45 +0000)
commitd87cfb59b42832920f4cf3392dccfa5b8736b699
tree8703ace63d161fff6725c1aafe943ef9bb6dfebf
parent309e0509b7363a895362fcbeac823562c3e18def
tests/xen-access: disable CR4 write events on application exit

On exit, xen-access did not unsubscribe from CR4 write vm_events,
potentially leaving the guest stuck.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
tools/tests/xen-access/xen-access.c