diff options
author | Paul Durrant | 2017-11-07 11:46:53 +0100 |
---|---|---|
committer | Stefano Stabellini | 2017-12-15 00:24:22 +0100 |
commit | 1491ede74dd441d77e7d8df5c65892ddfa140879 (patch) | |
tree | c836be89c5d704245dd61adec8a361f1fa1e4f0a /hw/block/trace-events | |
parent | Update version for v2.11.0 release (diff) | |
download | qemu-1491ede74dd441d77e7d8df5c65892ddfa140879.tar.gz qemu-1491ede74dd441d77e7d8df5c65892ddfa140879.tar.xz qemu-1491ede74dd441d77e7d8df5c65892ddfa140879.zip |
xen-disk: use an IOThread per instance
This patch allocates an IOThread object for each xen_disk instance and
sets the AIO context appropriately on connect. This allows processing
of I/O to proceed in parallel.
The patch also adds tracepoints into xen_disk to make it possible to
follow the state transtions of an instance in the log.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/block/trace-events')
-rw-r--r-- | hw/block/trace-events | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/block/trace-events b/hw/block/trace-events index cb6767b3ee..962a3bfa24 100644 --- a/hw/block/trace-events +++ b/hw/block/trace-events @@ -10,3 +10,10 @@ virtio_blk_submit_multireq(void *vdev, void *mrb, int start, int num_reqs, uint6 # hw/block/hd-geometry.c hd_geometry_lchs_guess(void *blk, int cyls, int heads, int secs) "blk %p LCHS %d %d %d" hd_geometry_guess(void *blk, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "blk %p CHS %u %u %u trans %d" + +# hw/block/xen_disk.c +xen_disk_alloc(char *name) "%s" +xen_disk_init(char *name) "%s" +xen_disk_connect(char *name) "%s" +xen_disk_disconnect(char *name) "%s" +xen_disk_free(char *name) "%s" |