]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: prepare code for adding block notifiers
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2012 09:36:48 +0000 (11:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Oct 2012 20:39:32 +0000 (22:39 +0200)
commit3cbc002c34aa85ea952ee9b169a3ff97d350516a
tree315dcce972e74ad3e8bab06550c1cfbddf376943
parent101f9cbc2b73340197ec610c095fd69f0b1413ed
block: prepare code for adding block notifiers

There is no reason in principle to skip job cancellation and draining
of pending I/O when there is no medium in the disk.  Do these unconditionally,
which also prepares the code for the next patch.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block.c