summaryrefslogtreecommitdiff
path: root/virt/kvm/assigned-dev.c
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-05-12 16:40:41 +0800
committerAvi Kivity <avi@redhat.com>2010-08-01 10:35:44 +0300
commit62ad07551a2ace89e35604d1c55fdae1dd3359a8 (patch)
treefa62d906a519406340b93f692f503655b2602b1c /virt/kvm/assigned-dev.c
parent222b7c52c33bdef721248bfeba992af495800d30 (diff)
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