Lee Yarwood
5913bd889f
compute: Validate a BDMs disk_bus when provided
...
Previously disk_bus values were never validated and could easily end up
being ignored by the underlying virt driver and hypervisor.
For example, a common mistake made by users is to request a virtio-scsi
disk_bus when using the libvirt virt driver. This however isn't a valid
bus and is ignored, defaulting back to the virtio (virtio-blk) bus.
This change adds a simple validation in the compute API using the
potential disk_bus values provided by the DiskBus field class as used
when validating the hw_*_bus image properties.
Closes-Bug: #1876301
Change-Id: I77b28b9cc8f99b159f628f4655d85ff305a71db8
2020-07-29 16:05:48 +00:00
..
2020-05-20 21:56:41 +02:00
2017-06-06 13:34:17 +00:00
2019-07-05 13:24:18 +09:00
2019-08-12 08:52:38 -05:00
2019-12-12 14:56:39 +00:00
2019-11-22 16:09:36 +00:00
2016-11-11 14:01:51 -05:00
2017-12-18 13:40:13 -05:00
2017-03-31 06:19:01 +00:00
2016-07-08 02:03:07 +00:00
2019-10-15 21:22:31 -04:00
2017-05-19 14:51:42 -04:00
2019-03-01 10:43:08 -05:00
2019-07-22 19:17:28 +02:00
2019-04-16 18:26:13 +01:00
2018-07-18 22:23:45 -04:00
2019-07-22 15:23:16 -04:00
2019-11-22 16:09:36 +00:00
2018-07-18 22:23:45 -04:00
2017-05-04 18:23:17 -04:00
2019-02-06 14:49:18 -05:00
2019-06-28 19:09:31 +00:00
2020-01-22 13:50:30 +00:00
2018-07-18 22:23:45 -04:00
2020-01-22 13:50:30 +00:00
2018-07-18 22:23:45 -04:00
2017-11-28 11:07:36 +08:00
2019-07-22 19:17:28 +02:00
2020-03-30 03:02:31 +00:00
2016-12-14 11:22:50 -05:00
2019-02-21 13:38:51 +00:00
2020-03-06 16:57:46 +00:00
2019-10-14 11:35:11 -07:00
2019-11-18 16:25:47 +00:00
2017-12-18 13:40:13 -05:00
2017-12-18 13:40:13 -05:00
2019-11-18 16:25:47 +00:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-12-09 11:52:49 -06:00
2018-08-07 22:47:44 +00:00
2016-11-11 14:01:51 -05:00
2018-10-25 16:37:21 +09:00
2019-11-14 14:29:58 -05:00
2017-01-06 13:20:10 +00:00
2019-11-22 16:03:11 +00:00
2018-07-18 22:23:45 -04:00
2020-04-02 09:26:55 -07:00
2019-12-12 14:56:39 +00:00
2020-07-29 16:05:48 +00:00
2019-07-22 19:17:28 +02:00
2019-11-13 23:43:52 +00:00
2017-07-10 14:02:13 +00:00
2019-09-06 17:31:42 -04:00
2017-03-28 02:54:11 +00:00
2016-06-03 08:47:33 -04:00
2016-06-03 08:47:33 -04:00
2020-05-06 10:57:59 +01:00
2017-04-25 12:04:05 -04:00
2019-12-23 14:20:28 +00:00
2019-08-27 12:57:10 -04:00
2019-10-29 12:56:59 -04:00
2019-11-13 10:52:03 -05:00
2019-12-23 14:20:28 +00:00
2020-03-15 17:35:49 +01:00
2016-11-29 12:31:46 -05:00
2019-07-22 19:17:28 +02:00