|
From: | Craig Mull |
Subject: | Qemu Dirty Bitmap backup to encrypted target |
Date: | Mon, 30 Sep 2019 19:26:16 +0000 |
transaction='{ "execute": "transaction",
"arguments": {
"actions": [
{"type": "block-dirty-bitmap-add",
"data": {"node": "drive-virtio-disk0", "granularity": 2097152, "name": "mybitmap"} },
{"type": "drive-backup",
"data": {"device": "drive-virtio-disk0", "target": "json:{\"encrypt.format\": \"luks\", \"encrypt.key-secret\": \"virtio-disk0-luks-secret0\", \"driver\": \"qcow2\", \"file\": {\"driver\": \"file\", \"filename\": \"/tmp/target-encrypt-test.qcow2\"}}",
"sync": "full", "format": "qcow2"} }
]
}
}'
virsh -c qemu:///system qemu-monitor-command --pretty 28 $transaction
{
"id": "libvirt-45",
"error": {
"class": "GenericError",
"desc": "Unknown protocol 'json'"
}
}
[Prev in Thread] | Current Thread | [Next in Thread] |