WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] enable xm console for vmx guest

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] enable xm console for vmx guest
From: Daniel Stekloff <dsteklof@xxxxxxxxxx>
Date: Sun, 6 Nov 2005 22:10:53 -0800
Cc: "Ling, Xiaofeng" <xiaofeng.ling@xxxxxxxxx>
Delivery-date: Mon, 07 Nov 2005 06:08:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <436EBFB2.10303@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <436EBFB2.10303@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.6.2
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 <xiaofeng.ling@xxxxxxxxx>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>