]> git.proxmox.com Git - mirror_qemu.git/commit
qga: Move Linux-specific FS freeze/thaw code to a separate file
authorAlexander Ivanov <alexander.ivanov@virtuozzo.com>
Mon, 17 Oct 2022 07:28:20 +0000 (09:28 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Wed, 26 Oct 2022 17:35:07 +0000 (20:35 +0300)
commit518b0d800b5ab046b72fac423ace7549ab187329
treeede561824935ef6c2434be3b66aee631eeec4804
parentc6cd588bb3a29a831c862780631a7d2145ade5de
qga: Move Linux-specific FS freeze/thaw code to a separate file

In the next patches we are going to add FreeBSD support for QEMU Guest
Agent. In the result, code in commands-posix.c will be too cumbersome.

Move Linux-specific FS freeze/thaw code to a separate file commands-linux.c
keeping common POSIX code in commands-posix.c.

Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-common.h
qga/commands-linux.c [new file with mode: 0644]
qga/commands-posix.c
qga/meson.build