Michal Privoznik b972cdc1a5 virbitmap: Introduce virBitmapParseUnlimitedAllowEmpty()
Some sysfs files contain either string representation of a bitmap
or just a newline character. An example of such file is:
/sys/devices/system/cpu/isolated. Our current implementation of
virBitmapParseUnlimited() fails in the latter case,
unfortunately. Introduce a slightly modified version that accepts
empty files.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2024-05-06 15:26:58 +02:00
..
2023-04-06 12:48:22 +02:00
2023-12-14 17:10:22 +01:00
2024-03-12 17:37:51 +01:00
2024-03-12 17:37:51 +01:00
2024-03-21 14:42:27 +01:00
2024-03-14 15:17:48 +01:00
2024-03-21 14:42:20 +01:00
2023-12-14 17:10:22 +01:00
2023-04-06 12:48:22 +02:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00
2023-04-04 10:52:15 +02:00
2024-03-14 15:17:48 +01:00
2023-03-13 13:29:07 +01:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00