Displaying 2 results from an estimated 2 matches for "cmdblockcopy".
2013 Dec 20
2
blockcopy for libvirt and version compatibility
I'm currently running:
virsh --version
1.0.2
libvirtd --version
libvirtd (libvirt) 1.0.2
I have a couple questions.
1. Can I upgrade my libvirt.so version to use with an older libvirtd? In
other words, does the versions of libvirt and libvirtd need to be in lock
step?
2. I'm able to use virsh blockcopy, but I want to do it programmatically
via C. I looked through the API and was not
2013 Dec 20
0
Re: blockcopy for libvirt and version compatibility
...git
> repository, but no other references to it.
The source code to virsh shows the APIs that we used; this is a good
starting point for any other C binding, and also for any other language
binding if you can map the C bindings over to your language bindings.
In particular, tools/virsh-domain.c:cmdBlockCopy() is currently
implemented atop the virDomainBlockRebase() API call with the
VIR_DOMAIN_BLOCK_REBASE_COPY flag (but the door is open to also
implement it atop a newer more-powerful virDomainBlockCopy() once we
start targetting some of qemu 1.7 or 2.0's newer features).
--
Eric Blake eblake...