diff options
author | Paul Durrant <paul.durrant@citrix.com> | 2011-09-17 16:22:13 +0100 |
---|---|---|
committer | Paul Durrant <paul.durrant@citrix.com> | 2011-09-17 16:22:13 +0100 |
commit | 251d889009995640af7c2d53eb018639d77ae98a (patch) | |
tree | 87f8c965469dd26ea241459bf6811c7c440ec604 /xen/include/asm-x86/hvm/viridian.h | |
parent | d285a773d6f5d7fb4e654291b5fce90bb8ec8852 (diff) | |
download | xen-251d889009995640af7c2d53eb018639d77ae98a.tar.gz xen-251d889009995640af7c2d53eb018639d77ae98a.tar.bz2 xen-251d889009995640af7c2d53eb018639d77ae98a.zip |
x86/hvm: Tidy up the viridian code a little and flesh out the APIC
assist MSR handling code.
We don't say we that handle that MSR but Windows assumes it. In
Windows 7 it just wrote to the MSR and we used to handle that
ok. Windows 8 also reads from the MSR so we need to keep a record of
the contents.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/viridian.h')
-rw-r--r-- | xen/include/asm-x86/hvm/viridian.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/viridian.h b/xen/include/asm-x86/hvm/viridian.h index d8509cb081..496da33ed5 100644 --- a/xen/include/asm-x86/hvm/viridian.h +++ b/xen/include/asm-x86/hvm/viridian.h @@ -9,6 +9,21 @@ #ifndef __ASM_X86_HVM_VIRIDIAN_H__ #define __ASM_X86_HVM_VIRIDIAN_H__ +union viridian_apic_assist +{ uint64_t raw; + struct + { + uint64_t enabled:1; + uint64_t reserved_preserved:11; + uint64_t pfn:48; + } fields; +}; + +struct viridian_vcpu +{ + union viridian_apic_assist apic_assist; +}; + union viridian_guest_os_id { uint64_t raw; |