mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/HVM: don't inject #DB with error code
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper@citrix.com>
master commit: 057e0e72d2
master date: 2015-11-12 16:59:18 +0100
This commit is contained in:
1 parent
96aaf7e6f2
commit
f44b5428a4
1 file changed
+1
-1
@@ -3843,7 +3843,7 @@ void hvm_task_switch(
|
||||
goto out;
|
||||
|
||||
if ( (tss.trace & 1) && !exn_raised )
|
||||
hvm_inject_hw_exception(TRAP_debug, tss_sel & 0xfff8);
|
||||
hvm_inject_hw_exception(TRAP_debug, HVM_DELIVER_NO_ERROR_CODE);
|
||||
|
||||
tr.attr.fields.type = 0xb; /* busy 32-bit tss */
|
||||
hvm_set_segment_register(v, x86_seg_tr, &tr);
|
||||
|
||||