[Libvir] [PATCH] add bootloader_args to libvirt xml to support bootloaders (like pypxeboot for example) that require arguments
Richard W.M. Jones
rjones at redhat.com
Tue Jun 5 08:29:53 UTC 2007
Hugh Brock wrote:
> This patch extends libvirt's XML to include a paramater Xen already
> supports in sexpr, "bootloader_args." The bootloader_args parameter lets
> you pass arguments -- "mac=aa:12:34:56:78:90" for example -- to a
> bootloader program that xend invokes when it starts a guest. One such
> program, pypxeboot, uses the mac= argument to communicate with a dhcp
> server and retrieve the pxeboot kernel and initrd for a paravirt guest.
> The patch includes new tests for the bootloader_args XML and sexpr,
> which pass.
> Note that for the head of current libvirt, the virsh tests do not pass
> and virsh will not connect to the xen hypervisor. I don't know if this
> is my own build environment or some other issue. However the failure is
> the same with or without this patch, so I am submitting it anyway.
> Please let me know what you think...
Looks good to me.
Did you find out what was causing the build problems (ie. beyond just NFS)?
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
More information about the libvir-list