Lucas Amaral
dbdaf22b63
virsh: report "unknown" for autostart when API query fails
...
When virStoragePoolGetAutostart(), virNetworkGetAutostart(), or
virNodeDeviceGetAutostart() fails, the respective info commands
report "no autostart". This is incorrect: the API failure means
we cannot determine the autostart state, not that autostart is
disabled.
The persistent field in the same functions already correctly
reports "unknown" on API failure. Apply the same pattern to the
autostart field for consistency and correctness.
Signed-off-by: Lucas Amaral <lucaaamaral@gmail.com >
Reviewed-by: Michal Privoznik <mprivozn@redhat.com >
2026-02-18 12:38:13 +01:00
..
2024-05-28 08:51:45 +02:00
2025-11-07 11:58:35 +00:00
2025-01-21 13:58:04 +01:00
2025-10-14 15:08:33 +02:00
2021-11-30 10:45:35 +00:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2026-01-06 12:58:12 +00:00
2026-01-19 14:22:05 +01:00
2025-02-03 14:45:09 +00:00
2025-05-21 15:49:36 +02:00
2009-09-21 14:41:45 +01:00
2025-11-24 16:40:24 +01:00
2019-12-10 12:41:56 +01:00
2025-05-21 15:49:36 +02:00
2019-07-26 16:48:58 -05:00
2022-06-16 06:43:58 +02:00
2021-09-17 09:40:46 +02:00
2025-05-21 15:49:36 +02:00
2025-03-20 17:43:44 +01:00
2025-05-21 15:49:36 +02:00
2022-10-10 14:31:43 +02:00
2022-06-16 06:43:58 +02:00
2021-09-17 09:40:46 +02:00
2022-06-16 06:43:58 +02:00
2022-01-19 16:48:33 +01:00
2025-05-21 15:49:36 +02:00
2022-04-04 16:30:48 +02:00
2022-06-16 06:43:58 +02:00
2021-09-17 09:40:46 +02:00
2025-05-21 15:49:36 +02:00
2024-02-20 12:08:22 +01:00
2022-06-16 06:43:58 +02:00
2021-09-17 09:40:46 +02:00
2022-06-16 06:43:58 +02:00
2021-09-17 09:40:46 +02:00
2025-05-21 15:49:36 +02:00
2022-03-11 09:10:24 +01:00
2025-05-21 15:49:36 +02:00
2024-04-02 18:26:35 +02:00
2023-10-24 13:51:32 +02:00
2025-11-24 16:40:24 +01:00
2022-03-03 11:06:56 +01:00
2026-02-09 10:52:59 +01:00
2020-01-07 16:12:55 +01:00
2026-02-18 12:38:08 +01:00
2022-02-21 13:34:16 +01:00
2023-04-01 11:40:35 +02:00
2025-09-01 16:14:31 +02:00
2021-07-23 09:59:12 +02:00
2025-05-21 15:49:36 +02:00
2019-06-19 17:12:34 +02:00
2026-02-18 12:38:13 +01:00
2022-01-19 16:48:33 +01:00
2026-02-18 12:38:13 +01:00
2019-08-09 09:03:53 +02:00
2025-05-21 15:49:36 +02:00
2019-06-19 17:12:34 +02:00
2026-02-18 12:38:13 +01:00
2021-06-16 10:32:33 +02:00
2026-01-06 10:59:46 +00:00
2020-08-03 15:30:40 +02:00
2025-05-21 15:49:36 +02:00
2020-08-03 15:30:40 +02:00
2025-02-24 11:14:11 +01:00
2023-08-25 12:36:37 +02:00
2025-05-21 15:49:36 +02:00
2022-03-11 09:10:24 +01:00
2025-06-12 10:17:03 +02:00
2025-05-21 15:49:36 +02:00
2021-04-13 17:00:38 +02:00
2019-06-19 17:12:34 +02:00
2025-06-12 10:17:03 +02:00
2021-04-13 17:00:38 +02:00
2024-06-11 12:50:23 +01:00
2019-06-19 17:12:34 +02:00
2024-06-11 12:50:23 +01:00
2021-10-12 17:28:35 +02:00
2025-11-20 17:26:18 +00:00
2025-07-25 11:27:43 +01:00
2024-06-11 12:50:23 +01:00
2019-06-19 17:12:34 +02:00
2025-11-20 17:27:30 +00:00
2019-06-19 17:12:34 +02:00
2024-06-11 12:50:23 +01:00
2024-06-11 12:50:23 +01:00
2023-03-13 13:29:07 +01:00
2016-06-10 11:03:02 +01:00
2024-06-11 12:50:23 +01:00
2026-02-02 09:51:39 +01:00
2025-04-16 10:14:40 +02:00
2023-12-05 12:21:38 +01:00
2016-04-25 15:40:43 +02:00
2025-11-20 17:25:38 +00:00
2025-11-20 17:25:38 +00:00
2022-07-07 12:21:16 +02:00
2025-05-21 15:49:36 +02:00
2025-05-21 15:49:36 +02:00
2023-08-03 16:41:19 +02:00
2021-12-17 15:05:58 +01:00
2025-12-02 12:42:41 +01:00
2025-06-12 10:17:03 +02:00