]> git.proxmox.com Git - qemu-server.git/commit
vzdump: tpmstate: escape drive string
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 14 Sep 2022 13:07:27 +0000 (15:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Sep 2022 10:52:30 +0000 (12:52 +0200)
commit93e3f756c4579082a4274155183cde0361cbbbfc
tree9b3f92eace38d129f4907893505afdca82d9802e
parent39b56b169ab7bb6414967627d6a1ad97817f1436
vzdump: tpmstate: escape drive string

the volume path could contain escaped ":" or ",", which means their '\'
needs to be escaped another time for passing to HMP.

the same approach is used for hotplugging regular drives in
PVE::QemuServer, and is needed (at least) for RBD storages with IPv6
monhosts or an explicit monhost port.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/VZDump/QemuServer.pm