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

This commit is contained in:
Vitaliy Filippov
2021-11-21 16:24:30 +03:00
parent 660c3f7b0d
commit 879fe9b2b4
13 changed files with 197 additions and 101 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):