[libvirt] Reusing dumpxml output

Daniel P. Berrange berrange at redhat.com
Thu Aug 14 09:13:55 UTC 2008


On Thu, Aug 14, 2008 at 09:42:09AM +0200, Stefan de Konink wrote:
> On Thu, 14 Aug 2008, ajishrao wrote:
> 
> > You need to take care of only two parameters ID and VNC port, other
> > things will remain. If you want to put different path for disk you can
> > do that as well. API is already available to define by you own xml.
> > Even if you don't modify the id/vnc it doesn't matter, everything is
> > taken care by libvirt.
> 
> Technically the VIF also changes, and what I see if I completely reuse the
> config, it automatically gets a <bootloader /> (I think it changes to hvm)

The <target dev='vifXXX'> element is ignored when creating a VM if it
contains an auto-allocated VIF name.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list