[libvirt] [PATCH] Implement autostart commands for xen
Daniel P. Berrange
berrange at redhat.com
Thu May 8 11:34:37 UTC 2008
On Wed, May 07, 2008 at 04:21:25PM -0400, Cole Robinson wrote:
> The attached patch implements the domain autostart commands for
> xen. The xen sexpr (since at least 3.0.4 = 1.5 years) has a
> on_xend_start field which can be used to autostart a domain.
>
> A couple things:
>
> 1) This works on a running guest, but will only show the
> sexpr changes after the guest is restarted. Just curious
> if there is any better way to do this?
That's just the way XenD works - nothing we can do about this AFAICT
> 2) This isn't implemented for the xm config file driver. I
> figured this is fine since this is inherently dependent
> on inactive domain management.
This would need a completely separate approach - symlinking the
config files from /etc/xen into /etc/xen/auto
Dan.
--
|: Red Hat, Engineering, Boston -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