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
@@ -489,7 +489,7 @@ class VitastorDriver(driver.CloneableImageVD,
# FIXME use etcd_address in qemu driver
kk = 'etcd_host'
if v:
args += ':'+kk+'='+v.replace(':', '\\:')
args += ':'+kk.replace('_', '-')+'='+v.replace(':', '\\:')
return args
def delete_volume(self, volume):