KVM: SVM: init_vmcb(): remove redundant save->cr0 initialization
authorEduardo Habkost <ehabkost@redhat.com>
Sat, 24 Oct 2009 04:50:00 +0000 (02:50 -0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:21 +0000 (09:32 +0200)
The svm_set_cr0() call will initialize save->cr0 properly even when npt is
enabled, clearing the NW and CD bits as expected, so we don't need to
initialize it manually for npt_enabled anymore.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found