qemu-irix/qga
Tomoki Sekiyama 9388fdb603 qemu-ga: execute fsfreeze-freeze in reverse order of mounts
Currently, fsfreeze-freeze may cause deadlock if a guest has loopback mounts
of image files in its disk; e.g.:

    # mount | grep ^/
    /dev/vda1 / type ext4 (rw,noatime,seclabel,data=ordered)
    /tmp/disk.img on /mnt type ext4 (rw,relatime,seclabel)

To avoid the deadlock, this freezes filesystems in reverse order of mounts.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
*fix up commit msg
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
(cherry picked from commit e5d9adbdab)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2013-12-09 14:45:41 -06:00
..
Makefile.objs qemu-ga: move qemu-ga files to qga/ 2012-12-19 08:31:30 +01:00
channel-posix.c qemu-ga: Handle errors uniformely in ga_channel_open() 2013-01-14 12:08:05 -06:00
channel-win32.c remove double semicolons 2013-05-12 13:25:55 +04:00
channel.h
commands-posix.c qemu-ga: execute fsfreeze-freeze in reverse order of mounts 2013-12-09 14:45:41 -06:00
commands-win32.c qga: add windows implementation for guest-set-time 2013-04-02 09:06:11 -05:00
commands.c qemu-ga: Fix unchecked strdup() by converting to g_strdup() 2013-01-30 11:14:46 +01:00
guest-agent-command-state.c
guest-agent-core.h qemu-ga: use key-value store to avoid recycling fd handles after restart 2013-03-11 18:53:47 -05:00
main.c qga: save state directory in ga_install_service() 2013-05-30 11:37:37 -05:00
qapi-schema.json qga schema: document generic QERR_UNSUPPORTED 2013-04-02 09:06:11 -05:00
service-win32.c qga: escape cmdline args when registering win32 service (CVE-2013-2231) 2013-07-25 14:49:04 -05:00
service-win32.h qga: save state directory in ga_install_service() 2013-05-30 11:37:37 -05:00