From: Joerg Roedel Date: Tue, 11 Dec 2007 14:36:57 +0000 (+0100) Subject: KVM: SVM: support writing 0 to K8 performance counter control registers X-Git-Tag: v2.6.25-rc1~1138^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62b9abaaf8423a3a38b938831b3b8431a6607ad8;p=pandora-kernel.git KVM: SVM: support writing 0 to K8 performance counter control registers This lets SVM ignore writes of the value 0 to the performance counter control registers. Thus enabling them will still fail in the guest, but a write of 0 which keeps them disabled is accepted. This is required to boot Windows Vista 64bit. [avi: avoid fall-thru in switch statement] Signed-off-by: Joerg Roedel Signed-off-by: Markus Rechberger Signed-off-by: Avi Kivity --- Reading git-diff-tree failed