]> xenbits.xensource.com Git - xen.git/commitdiff
x86/svm: misc cleanup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 29 Sep 2014 08:23:48 +0000 (10:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 29 Sep 2014 08:23:48 +0000 (10:23 +0200)
cpu_has_monitor_trap_flag is a VMX control, and has nothing to do with SVM.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/hvm/svm/svm.c

index cda968bd8e377adc3fb97b477e8312b6031f7ccc..e3e15655c50bcb79337d15c528ff9bb50c0799e6 100644 (file)
@@ -1187,8 +1187,6 @@ static void svm_inject_trap(struct hvm_trap *trap)
             __restore_debug_registers(vmcb, curr);
             vmcb_set_dr6(vmcb, vmcb_get_dr6(vmcb) | 0x4000);
         }
-        if ( cpu_has_monitor_trap_flag )
-            break;
         /* fall through */
     case TRAP_int3:
         if ( curr->domain->debugger_attached )