summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2018-05-17 15:41:32 +0300
committerRobert Mustacchi <rm@joyent.com>2018-06-01 21:23:58 +0000
commit0f8051a0844ba1894eab81d4b73a76feca23554e (patch)
tree873c1ee53c56796be43589f006ceb43c090af8d8
parentd9241f995480d9097812b34500484c0fff9d7528 (diff)
downloadillumos-joyent-0f8051a0844ba1894eab81d4b73a76feca23554e.tar.gz
9533 8079's check for Xen HVM is incomplete
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Alexander Pyhalov <alp@rsu.ru> Reviewed by: Ken Mays <maybird1776@yahoo.com> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/uts/i86pc/io/apix/apix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/io/apix/apix.c b/usr/src/uts/i86pc/io/apix/apix.c
index bab7a3c6c5..d02ffe8096 100644
--- a/usr/src/uts/i86pc/io/apix/apix.c
+++ b/usr/src/uts/i86pc/io/apix/apix.c
@@ -267,7 +267,7 @@ apix_probe()
*
* Please remove when/if the issue is resolved.
*/
- if (get_hwenv() == HW_XEN_HVM)
+ if (get_hwenv() & HW_XEN_HVM)
return (PSM_FAILURE);
/* check for hw features if specified */