]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Transition domain to PAUSED after 'stop' command
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 19 Sep 2012 09:23:11 +0000 (11:23 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Sep 2012 08:15:27 +0000 (10:15 +0200)
commita5e8beef4fcb8be636136a2127239dceb459995c
tree7553e5c327e457ea73899af56e6af34dc4b1a015
parentdb8760ffe67cc2a4af62cf29af3985e4d20ec66e
qemu: Transition domain to PAUSED after 'stop' command

Currently, we mark domain PAUSED (but not emit an event)
just before we issue 'stop' on monitor; This command can
take ages to finish, esp. when domain's doing a lot of
IO - users can enforce qemu to open files with O_DIRECT
which doesn't return from write() until data reaches the
block device. Having said that, we report PAUSED even if
domain is not paused yet.
src/qemu/qemu_process.c