]> git.proxmox.com Git - qemu.git/commit - block.c
block: tell drivers about an image resize
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2011 12:32:41 +0000 (13:32 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Jan 2011 09:03:00 +0000 (10:03 +0100)
commitdb97ee6a976bacbb0d18818e951cfc41b39269a7
tree14c8b30a7b745f84da878aab6f35220dd701b79f
parent6d4a2b3a47959f02e7f307f50396e70e8464f95e
block: tell drivers about an image resize

Extend the change_cb callback with a reason argument, and use it
to tell drivers about size changes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
block_int.h
hw/ide/core.c
hw/sd.c