]> git.proxmox.com Git - qemu.git/commit
virtio-blk: tell the guest about size changes
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jan 2011 12:32:51 +0000 (13:32 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Jan 2011 09:03:00 +0000 (10:03 +0100)
commite5051fc70807750f7a4798d2d83e159793c466d3
tree456a6b31f2d267a71f175a33618db5360682d53f
parentdb97ee6a976bacbb0d18818e951cfc41b39269a7
virtio-blk: tell the guest about size changes

Raise a config change interrupt when the size changed.  This allows
virtio-blk guest drivers to read-read the information from the
config space once it got the config chaged interrupt.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/virtio-blk.c