Index: uspace/lib/virtio/virtio-pci.c
===================================================================
--- uspace/lib/virtio/virtio-pci.c	(revision 1d0620b7925062ff1e399c5e8684597c018a0938)
+++ uspace/lib/virtio/virtio-pci.c	(revision 4e2d3870f8b872e7f87d75db6ec68ab29fe7a859)
@@ -237,4 +237,11 @@
 	}
 
+	/* Check that the configuration is complete */
+	if (!vdev->common_cfg || !vdev->notify_base || !vdev->isr ||
+	    !vdev->device_cfg) {
+		rc = EINVAL;
+		goto error;
+	}
+
 	return rc;
 
