Displaying 11 results from an estimated 11 matches for "virdomainblockcopy".
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:42:56 +0800, Boxiang Zhu wrote:
Hi.
I am using openstack, ceph and libvirt now.
The live volume mig...
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
2013 Dec 20
2
blockcopy for libvirt and version compatibility
...on 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 able to see any references to
that. I did see mention of virDomainBlockCopy on the TIP of the git
repository, but no other references to it.
How do I run virsh blockcopy via a C function?
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 API. Later we've figured out
that the new API is necessary anyways.
If you want to copy to a netwo...
2018 Nov 05
0
Re: How can I rebase network disk?
...e 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_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 a...
2013 Dec 20
0
Re: blockcopy for libvirt and version compatibility
...lthough the
client being older means that you can't take full advantage of the server).
>
>
> 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 able to see any references to
> that. I did see mention of virDomainBlockCopy on the TIP of the 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, to...
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
2014 Oct 10
3
KVM incremental backup using CBT
Hi
Looking in to implementing (CBT like) delta backup for KVM.
The following looks promising..(last paragraph)
http://wiki.qemu.org/Features/Snapshots2
* In the last para, there is a mention of copy the blocks from the
disk using dirty-bitmap as reference. How to accomplish this ?
block-mirror with bitmap or is there a qemu-img command ? some details
would be
2023 May 15
0
PHP API
...ng merge requests.
>
> Regards
> Simon
>
> int virDomainBlockPull (virDomainPtr
> <https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainPtr> dom,
> const char * disk,
> unsigned long bandwidth,
> unsigned int flags)
>
>
> int virDomainBlockCopy (virDomainPtr
> <https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainPtr> dom,
> const char * disk,
> const char * destxml,
> virTypedParameterPtr
> <https://libvirt.org/html/libvirt-libvirt-common.html#virTypedParameterPtr> params,
>...
2014 Oct 11
0
Re: KVM incremental backup using CBT
...disk using dirty-bitmap as reference. How to accomplish this ?
> block-mirror with bitmap or is there a qemu-img command ? some details
> would be appreciated.
block-backup is a new QMP command that libvirt would need to expose; I
don't know whether it is better to overload the existing
virDomainBlockCopy() API for it, or to add a new API.
>
> // backup software now reads foo.img using t0_dirty.dbmp to perform
> incremental backup, when finished
>
>
>
> * The backup after few runs in the backup store would be base image
> + bunch of delta blocks ? Will this be same...
2014 Oct 13
1
Re: KVM incremental backup using CBT
...ap as reference. How to accomplish this ?
>> block-mirror with bitmap or is there a qemu-img command ? some details
>> would be appreciated.
> block-backup is a new QMP command that libvirt would need to expose; I
> don't know whether it is better to overload the existing
> virDomainBlockCopy() API for it, or to add a new API.
So this seems to be already in qemu. How can I try this with KVM
context. Do I need to build from source ? or some version of KVM already
has this ?
>
>> // backup software now reads foo.img using t0_dirty.dbmp to perform
>> incremental backup,...