]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
blockcopy: split out virsh implementation
authorEric Blake <eblake@redhat.com>
Fri, 29 Aug 2014 21:20:30 +0000 (15:20 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 6 Sep 2014 15:28:54 +0000 (09:28 -0600)
commit0eaad0a39c67bdddc56d608ff28fcb490c12b8b3
tree589100eff96c40ac99d95759655a54fc693c510e
parent119b6dfc40cff5c90cdc2a77df01191727332b4b
blockcopy: split out virsh implementation

I'm about to extend the capabilities of blockcopy.  Hiding a few
common lines of implementation gets in the way of the new required
logic, and putting the new logic in the common implementation won't
benefit any of the other blockjob operations.  Therefore, it is
simpler to just do the work inline.  There should be no semantic
change in this patch.

* tools/virsh-domain.c (blockJobImpl): Move block copy guts...
(cmdBlockCopy): ...into their lone caller.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh-domain.c