Change-Id: I60f88d50f062b004e6dea487bd627d303d0a5e75
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
pos = cap.cap_next;
}
- if (!pci_cfg)
- clib_error_return (error, "modern virtio pci device found");
-
if (common_cfg == 0 || notify_base == 0 || dev_cfg == 0 || isr == 0)
{
virtio_log_debug (vim, vif, "legacy virtio pci device found");
return error;
}
+ if (!pci_cfg)
+ clib_error_return (error, "modern virtio pci device found");
+
virtio_log_debug (vim, vif, "transitional virtio pci device found");
return error;
}