[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.