John Ferlan f64f03b5b1 qemu: Provide default LUN=0 for iSCSI if not provided
https://bugzilla.redhat.com/show_bug.cgi?id=1477880

If the "/#" is missing from the provided iSCSI path, then we need
to provide the default LUN of /0; otherwise, QEMU will fail to parse
the URL causing a failure to either create the guest or hotplug
attach the storage.

During post parse, for any iSCSI disk or hostdev, scan the source
path looking for the presence of '/', if found, then we can assume
the LUN is provided.  If not found, alter the input XML to add the
"/0".  This will cause the generated XML to have the generated
value when the domain config is saved after post parse.
2017-09-12 10:33:25 -04:00
..
2017-09-07 13:53:32 +02:00
2017-04-11 13:23:01 +02:00
2017-04-27 14:13:19 +02:00
2017-04-11 13:23:01 +02:00
2016-12-06 13:34:00 +01:00
2017-09-11 09:45:34 +02:00
2017-09-11 09:45:34 +02:00
2017-07-26 15:35:02 +02:00
2016-06-14 08:25:25 +02:00
2017-04-11 13:23:01 +02:00
2017-08-08 12:19:17 +02:00
2017-07-26 15:33:45 +02:00
2017-07-26 15:33:45 +02:00
2017-04-27 14:13:19 +02:00
2016-09-14 13:18:07 +02:00
2016-08-24 17:43:29 +02:00
2017-08-08 12:19:17 +02:00
2017-08-08 12:19:17 +02:00