diff options
author | Sheng Yang <sheng@linux.intel.com> | 2010-05-12 16:40:41 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 10:35:44 +0300 |
commit | 62ad07551a2ace89e35604d1c55fdae1dd3359a8 (patch) | |
tree | fa62d906a519406340b93f692f503655b2602b1c /virt/kvm/assigned-dev.c | |
parent | 222b7c52c33bdef721248bfeba992af495800d30 (diff) | |
download | linux-62ad07551a2ace89e35604d1c55fdae1dd3359a8.tar.bz2 |
KVM: x86: Clean up duplicate assignment
mmu.free() already set root_hpa to INVALID_PAGE, no need to do it again in the
destory_kvm_mmu().
kvm_x86_ops->set_cr4() and set_efer() already assign cr4/efer to
vcpu->arch.cr4/efer, no need to do it again later.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions