]> xenbits.xensource.com Git - xen.git/commit
xen-access: Correct default value of write-to-CR4 switch
authorSergej Proskurin <proskurin@sec.in.tum.de>
Wed, 30 Aug 2017 11:19:14 +0000 (13:19 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 31 Aug 2017 15:32:37 +0000 (16:32 +0100)
commitf975068fea81adc81b71864c70f9413521ef3a04
treea07972acedba78a895ab17c162f44eff1bbfc3af
parent38ac6fa969a43ca993e610deae8976f9f2877fbb
xen-access: Correct default value of write-to-CR4 switch

The current implementation configures the test environment to always
trap on writes to the CR4 control register, even on ARM. This leads to
issues as calling xc_monitor_write_ctrlreg on ARM with VM_EVENT_X86_CR4
will always fail.

Signed-off-by: Sergej Proskurin <proskurin@sec.in.tum.de>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/tests/xen-access/xen-access.c