Re: [Qemu-devel] [PATCHv5 05/12] qxl: add io_port_to_string

2011-07-15 Thread Alon Levy
On Fri, Jul 15, 2011 at 09:59:21AM +0200, Gerd Hoffmann wrote: > Hi, > > >+switch (io_port) { > >+case QXL_IO_NOTIFY_CMD: > >+return "QXL_IO_NOTIFY_CMD"; > > Wasn't the plan to make this an array? > yes. Somehow I sent the wrong patch. No idea how I managed to do that. > chee

Re: [Qemu-devel] [PATCHv5 05/12] qxl: add io_port_to_string

2011-07-15 Thread Gerd Hoffmann
Hi, +switch (io_port) { +case QXL_IO_NOTIFY_CMD: +return "QXL_IO_NOTIFY_CMD"; Wasn't the plan to make this an array? cheers, Gerd

[Qemu-devel] [PATCHv5 05/12] qxl: add io_port_to_string

2011-07-14 Thread Alon Levy
Signed-off-by: Alon Levy --- hw/qxl.c | 63 +- 1 files changed, 62 insertions(+), 1 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index e832d00..c998e9b 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -409,6 +409,66 @@ static const char *qxl_