summaryrefslogtreecommitdiff
path: root/qemu-kvm.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-06-24 13:56:32 -0700
committerRobert Mustacchi <rm@joyent.com>2011-06-24 13:56:32 -0700
commitfa9a236458e9c22e1f64ab7150b1e38cd93330db (patch)
tree2c9ac47f02b5ff1fa30fb6f36b0d953aa038e65e /qemu-kvm.h
parent68396ea9c0fe4f75ce30b1eba2c44c43c13344bb (diff)
downloadillumos-kvm-cmd-fa9a236458e9c22e1f64ab7150b1e38cd93330db.tar.gz
HVM-388 Run native kvm with qemu-v0.14.x
Diffstat (limited to 'qemu-kvm.h')
-rw-r--r--qemu-kvm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-kvm.h b/qemu-kvm.h
index 88cf276..febd73f 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -25,7 +25,11 @@
#define __user /* temporary, until installed via make headers_install */
#endif
+#ifdef __sun__
+#include <sys/kvm.h>
+#else
#include <linux/kvm.h>
+#endif
#include <signal.h>