[libvirt] autostart with xend

Daniel P. Berrange berrange at redhat.com
Thu Feb 5 11:56:59 UTC 2009


On Fri, Jan 30, 2009 at 02:10:57PM -0500, John Levon wrote:
> 
> It doesn't work quite right with a running domain. The 'new' will
> correctly set the config, but the temporary config doesn't include the
> new setting. So tests of the form "set autostart; is it set?" will fail.

I'm not sure I understand the sequence of operations you're describing
here - can you illustrate with virsh example. 

> Also, why isn't this represented in the XML?

Bear in mind there's 2 impls of this. For older XM, we are just creating
and deleting symlinks in /etc/xen/autostart, only in newer XM are  we
having to update the SXPR (which is harder).


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