[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] tests: virtio-9p: set DRIVER_OK before using the de
From: |
Greg Kurz |
Subject: |
[Qemu-devel] [PATCH] tests: virtio-9p: set DRIVER_OK before using the device |
Date: |
Sat, 16 Dec 2017 11:08:24 +0100 |
User-agent: |
StGit/0.17.1-46-g6855-dirty |
Signed-off-by: Greg Kurz <address@hidden>
---
tests/virtio-9p-test.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/virtio-9p-test.c b/tests/virtio-9p-test.c
index ebd24b20f657..00f00f7246e9 100644
--- 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] tests: virtio-9p: set DRIVER_OK before using the device,
Greg Kurz <=