diff options
author | Greg Kurz <groug@kaod.org> | 2018-01-08 11:18:23 +0100 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2018-01-08 11:18:23 +0100 |
commit | d8803b1ad06734d36878645328011dc86108af9f (patch) | |
tree | b7317ab7721bdd1ab24fa5de1330b9a0a662c0d1 /tests | |
parent | 65b70fc7dee3ec24afd606946ee7e093105c4875 (diff) |
tests: virtio-9p: set DRIVER_OK before using the device
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/virtio-9p-test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/virtio-9p-test.c b/tests/virtio-9p-test.c index ebd24b20f6..00f00f7246 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; } |