diff options
author | Jeremy Jones <jeremy@delphix.com> | 2017-04-03 16:42:46 -0700 |
---|---|---|
committer | Matthew Ahrens <mahrens@delphix.com> | 2017-04-04 10:23:51 -0700 |
commit | dde8fce6139e57132d03ce57125c94e66c8ade09 (patch) | |
tree | 9d0e3d4ebab9575d6af1247915cd43dcb17aa539 | |
parent | c040c10cdd1e4eab0fc88203758367dd81e057b7 (diff) | |
download | illumos-joyent-dde8fce6139e57132d03ce57125c94e66c8ade09.tar.gz |
8018 Xen HVM VM with 32 VCPUs hangs on boot
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
-rw-r--r-- | usr/src/uts/i86pc/i86hvm/io/xpv/evtchn.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/i86hvm/io/xpv/evtchn.c b/usr/src/uts/i86pc/i86hvm/io/xpv/evtchn.c index f127f4fa26..dbaa32c71e 100644 --- a/usr/src/uts/i86pc/i86hvm/io/xpv/evtchn.c +++ b/usr/src/uts/i86pc/i86hvm/io/xpv/evtchn.c @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2014 by Delphix. All rights reserved. + */ + #include <sys/types.h> #include <sys/xpv_support.h> #include <sys/hypervisor.h> @@ -268,7 +272,7 @@ again: while (pending_word != 0) { j = lowbit(pending_word) - 1; port = (i << EVTCHN_SHIFT) + j; - pending_word = pending_word & ~(1 << j); + pending_word = pending_word & ~(1UL << j); /* * If there is a handler registered for this event, |