diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-09-16 09:24:16 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 02:32:11 -0500 |
commit | 33527ad7e12a5cb50b39165945464600ab2f7632 (patch) | |
tree | 4ece90c91c8bba5951beec47f158654b4c839a19 /arch/x86/kvm | |
parent | 7fcdb5103d10d2eb75876637a2efa9679cce14d3 (diff) |
KVM: SVM: don't copy exit_int_info on nested vmrun
The exit_int_info field is only written by the hardware and
never read. So it does not need to be copied on a vmrun
emulation.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/svm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 3f3fe815c21b..41c996ab87e9 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -1797,8 +1797,6 @@ static bool nested_svm_vmrun(struct vcpu_svm *svm) | |||
1797 | svm->nested.intercept = nested_vmcb->control.intercept; | 1797 | svm->nested.intercept = nested_vmcb->control.intercept; |
1798 | 1798 | ||
1799 | force_new_asid(&svm->vcpu); | 1799 | force_new_asid(&svm->vcpu); |
1800 | svm->vmcb->control.exit_int_info = nested_vmcb->control.exit_int_info; | ||
1801 | svm->vmcb->control.exit_int_info_err = nested_vmcb->control.exit_int_info_err; | ||
1802 | svm->vmcb->control.int_ctl = nested_vmcb->control.int_ctl | V_INTR_MASKING_MASK; | 1800 | svm->vmcb->control.int_ctl = nested_vmcb->control.int_ctl | V_INTR_MASKING_MASK; |
1803 | if (nested_vmcb->control.int_ctl & V_IRQ_MASK) { | 1801 | if (nested_vmcb->control.int_ctl & V_IRQ_MASK) { |
1804 | nsvm_printk("nSVM Injecting Interrupt: 0x%x\n", | 1802 | nsvm_printk("nSVM Injecting Interrupt: 0x%x\n", |