Print this page
3605 Xen HVM hangs during boot if apix is enabled

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/pci/pci_common.c
          +++ new/usr/src/uts/i86pc/io/pci/pci_common.c
↓ open down ↓ 942 lines elided ↑ open up ↑
 943  943                  return (DDI_FAILURE);
 944  944          DDI_INTR_NEXDBG((CE_CONT, "pci_enable_intr: priority=%x irq=%x\n",
 945  945              hdlp->ih_pri, irq));
 946  946  
 947  947          /* Add the interrupt handler */
 948  948          if (!add_avintr((void *)hdlp, hdlp->ih_pri, hdlp->ih_cb_func,
 949  949              DEVI(rdip)->devi_name, irq, hdlp->ih_cb_arg1,
 950  950              hdlp->ih_cb_arg2, &ihdl_plat_datap->ip_ticks, rdip))
 951  951                  return (DDI_FAILURE);
 952  952  
      953 +        if (hdlp->ih_irq == -1)
      954 +                hdlp->ih_irq = irq;
 953  955          hdlp->ih_vector = irq;
 954  956  
 955  957          return (DDI_SUCCESS);
 956  958  }
 957  959  
 958  960  
 959  961  static void
 960  962  pci_disable_intr(dev_info_t *pdip, dev_info_t *rdip,
 961  963      ddi_intr_handle_impl_t *hdlp, uint32_t inum)
 962  964  {
↓ open down ↓ 799 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX