summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-04-13 18:36:48 -0700
committerRobert Mustacchi <rm@joyent.com>2011-04-13 18:39:28 -0700
commitecb0a5535dd376628aff2fd3f4c9a742dd4ab0b7 (patch)
treef682a8712af5bc946e42ce4c64394e96d2f41f5a /kvm.h
parent69eb07e56c007c711072a478bbcf25e8fd045a52 (diff)
downloadillumos-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvm.h b/kvm.h
index 9d02fd3..3869897 100644
--- a/kvm.h
+++ b/kvm.h
@@ -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;