diff options
author | Paul Durrant | 2019-01-31 16:33:16 +0100 |
---|---|---|
committer | Anthony PERARD | 2019-02-04 12:04:49 +0100 |
commit | 3149f183d7ca448b1dc30fe3d4acb9e367de01bf (patch) | |
tree | c4e73f03d718d1f3fdaa97a67fa1f7aa7f201019 /hw/block/trace-events | |
parent | xen: fix xen-bus state model to allow frontend re-connection (diff) | |
download | qemu-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-events | 1 |
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) "" |