diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-06-08 09:01:28 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-06-08 09:01:28 -0700 |
commit | 36fc5f95d308e5c4bda3ed797c2fdd38c36fea19 (patch) | |
tree | bc3026c013cb1ebb15034ec91e71bf4911919234 /kvm_x86.c | |
parent | 5aad745325c6c384437e499c2cde0fb57931abaf (diff) | |
download | illumos-kvm-36fc5f95d308e5c4bda3ed797c2fdd38c36fea19.tar.gz |
HVM-325 vmx_io_bitmap stuff should all be in kvm_vmx.c
Diffstat (limited to 'kvm_x86.c')
-rw-r--r-- | kvm_x86.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -40,24 +40,6 @@ extern caddr_t smmap64(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); -#ifdef XXX_KVM_DECLARATION -unsigned long *vmx_io_bitmap_a; -unsigned long *vmx_io_bitmap_b; -unsigned long *vmx_msr_bitmap_legacy; -unsigned long *vmx_msr_bitmap_longmode; -#else -/* make these arrays to try to force into low 4GB memory... */ -/* also need to be aligned... */ -__attribute__((__aligned__(PAGESIZE)))unsigned long - vmx_io_bitmap_a[PAGESIZE / sizeof (unsigned long)]; -__attribute__((__aligned__(PAGESIZE)))unsigned long - vmx_io_bitmap_b[PAGESIZE / sizeof (unsigned long)]; -__attribute__((__aligned__(PAGESIZE)))unsigned long - vmx_msr_bitmap_legacy[PAGESIZE / sizeof (unsigned long)]; -__attribute__((__aligned__(PAGESIZE)))unsigned long - vmx_msr_bitmap_longmode[PAGESIZE / sizeof (unsigned long)]; -#endif - static unsigned long empty_zero_page[PAGESIZE / sizeof (unsigned long)]; #define MAX_IO_MSRS 256 |