parallel and -nographic
PATCH 1/1 parallel and -nographic
Hello,
The recent parallel port change broke -nographic. Without this patch "qemu -nographic" fails and outputs the following error:
qemu: could not open parallel device 'stdio'
/ magnus
Index: vl.c
===================================================================
RCS file: /cvsroot/qemu/qemu/vl.c,v
retrieving revision 1.116
vl.c +1 -1
@@ -1033,7 +1033,7 @@void *fd_opaque; } FDCharDriver; -#define STDIO_MAX_CLIENTS 2 +#define STDIO_MAX_CLIENTS 3static int stdio_nb_clients;static CharDriverState *stdio_clients[STDIO_MAX_CLIENTS ];
Hi,
I think the bug comes from the fact that the parallel port is redirected to stdio in -nographic mode. I see no reason to do that.
Fabrice.
Quoted 34 lines · Magnus Damm
Hello,
The recent parallel port change broke -nographic. Without this patch "qemu -nographic" fails and outputs the following error:
qemu: could not open parallel device 'stdio'
/ magnus
Index:
vl.c
===================================================================
RCS file: /cvsroot/qemu/qemu/vl.c,v
retrieving revision 1.116
diff -u -r1.116vl.cvl.c +1
-1@@ -1033,7 +1033,7 @@void *fd_opaque; } FDCharDriver; -#define STDIO_MAX_CLIENTS 2 +#define STDIO_MAX_CLIENTS 3static int stdio_nb_clients;static CharDriverState *stdio_clients[STDIO_MAX_CLIENTS ];_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Hello,
Quoted 2 lines · Fabrice Bellard
I think the bug comes from the fact that the parallel port is redirected to stdio in -nographic mode. I see no reason to do that.
Neither do I. But I was not sure - therefore the workaroundish patch.. =)
/ magnus