On Wed, Nov 10, 2010 at 09:30:28AM +0800, 黄亮 wrote:
> Hi, guys
>
> I know there is a command "virt-clone", but I couldn't find the
> equivalent API here : http://libvirt.org/html/libvirt-libvirt.html
> So, is there an API to clone an existing VM or not?
The virt-clone tool is implemented by running a large number of
individual libvirt APIs. There's no API that does everything in
one go, because that would be an application specific use case.
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
__________ Information from ESET Smart Security, version of virus signature database 5606 (20101110) __________
The message was checked by ESET Smart Security.
http://www.eset.com