projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b70fc
)
tests: virtio-9p: set DRIVER_OK before using the device
author
Greg Kurz
<groug@kaod.org>
Mon, 8 Jan 2018 10:18:23 +0000
(11:18 +0100)
committer
Greg Kurz
<groug@kaod.org>
Mon, 8 Jan 2018 10:18:23 +0000
(11:18 +0100)
Signed-off-by: Greg Kurz <groug@kaod.org>
tests/virtio-9p-test.c
patch
|
blob
|
history
diff --git
a/tests/virtio-9p-test.c
b/tests/virtio-9p-test.c
index ebd24b20f657eb1a3ec15563c1da0337bc334dc9..00f00f7246e926ffe8df740d3f2099b38c301cba 100644
(file)
--- a/
tests/virtio-9p-test.c
+++ b/
tests/virtio-9p-test.c
@@
-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;
}