svm: Fake out the Bus Unit Config MSR on revF AMD CPUs
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Thu, 8 Mar 2012 09:17:21 +0000 (09:17 +0000)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Thu, 8 Mar 2012 09:17:21 +0000 (09:17 +0000)
commit338db98dd8d2cf1a639951597880d7a2e7f3b3d6
tree6367207ecd678c9e4b7819cca6e72780d72793d1
parent3d9ab2267f3aff4985caf3761887538e61a10c9c
svm: Fake out the Bus Unit Config MSR on revF AMD CPUs

Win2k8 x64 reads this MSR on revF chips, where it wasn't publically
available; it uses a magic constant in %rdi as a password, which we
don't have in rdmsr_safe().  Since we'll ignore the later writes, just
use a plausible value here (the reset value from rev10h chips) if the
real CPU didn't provide one.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/msr-index.h