diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-12-03 05:45:50 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 04:30:25 -0500 |
commit | f56838e4c38cbbc428ae276783f5dbb225e58817 (patch) | |
tree | 7a2c12efb09da5c1bfedb7767553796c911098d9 /arch/x86/kvm | |
parent | 116a0a23676e7d29b7747a53f819baaaf4b88575 (diff) |
KVM: SVM: Add clean-bit for IOPM_BASE and MSRPM_BASE
This patch adds the clean bit for the physical addresses of
the MSRPM and the IOPM. It does not need to be set in the
code because the only place where these values are changed
is the nested-svm vmrun and vmexit path. These functions
already mark the complete VMCB as dirty.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/svm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 052561c34753..284c34c997a4 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -188,6 +188,7 @@ static int nested_svm_check_exception(struct vcpu_svm *svm, unsigned nr, | |||
188 | enum { | 188 | enum { |
189 | VMCB_INTERCEPTS, /* Intercept vectors, TSC offset, | 189 | VMCB_INTERCEPTS, /* Intercept vectors, TSC offset, |
190 | pause filter count */ | 190 | pause filter count */ |
191 | VMCB_PERM_MAP, /* IOPM Base and MSRPM Base */ | ||
191 | VMCB_DIRTY_MAX, | 192 | VMCB_DIRTY_MAX, |
192 | }; | 193 | }; |
193 | 194 | ||