]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
x86: Drop redundant stgi from SVM's vcpu_deactivate_vmm
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 16 Mar 2015 10:12:56 +0000 (11:12 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 20 Mar 2015 13:07:58 +0000 (14:07 +0100)
Already done via arch_cpu_restore -> vcpu_exit.

CC: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/svm.c

index 13d9f67c7f387e84011cbdf5c6b681ded50cd833..edd50752fad5bf2e37994802151db8817a5ed023 100644 (file)
@@ -470,9 +470,6 @@ vcpu_deactivate_vmm(struct registers *guest_regs)
        unsigned long *stack = (unsigned long *)vmcb->rsp;
        unsigned long linux_ip = vmcb->rip;
 
-       /* We are leaving - set the GIF */
-       asm volatile ("stgi" : : : "memory");
-
        /*
         * Restore the MSRs.
         *