<div dir="ltr">Hi,<div><br></div><div>I am not using quemu, i am using XEN, is there any option to allow me to do that?</div><div><br></div><div>In the libvirt documentation specify that those options are only available on quemu.</div>

<div><br></div><div>BR</div><div><br></div><div>//Fernando</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/16 Martin Kletzander <span dir="ltr"><<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Jan 16, 2014 at 04:59:20PM +0100, Fernando Porro wrote:<br>
> Hi,<br>
><br>
> I have a virtual machine defined by xml that start from pxe (network boot),<br>
> my problem is that sometimes the dhcp server is not ready when the virtual<br>
> machine try to boot.<br>
><br>
> I need that the virtual machine keep asking for dhcp (network reboot) many<br>
> times, until dhcp is ready and can start the virtual machine with a valid<br>
> ip.<br>
><br>
> How can I configure that in the xml file?<br>
><br>
<br>
</div></div>I'm not sure you can configure that for ipxe or qemu, but you can set<br>
the reboot timeout for the machine in <os> tag like this:<br>
<br>
<bios rebootTimeout='0'/><br>
<br>
that means immediate reboot when there is no place to boot from.  In<br>
order for it not to boot from any other device or for any other<br>
details, see <a href="http://libvirt.org/formatdomain.html" target="_blank">http://libvirt.org/formatdomain.html</a><br>
<br>
Have a nice day,<br>
Martin<br>
<br>
> BR<br>
><br>
> //Fernando<br>
<br>
> _______________________________________________<br>
> libvirt-users mailing list<br>
> <a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
</blockquote></div><br></div>