Displaying 7 results from an estimated 7 matches for "virdomainblockrebase".
2018 Nov 07
2
Re: How can I rebase network disk?
Thanks for your reply. The nova project uses the virDomainBlockRebase API to finish the rebase operation from the old disk to the new disk not using the virDomainBlockCopy API.
I am confused of the difference of virDomainBlockRebase and virDomainBlockCopy.
Cheers,
Boxiang
On 11/5/2018 22:07,Peter Krempa<pkrempa@redhat.com> wrote:
On Fri, Nov 02, 2018 at 13:4...
2018 Nov 02
2
How can I rebase network disk?
...<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</disk>
Now I found it is not supported to rebase network disk. It is only rebase block or file disk now.
https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainBlockRebase
My question is that can I rebase network disk by some other ways from libvirt?
Cheers,
Boxiang
2018 Nov 07
0
Re: How can I rebase network disk?
On Wed, Nov 07, 2018 at 13:22:32 +0800, Boxiang Zhu wrote:
>
>
> Thanks for your reply. The nova project uses the virDomainBlockRebase API to finish the rebase operation from the old disk to the new disk not using the virDomainBlockCopy API.
> I am confused of the difference of virDomainBlockRebase and virDomainBlockCopy.
virDomainBlockRebase way to do things was introduced to add the
functionality without having to add new A...
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
2018 Nov 05
0
Re: How can I rebase network disk?
...pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
> </disk>
>
>
> Now I found it is not supported to rebase network disk. It is only rebase block or file disk now.
> https://libvirt.org/html/libvirt-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_REBAS...
2013 Dec 20
0
Re: blockcopy for libvirt and version compatibility
...t.
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 redhat com +1-919-301-3266
Libvirt virtualization libr...
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL,
I just look for the class and method to use blockcopy in libvirt-java on
this page:
http://libvirt.org/sources/java/javadoc/
However, I can not find out. Libvirt-java Support blockcopy ? Thanks.
Best Regards,
Star Guo