Skip to content

Commit

Permalink
8018 Xen HVM VM with 32 VCPUs hangs on boot
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeremy Jones authored and ahrens committed Apr 4, 2017
1 parent c040c10 commit dde8fce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion usr/src/uts/i86pc/i86hvm/io/xpv/evtchn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -268,7 +272,7 @@ evtchn_callback_fcn(caddr_t arg0, caddr_t arg1)
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,
Expand Down

0 comments on commit dde8fce

Please sign in to comment.