From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Stekloff Subject: Re: [PATCH] enable xm console for vmx guest Date: Sun, 6 Nov 2005 22:10:53 -0800 Message-ID: <200511062210.53265.dsteklof@us.ibm.com> References: <436EBFB2.10303@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <436EBFB2.10303@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: "Ling, Xiaofeng" List-Id: xen-devel@lists.xenproject.org On Sunday 06 November 2005 18:45, Ling, Xiaofeng wrote: > Enable xm console for vmx guest. > When the serial port is redirect to pty, write the allocated > device to xenstore, then xm console can get it. > TODO:serial port by pty shall not block if there are no reading > on the other end > > Signed-off-by: Xiaofeng Ling Hi, I believe that you must free() path in store_console_dev() when you're done with it: from xs.h: /* Query the home path of a domain. Call free() after use. */ char *xs_get_domain_path(struct xs_handle *h, unsigned int domid); Thanks, Dan