Re: [Qemu-devel] [PATCH] Add info commands for serial/parallel devices

2007-03-20 Thread Anthony Liguori
Thiemo Seufer wrote: Anthony Liguori wrote: Howdy, The following patch adds an info serial and an info parallel command. Besides providing useful information (especially for the serial port), it provides a method for management tools to connect to a running VM and what character devices

Re: [Qemu-devel] [PATCH] Add info commands for serial/parallel devices

2007-03-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Anthony Liguori [EMAIL PROTECTED] writes: : To me, const char * always implies that you don't own the memory. This : is helped by the fact that free doesn't take a const void * and newer : GCC's will complain if you free() a const char *. Sadly, this

Re: [Qemu-devel] [PATCH] Add info commands for serial/parallel devices

2007-03-20 Thread Andreas Schwab
M. Warner Losh [EMAIL PROTECTED] writes: Const does *NOT* imply that you don't own the memory. Its narrow meaning is just that the object won't be changed through this pointer/reference. But free _does_ change the object. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux

Re: [Qemu-devel] [PATCH] Add info commands for serial/parallel devices

2007-03-19 Thread Thiemo Seufer
Anthony Liguori wrote: Howdy, The following patch adds an info serial and an info parallel command. Besides providing useful information (especially for the serial port), it provides a method for management tools to connect to a running VM and what character devices the serial/parallel

[Qemu-devel] [PATCH] Add info commands for serial/parallel devices

2007-03-03 Thread Anthony Liguori
Howdy, The following patch adds an info serial and an info parallel command. Besides providing useful information (especially for the serial port), it provides a method for management tools to connect to a running VM and what character devices the serial/parallel ports have been redirected