Files
libguestfs/lib
Andrey Drobyshev 105dd67ef4 appliance: don't read extfs signature from QCOW2 image directly
If the appliance is a QCOW2 image, function get_root_uuid_with_file()
fails to read ext filesystem signature (0x53EF at offset 0x438) from it.
This results in the following error:

libguestfs: error: /usr/lib64/guestfs/appliance/root: appliance is not
an extfs filesystem

The error itself is harmless, but misleading.  So let's skip retrieving
the signature and UUID in case the image contains QCOW2 header.  It's
safe because in this case we'll retrieve it later from RAW image dumped
from that QCOW2 by "qemu-img dd".

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
(cherry picked from commit ef8c6593eb)
2022-11-24 12:19:30 +00:00
..
2020-03-06 19:32:32 +00:00
2021-01-28 14:04:29 +00:00
2020-08-24 16:24:38 +01:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00
2021-12-09 13:54:15 +00:00
2021-04-08 11:12:17 +01:00
2021-04-08 11:12:17 +01:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2021-04-08 11:12:17 +01:00
2021-04-08 11:12:17 +01:00
2017-01-26 15:05:46 +00:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00
2017-01-26 15:05:46 +00:00
2020-03-06 19:32:32 +00:00