[libvirt] [PATCH] Implement autostart commands for xen

Cole Robinson crobinso at redhat.com
Wed May 7 20:21:25 UTC 2008


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?

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.

Any feedback is appreciated.

Thanks,
Cole
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-xen-autostart-patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080507/fb624208/attachment-0001.ksh>


More information about the libvir-list mailing list