summaryrefslogtreecommitdiffstats
path: root/hw/block/trace-events
diff options
context:
space:
mode:
authorPaul Durrant2019-01-31 16:33:16 +0100
committerAnthony PERARD2019-02-04 12:04:49 +0100
commit3149f183d7ca448b1dc30fe3d4acb9e367de01bf (patch)
treec4e73f03d718d1f3fdaa97a67fa1f7aa7f201019 /hw/block/trace-events
parentxen: fix xen-bus state model to allow frontend re-connection (diff)
downloadqemu-3149f183d7ca448b1dc30fe3d4acb9e367de01bf.tar.gz
qemu-3149f183d7ca448b1dc30fe3d4acb9e367de01bf.tar.xz
qemu-3149f183d7ca448b1dc30fe3d4acb9e367de01bf.zip
xen-block: handle resize callback
Some frontend drivers will handle dynamic resizing of PV disks, so set up the BlockDevOps resize_cb() method during xen_block_realize() to allow this to be done. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/block/trace-events')
-rw-r--r--hw/block/trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/trace-events b/hw/block/trace-events
index d0851953c5..8020f9226a 100644
--- a/hw/block/trace-events
+++ b/hw/block/trace-events
@@ -126,6 +126,7 @@ xen_block_realize(const char *type, uint32_t disk, uint32_t partition) "%s d%up%
xen_block_connect(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
xen_block_disconnect(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
xen_block_unrealize(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
+xen_block_size(const char *type, uint32_t disk, uint32_t partition, int64_t sectors) "%s d%up%u %"PRIi64
xen_disk_realize(void) ""
xen_disk_unrealize(void) ""
xen_cdrom_realize(void) ""