]> git.proxmox.com Git - qemu.git/commit
close all the block drivers before the qemu process exits
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Fri, 28 May 2010 02:44:57 +0000 (11:44 +0900)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Jun 2010 09:43:40 +0000 (11:43 +0200)
commit2bc93fed76c89f7adaa0e5bb357dcdc6c2b097a8
tree5982353ed7064ff6459e897ff3305b644f5580c5
parent08a00559f00975cebcb3f844fe7c708d65b6a3b3
close all the block drivers before the qemu process exits

This patch calls the close handler of the block driver before the qemu
process exits.

This is necessary because the sheepdog block driver releases the lock
of VM images in the close handler.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
vl.c