From: Eduardo Habkost Date: Sat, 24 Oct 2009 04:50:00 +0000 (-0200) Subject: KVM: SVM: init_vmcb(): remove redundant save->cr0 initialization X-Git-Tag: v2.6.33-rc1~387^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce672d48400e0112fec7a3cb6bb2120493c6e11;p=pandora-kernel.git KVM: SVM: init_vmcb(): remove redundant save->cr0 initialization 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed