[libvirt-users] How can I rebase network disk?

Boxiang Zhu bxzhu_5355 at 163.com
Wed Nov 7 08:46:26 UTC 2018



I see.
Thank you for your patient reply. I am very looking forward to the feature which you're currently working on.


Cheers,
Boxiang
On 11/7/2018 16:26,Peter Krempa<pkrempa at redhat.com> wrote:
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 network location you'll need to use
virDomainBlockCopy. The old API does not support passing the disk
specification for non-local disks.

Note that as I've stated previously, the qemu driver does not allow
network disks with the new API until I finish integration with qemu's
'blockdev' feature which I'm currently working on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20181107/75003169/attachment.htm>


More information about the libvirt-users mailing list