]> xenbits.xensource.com Git - xen.git/commit
tools/dombuilder: Initialise vcpu debug registers correctly
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 28 May 2018 14:18:17 +0000 (15:18 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 Oct 2018 13:43:05 +0000 (14:43 +0100)
commit46029da12e5efeca6d957e5793bd34f2965fa0a1
treed9825a6aee865cd99e5dbea17a0433ba401b274c
parentdfba4d2e91f63a8f40493c4fc2db03fd8287f6cb
tools/dombuilder: Initialise vcpu debug registers correctly

In particular, initialising %dr6 with the value 0 is buggy, because on
hardware supporting Transactional Memory, it will cause the sticky RTM bit to
be asserted, even though a debug exception from a transaction hasn't actually
been observed.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_dom_x86.c