Print this page
re #13140 rb4270 hvm_sd module missing dependencies on scsi and cmlb
re #13166 rb4270 Check for Xen HVM even if CPUID signature returns Microsoft Hv
re #13187 rb4270 Fix Xen HVM related warnings

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/i86hvm/io/xpv/xpv_support.c
          +++ new/usr/src/uts/i86pc/i86hvm/io/xpv/xpv_support.c
↓ open down ↓ 731 lines elided ↑ open up ↑
 732  732                  return (DDI_FAILURE);
 733  733  
 734  734          ddi_report_dev(dip);
 735  735  
 736  736          /*
 737  737           * If the memscrubber attempts to scrub the pages we hand to Xen,
 738  738           * the domain will panic.
 739  739           */
 740  740          memscrub_disable();
 741  741  
 742      -        /*
 743      -         * Report our version to dom0.
 744      -         */
 745      -        if (xenbus_printf(XBT_NULL, "guest/xpv", "version", "%d",
 746      -            HVMPV_XPV_VERS))
 747      -                cmn_err(CE_WARN, "xpv: couldn't write version\n");
      742 +        /* Report our version to dom0 */
      743 +        (void) xenbus_printf(XBT_NULL, "guest/xpv", "version", "%d",
      744 +            HVMPV_XPV_VERS);
 748  745  
 749  746          return (DDI_SUCCESS);
 750  747  }
 751  748  
 752  749  /*
 753  750   * Attempts to reload the PV driver plumbing hang on Intel platforms, so
 754  751   * we don't want to unload the framework by accident.
 755  752   */
 756  753  int xpv_allow_detach = 0;
 757  754  
↓ open down ↓ 59 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX