Displaying 5 results from an estimated 5 matches for "vir_domain_block_rebase_copy".
2018 Nov 02
2
How can I rebase network disk?
Hi.
I am using openstack, ceph and libvirt now.
The live volume migration will call the libvirt rebase function in openstack nova project.
https://github.com/openstack/nova/blob/stable/rocky/nova/virt/libvirt/driver.py#L1497
https://github.com/openstack/nova/blob/stable/rocky/nova/virt/libvirt/guest.py#L802
But I use the ceph as the openstack block backend. And the type of
2018 Nov 05
0
Re: How can I rebase network disk?
...l#virDomainBlockRebase
>
>
> My question is that can I rebase network disk by some other ways from libvirt?
Whic operation of "rebase" do you mean? Unfortunately we've implemented
the virDomainBlockCopy API also using a flag-hack with the rebase api.
Are you passing in VIR_DOMAIN_BLOCK_REBASE_COPY?
If yes, then you in fact should use virDomainBlockCopy API which takes
an XML which allows to specify also a network based disk. The support
for block copy to a network destination will be added soon as I'm
working on it.
Without the VIR_DOMAIN_BLOCK_REBASE_COPY flag it should work as
expect...
2018 Nov 07
2
Re: How can I rebase network disk?
...-libvirt-domain.html#virDomainBlockRebase
My question is that can I rebase network disk by some other ways from libvirt?
Whic operation of "rebase" do you mean? Unfortunately we've implemented
the virDomainBlockCopy API also using a flag-hack with the rebase api.
Are you passing in VIR_DOMAIN_BLOCK_REBASE_COPY?
If yes, then you in fact should use virDomainBlockCopy API which takes
an XML which allows to specify also a network based disk. The support
for block copy to a network destination will be added soon as I'm
working on it.
Without the VIR_DOMAIN_BLOCK_REBASE_COPY flag it should work as
expect...
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
...Is 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 redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org