From: Jean Guyader Date: Tue, 26 May 2009 16:10:44 +0000 (+0100) Subject: XC-56: Creation of fully paravirtualized guest fails X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8be76652cc610fd1f630e9958b5b39a649490c58;p=xenclient%2Fxen-pq.git XC-56: Creation of fully paravirtualized guest fails In our case the directory doesn't exist so open failed. Check the open first. Now the paravirtualized guest should work. --- diff --git a/master/check-open-pv-log-file b/master/check-open-pv-log-file new file mode 100644 index 0000000..1dafc4f --- /dev/null +++ b/master/check-open-pv-log-file @@ -0,0 +1,13 @@ +diff --git a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c +index b1e90d8..d0b1320 100644 +--- a/tools/libxc/xc_dom_core.c ++++ b/tools/libxc/xc_dom_core.c +@@ -30,6 +30,8 @@ void xc_dom_loginit(void) + if ( xc_dom_logfile ) + return; + xc_dom_logfile = fopen("/var/log/xen/domain-builder-ng.log", "a"); ++ if ( xc_dom_logfile ) ++ return; + setvbuf(xc_dom_logfile, NULL, _IONBF, 0); + xc_dom_printf("### ----- xc domain builder logfile opened -----\n"); + } diff --git a/master/series b/master/series index b6d30f7..5639284 100644 --- a/master/series +++ b/master/series @@ -1,3 +1,4 @@ +check-open-pv-log-file fix_compilation power-management-enhancement smbios