Print this page
NEX-14556 xnf: panic on Xen 4.x
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
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
        
@@ -1055,16 +1055,13 @@
         xnfp->xnf_rx_head = NULL;
         xnfp->xnf_rx_tail = NULL;
         xnfp->xnf_rx_new_buffers_posted = B_FALSE;
 
 #ifdef XPV_HVM_DRIVER
-        /*
-         * Report our version to dom0.
-         */
-        if (xenbus_printf(XBT_NULL, "guest/xnf", "version", "%d",
-            HVMPV_XNF_VERS))
-                cmn_err(CE_WARN, "xnf: couldn't write version\n");
+        /* Report our version to dom0 */
+        (void) xenbus_printf(XBT_NULL, "guest/xnf", "version", "%d",
+            HVMPV_XNF_VERS);
 #endif
 
         /*
          * Get the iblock cookie with which to initialize the mutexes.
          */