]> git.proxmox.com Git - qemu.git/commit - qemu-io.c
qemu-io: fix the alloc command
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 May 2012 14:51:52 +0000 (16:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 May 2012 08:32:13 +0000 (10:32 +0200)
commitcc785c349de002596a4f4d116e62846fc18d7b9e
treef8b5b740a73ac927ab5718487a4d7234703bc33b
parent8655d2de0a101782b8066779b8b04e59a80c7d85
qemu-io: fix the alloc command

Because sector_num is not updated, the loop would either go on
forever or return garbage.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c