Peter Krempa
3615e8b39b
util: storage: Don't treat files with missing backing store format as 'raw'
...
Assuming that the backing image format is raw is wrong when doing image
detection:
1) In -drive mode qemu will still probe the image format of the backing
image. This means it will try to open a backing file of the image
which will fail if a more advanced security model is in use.
2) In blockdev mode the image will be opened as raw actually which is
wrong since it might be qcow. Not opening the backing images will
also end up in the guest seeing corrupted data.
Rather than attempt to solve various corner cases when us assuming the
storage file being raw and actually being right forbid startup when the
guest image doesn't have the format specified in the metadata.
https://bugzilla.redhat.com/show_bug.cgi?id=1588373
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-12-18 09:36:48 +01:00
..
2019-02-24 13:20:51 +04:00
2019-02-24 13:20:51 +04:00
2019-12-03 13:57:44 +00:00
2019-07-29 16:27:05 +02:00
2019-12-16 13:04:14 +01:00
2019-12-10 12:41:56 +01:00
2019-12-10 12:41:56 +01:00
2019-12-13 13:05:00 +00:00
2019-12-03 13:57:44 +00:00
2019-12-13 15:55:43 +00:00
2019-12-13 17:52:10 +00:00
2019-10-10 21:02:03 -06:00
2019-03-06 15:53:53 +01:00
2019-07-17 17:18:56 -04:00
2019-10-18 18:49:54 +01:00
2019-07-17 17:18:56 -04:00
2019-07-17 17:18:56 -04:00
2019-03-22 12:59:56 +03:00
2019-08-09 12:17:19 +02:00
2019-12-03 13:57:44 +00:00
2019-12-13 13:22:55 +01:00
2019-12-17 10:04:44 +01:00
2019-11-13 08:16:04 +01:00
2019-07-26 16:48:58 -05:00
2019-12-03 13:57:44 +00:00
2019-07-08 16:10:22 -05:00
2019-12-03 13:57:44 +00:00
2019-03-12 15:29:44 +01:00
2019-08-29 16:36:26 +02:00
2019-09-09 16:44:24 +02:00
2019-12-03 13:57:44 +00:00
2019-07-18 17:59:33 +02:00
2019-12-12 16:30:02 +00:00
2019-09-24 13:19:08 -04:00
2019-12-17 10:04:44 +01:00
2019-12-17 10:04:43 +01:00
2019-07-26 09:59:27 +01:00
2019-07-12 17:09:43 +02:00
2019-01-29 19:16:19 -05:00
2019-06-25 17:11:56 +02:00
2019-06-25 17:11:56 +02:00
2018-12-17 14:43:33 +00:00
2018-12-17 14:43:33 +00:00
2019-03-06 11:12:48 -05:00
2019-06-03 17:59:38 +02:00
2018-09-20 13:06:02 -04:00
2019-11-15 12:58:43 +01:00
2019-06-21 12:59:42 +01:00
2019-07-19 10:52:06 +02:00
2019-04-03 14:44:32 +02:00
2019-07-12 16:55:39 +01:00
2019-07-16 13:42:39 +02:00
2019-06-17 15:19:54 +01:00
2019-12-17 10:04:43 +01:00
2019-04-15 20:03:55 -04:00
2019-10-10 21:02:09 -06:00
2019-04-16 13:11:08 -04:00
2019-04-15 20:03:55 -04:00
2019-12-09 10:17:27 +00:00
2019-11-25 15:29:56 -05:00
2019-12-09 10:17:27 +00:00
2019-11-12 16:15:59 +01:00
2019-12-04 15:43:09 +01:00
2019-10-15 16:14:19 +02:00
2019-11-19 15:22:43 +01:00
2019-12-13 14:57:32 +01:00
2019-02-11 17:40:44 -05:00
2019-12-09 10:17:27 +00:00
2019-12-09 10:17:27 +00:00
2019-10-15 16:14:19 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-14 19:02:31 +01:00
2019-12-13 15:55:43 +00:00
2019-04-11 12:47:23 -04:00
2019-11-12 16:15:59 +01:00
2019-11-15 15:07:40 +01:00
2019-12-09 10:17:27 +00:00
2019-12-09 10:17:27 +00:00
2019-12-09 10:15:16 +00:00
2019-12-10 12:41:56 +01:00
2019-03-08 14:59:20 +01:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 11:25:25 +02:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-11-19 15:22:43 +01:00
2019-11-19 15:22:43 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 11:25:25 +02:00
2019-12-09 14:46:13 +00:00
2019-12-13 14:57:32 +01:00
2019-12-13 14:57:32 +01:00
2019-12-13 14:57:32 +01:00
2018-12-13 16:08:38 +00:00
2019-12-13 14:57:32 +01:00
2019-10-15 11:25:25 +02:00
2018-12-13 16:08:38 +00:00
2019-12-13 14:57:32 +01:00
2019-10-15 11:25:25 +02:00
2019-12-09 10:17:27 +00:00
2019-12-09 10:17:27 +00:00
2019-11-12 16:15:59 +01:00
2019-11-13 15:03:40 -05:00
2019-12-16 17:51:26 -05:00
2019-12-17 10:04:44 +01:00
2019-12-13 14:57:32 +01:00
2019-12-13 14:57:32 +01:00
2019-11-14 19:02:31 +01:00
2019-10-16 12:06:44 +02:00
2019-11-12 16:15:59 +01:00
2019-12-09 10:17:27 +00:00
2019-07-03 08:36:04 +02:00
2019-11-12 16:15:59 +01:00
2019-11-06 11:27:12 -05:00
2019-12-17 10:04:44 +01:00
2019-12-17 10:04:43 +01:00
2019-11-14 19:02:31 +01:00
2019-10-14 10:54:42 +01:00
2019-11-12 16:15:59 +01:00
2019-10-23 14:30:50 +02:00
2019-12-17 10:03:35 +01:00
2019-10-21 12:51:59 +02:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-08-23 11:26:26 +01:00
2018-12-13 16:08:38 +00:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-07 11:34:24 +01:00
2019-12-10 09:55:45 -05:00
2019-12-09 10:17:27 +00:00
2019-10-15 16:14:19 +02:00
2019-12-09 10:15:16 +00:00
2019-12-09 10:15:16 +00:00
2019-12-09 10:17:27 +00:00
2019-12-09 10:17:27 +00:00
2019-10-24 19:35:34 +02:00
2019-06-19 17:12:34 +02:00
2019-12-09 10:15:16 +00:00
2019-12-09 10:15:16 +00:00
2019-10-15 16:14:19 +02:00
2019-11-14 17:45:40 +01:00
2019-10-21 12:51:59 +02:00
2019-10-15 11:25:25 +02:00
2019-11-19 15:22:43 +01:00
2019-11-06 11:27:12 -05:00
2019-10-24 19:35:34 +02:00
2019-12-09 10:17:27 +00:00
2019-12-09 10:17:27 +00:00
2019-11-19 15:22:43 +01:00
2019-11-15 12:58:43 +01:00
2019-11-12 16:15:59 +01:00
2019-08-23 11:26:26 +01:00
2018-12-13 16:08:38 +00:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-11 12:20:08 -04:00
2018-12-17 17:52:46 +01:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-21 12:51:59 +02:00
2019-11-12 16:15:59 +01:00
2019-11-18 18:49:02 +01:00
2019-11-12 16:15:59 +01:00
2019-06-19 17:12:34 +02:00
2019-10-24 19:35:34 +02:00
2019-06-19 17:12:34 +02:00
2019-12-10 14:08:46 +01:00
2019-11-12 16:15:59 +01:00
2019-12-17 10:04:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-21 12:51:55 +02:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-24 19:35:34 +02:00
2019-10-15 11:25:25 +02:00
2019-08-27 15:49:48 +02:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:43 +02:00
2018-12-13 16:08:38 +00:00
2019-11-12 16:15:59 +01:00
2019-07-09 15:01:54 +02:00
2019-10-24 19:35:34 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2019-10-21 12:51:59 +02:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-11-15 15:07:40 +01:00
2019-10-15 16:14:19 +02:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:34 +02:00
2019-10-15 16:14:19 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-12-17 10:04:43 +01:00
2019-11-19 15:22:43 +01:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 16:14:19 +02:00
2019-12-10 12:41:56 +01:00
2019-11-14 19:02:31 +01:00
2019-08-02 09:44:41 -05:00
2019-12-03 13:57:44 +00:00
2019-07-29 15:56:46 +02:00
2019-08-02 09:44:41 -05:00
2018-10-12 09:30:56 -05:00
2019-04-04 09:35:40 -05:00
2019-11-12 16:15:59 +01:00
2019-12-18 09:36:48 +01:00
2019-10-16 12:06:43 +02:00
2019-12-12 14:24:35 +01:00
2019-11-15 15:07:40 +01:00
2019-11-21 08:27:03 +01:00
2019-11-12 16:15:59 +01:00
2018-12-13 16:08:38 +00:00
2019-10-15 16:14:19 +02:00
2019-10-24 19:35:34 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-12-09 10:17:27 +00:00
2019-10-15 11:25:25 +02:00
2019-12-09 14:06:15 +01:00
2019-12-09 14:06:15 +01:00
2019-12-09 10:17:27 +00:00