qga: Add UFS freeze/thaw support for FreeBSD
UFS supports FS freezing through ioctl UFSSUSPEND on /dev/ufssuspend. Frozen FS can be thawed by closing /dev/ufssuspend file descriptior. Use getmntinfo to get a list of mounted FS. 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>
Showing
- qga/commands-bsd.c 169 additions, 0 deletionsqga/commands-bsd.c
- qga/commands-common.h 11 additions, 0 deletionsqga/commands-common.h
- qga/commands-posix.c 150 additions, 158 deletionsqga/commands-posix.c
- qga/main.c 1 addition, 6 deletionsqga/main.c
- qga/meson.build 3 additions, 0 deletionsqga/meson.build
Loading
Please register or sign in to comment