|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Startup-Hook Script ?
Steffen Heil wrote:
Great idea. I didn't know I could implement bootloaders myself.
I merged my block-script with your bootloader-script and it works great.
Last problem: The "exit 3" does not seem to work correctly. Whenever a
problem exists, xm create just hangs instead of stopping...
When that happens, I have to "xm destroy" the newly created domU :)
I believe that's because --output (/var/run/xend/boot/xenbl.3079 in my
example) is a pipe, and xen is simply waiting on that pipe. It doesn't
know that the bootloader has quit. Perhaps you can try feeding it with
an empty line, or perhaps some garbage like
linux (kernel /tmp/not_found)(ramdisk /tmp/not_found)(args "")
whose purpose is simply to tell xen it has finished. AFAIK, if xen can't
find the mentioned kernel/initrd it simply quits with an error message
anyway.
Regards,
Fajar
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|