aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xc
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-05 18:03:19 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-05 18:03:19 +0000
commitaf125245167ad4cd55bdae1c2b9d25d24b498205 (patch)
tree2dd5a4e31411a3c60b366b006de5d1b9c3c38225 /tools/xc
parente0cea07f10301cc2a89dd80bd8fdacd9846a45d2 (diff)
downloadxen-af125245167ad4cd55bdae1c2b9d25d24b498205.tar.gz
xen-af125245167ad4cd55bdae1c2b9d25d24b498205.tar.bz2
xen-af125245167ad4cd55bdae1c2b9d25d24b498205.zip
bitkeeper revision 1.764.1.1 (4048c0e77koAHUIwNvQFG76iV0Alrg)
evtchn.h, control_if.h: new file Many files: Bidirectional consoles for domains >0. Run 'tools/xend/xend' and telnet to the port printed by xc_dom_create.py. (eg. 'telnet localhost 9600'). .del-xen_read_console.c~2a30ac556d6835c7: Delete: tools/misc/xen_read_console.c
Diffstat (limited to 'tools/xc')
-rw-r--r--tools/xc/lib/xc_linux_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xc/lib/xc_linux_build.c b/tools/xc/lib/xc_linux_build.c
index 32b1515557..786d372c39 100644
--- a/tools/xc/lib/xc_linux_build.c
+++ b/tools/xc/lib/xc_linux_build.c
@@ -322,7 +322,7 @@ int xc_linux_build(int xc_handle,
goto error_out;
}
- if ( ramdisk_name != NULL )
+ if ( (ramdisk_name != NULL) && (strlen(ramdisk_name) != 0) )
{
initrd_fd = open(ramdisk_name, O_RDONLY);
if ( initrd_fd < 0 )