summaryrefslogtreecommitdiffstats
path: root/nbd.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-12-18 18:37:05 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-01-13 11:47:56 +0000
commitc29c1dd312f39ec18a3c6177c6da09a75e095d70 (patch)
tree8be81941bacdac122ab360b1f6c9486add1e8ef9 /nbd.c
parentb7b9d39a7a5bd3a7fe5968b7780c9868c3210a4d (diff)
downloadhqemu-c29c1dd312f39ec18a3c6177c6da09a75e095d70.zip
hqemu-c29c1dd312f39ec18a3c6177c6da09a75e095d70.tar.gz
qmp: Add command 'blockdev-backup'
Similar to drive-backup, but this command uses a device id as target instead of creating/opening an image file. Also add blocker on target bs, since the target is also a named device now. Add check and report error for bs == target which became possible but is an illegal case with introduction of blockdev-backup. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 1418899027-8445-3-git-send-email-famz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud