qemu-e2k/qga
John Snow bbb0151cf2 qga: treat get-guest-fsinfo as "best effort"
In some container environments, there may be references to block devices
witnessable from a container through /proc/self/mountinfo that reference
devices we simply don't have access to in the container, and cannot
provide information about.

Instead of failing the entire fsinfo command, return stub information
for these failed lookups.

This allows test-qga to pass under docker tests, which are in turn used
by the CentOS VM tests.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220708153503.18864-2-jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2022-07-18 20:24:36 +02:00
..
installer qga/wixl: replace QEMU_GA_MSI_MINGW_BIN_PATH with glib bindir 2022-05-28 11:42:56 +02:00
vss-win32 qga-vss: Use the proper operator to free memory 2022-05-14 12:32:41 +02:00
channel-posix.c qga: replace qemu_open_old() with qga_open_cloexec() 2022-05-28 11:42:56 +02:00
channel-win32.c qga: Add spaces around operator 2021-03-16 20:20:37 -05:00
channel.h qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
commands-common.h qga: move qga_get_host_name() 2022-04-21 17:09:09 +04:00
commands-posix-ssh.c Remove superfluous ERRP_GUARD() 2021-08-26 17:15:28 +02:00
commands-posix.c qga: treat get-guest-fsinfo as "best effort" 2022-07-18 20:24:36 +02:00
commands-win32.c qga: add command 'guest-get-cpustats' 2022-07-13 12:19:18 +03:00
commands.c qga: remove need for QEMU atomic.h 2022-04-21 17:09:09 +04:00
cutils.c qga: add qga_open_cloexec() helper 2022-05-28 11:42:56 +02:00
cutils.h qga: add qga_open_cloexec() helper 2022-05-28 11:42:56 +02:00
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
main.c qga: Relocate a path emitted in the help text 2022-07-08 11:03:36 +02:00
meson.build meson: qga: do not use deprecated meson.build_root() 2022-06-06 16:04:08 +02:00
qapi-schema.json qga: add command 'guest-get-cpustats' 2022-07-13 12:19:18 +03:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
vss-win32.c qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
vss-win32.h qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00