search for: 9wdfw2x8

Displaying 3 results from an estimated 3 matches for "9wdfw2x8".

2020 Jan 31
3
Does Libvirt's json parser support single quoted string in qmp json string?
...ge which is encrypted. So in the base parameter, I need a json string which is single quoted to support the encryption parameters. However, the virsh is failed to parse the whole json qmp command. Attempt 1: Single quote without backflash, failed root@host:~# virsh qemu-monitor-command i-9wdfw2x8  "{\"execute\": \"block-commit\", \"arguments\": { \"device\": \"drive-virtio-disk2\", \"job-id\": \"job100\", \"base\":'json:{\"encrypt.key-secret\":\"vol-38973xjl.secret\",\"driver\&q...
2020 Jan 31
1
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...ecifying images and encrypted images are supported. Please consider using libvirt-6.0 though as there are few fixes for blockdev. > > > > Attempt 1: Single quote without backflash, failed > > root@host:~# virsh qemu-monitor-command i-9wdfw2x8 "{\"execute\": \"block-commit\", \"arguments\": { \"device\": \"drive-virtio-disk2\", \"job-id\": \"job100\", \"base\":'json:{\"encrypt.key-secret\":\"vol-38973xjl.secret\",\"driver\&q...
2020 Jan 31
0
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...even if qemu would have parsed it as written). To write JSON inside JSON, you have to do things like: "base":"json:{\"encrypt.key-secret\":\"vo... > > > Attempt 2: Single quote with backflash, failed > > root@host:~# virsh qemu-monitor-command i-9wdfw2x8  "{\"execute\": \"block-commit\", \"arguments\": { \"device\": \"drive-virtio-disk2\", \"job-id\": \"job100\", \"base\":\'json:{\"encrypt.key-secret\":\"vol-38973xjl.secret\",\"driver...