aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorBasil Salman <bsalman@redhat.com>2020-04-30 15:11:40 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2020-07-27 18:03:55 -0500
commit3aaebc0cce4a4963f331f45643e17266646411e6 (patch)
treeb85e3880226d5d5facdfea576eb4e52f95726721 /tcg
parent9303ecb658a0194560d1eecde165a1511223c2d8 (diff)
qga-win: fix "guest-get-fsinfo" wrong filesystem type
This patch handles the case where unmounted volumes exist, where in that case GetVolumePathNamesForVolumeName returns empty path, GetVolumeInformation will use the current working directory instead. This patch fixes the issue by opening a handle to the volumes, and using GetVolumeInformationByHandleW instead. Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1746667 Signed-off-by: Basil Salman <bsalman@redhat.com> Signed-off-by: Basil Salman <basil@daynix.com> *fix crash when guest_build_fsinfo() sets errp multiple times *make new error message more distinct from existing ones Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions