Add a patch for qemu 6.1 and replace _ with - in qemu options

This commit is contained in:
Vitaliy Filippov
2021-11-21 16:16:46 +03:00
parent 660c3f7b0d
commit a863013cb2
12 changed files with 194 additions and 98 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ index 391231c527..34dc60dcdd 100644
+ if kk == 'etcd_address':
+ # FIXME use etcd_address in qemu driver
+ kk = 'etcd_host'
+ path += ":"+kk+"="+connection_info['data'][k].replace(':', '\\:')
+ path += ":"+kk.replace('_', '-')+"="+connection_info['data'][k].replace(':', '\\:')
else:
path = 'unknown'
raise exception.DiskNotFound(location='unknown')