提交 d8803b1a 编写于 作者: G Greg Kurz

tests: virtio-9p: set DRIVER_OK before using the device

Signed-off-by: NGreg Kurz <groug@kaod.org>
上级 65b70fc7
......@@ -75,6 +75,9 @@ static QVirtIO9P *qvirtio_9p_pci_start(void)
qvirtio_set_driver(v9p->dev);
v9p->vq = qvirtqueue_setup(v9p->dev, v9p->qs->alloc, 0);
qvirtio_set_driver_ok(v9p->dev);
return v9p;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册