OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5170f40
)
virtio-scsi: Process ".iothread" property
author
Fam Zheng
<famz@redhat.com>
Tue, 23 Sep 2014 07:49:30 +0000
(15:49 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 30 Sep 2014 09:11:20 +0000
(11:11 +0200)
We are ready, now let's effectively enable dataplane.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/virtio-scsi.c
patch
|
blob
|
history
diff --git
a/hw/scsi/virtio-scsi.c
b/hw/scsi/virtio-scsi.c
index
09a39cb
..
fa36e23
100644
(file)
--- a/
hw/scsi/virtio-scsi.c
+++ b/
hw/scsi/virtio-scsi.c
@@
-754,6
+754,10
@@
void virtio_scsi_common_realize(DeviceState *dev, Error **errp,
s->cmd_vqs[i] = virtio_add_queue(vdev, VIRTIO_SCSI_VQ_SIZE,
cmd);
}
+
+ if (s->conf.iothread) {
+ virtio_scsi_set_iothread(VIRTIO_SCSI(s), s->conf.iothread);
+ }
}
/* Disable dataplane thread during live migration since it does not