diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-04-13 18:36:48 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-04-13 18:39:28 -0700 |
commit | ecb0a5535dd376628aff2fd3f4c9a742dd4ab0b7 (patch) | |
tree | f682a8712af5bc946e42ce4c64394e96d2f41f5a /kvm.h | |
parent | 69eb07e56c007c711072a478bbcf25e8fd045a52 (diff) | |
download | illumos-kvm-ecb0a5535dd376628aff2fd3f4c9a742dd4ab0b7.tar.gz |
HVM-52 can't use /dev/mem for mmap
HVM-53 Opening /dev/kvm should create a new minor instance
HVM-56 only one vm should be supported per open of /dev/kvm
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -404,7 +404,9 @@ struct kvm_vcpu { /*#endif*/ struct kvm_vcpu_arch arch; + ddi_umem_cookie_t cookie; }; +typedef struct kvm_vcpu kvm_vcpu_t; #define KVM_NR_SHARED_MSRS 16 @@ -1223,6 +1225,7 @@ struct kvm { #ifdef KVM_COALESCED_MMIO_PAGE_OFFSET struct kvm_coalesced_mmio_dev *coalesced_mmio_dev; struct kvm_coalesced_mmio_ring *coalesced_mmio_ring; + ddi_umem_cookie_t mmio_cookie; #endif kmutex_t irq_lock; |