aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2013-01-24 10:00:40 -0800
committerKevin Wolf <kwolf@redhat.com>2013-01-25 18:18:36 +0100
commit8689907266b649b757c2203d9652cbe928a3ae0b (patch)
tree765ca571cc265cfbcdc0a138c4eda9f8c15efc93 /hw/ide
parenta26230218d7d66ec5cb1aec101ceaf0e7400ef7f (diff)
downloadqemu-8689907266b649b757c2203d9652cbe928a3ae0b.zip
qemu-8689907266b649b757c2203d9652cbe928a3ae0b.tar.gz
qemu-8689907266b649b757c2203d9652cbe928a3ae0b.tar.bz2
block: Create proper size file for disk mirror
The qmp monitor command to mirror a disk was passing -1 for size along with the disk's backing file. This size of the resulting disk is the size of the backing file, which is incorrect if the disk has been resized. Therefore we should always pass in the size of the current disk. Signed-off-by: Vishvananda Ishaya <vishvananda@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions