* [Qemu-devel] crash when run with the -nographic switch
@ 2007-03-18 22:08 Enache Adrian
0 siblings, 0 replies; only message in thread
From: Enache Adrian @ 2007-03-18 22:08 UTC (permalink / raw)
To: qemu-devel
ahq$ ./qemu -nographic -snapshot -fda serflp.fs
Segmentation fault (core dumped)
[...]
(gdb) bt
#0 console_putchar (s=0x8ae43000, ch=112)
at /scrap/ahq/build/qemu/console.c:809
#1 0x1c01258a in console_puts (chr=0x0,
buf=0xcfbd1e20 "parallel0 console\r\n", len=19)
at /scrap/ahq/build/qemu/console.c:1014
[...]
Obviously, since it's running -nographic, the graphic console (vc)
where it's trying to write that stuff is not initialized.
Adi
--- /home/src/qemu/vl.c Sun Mar 18 02:51:54 2007
+++ ./vl.c Sun Mar 18 23:27:34 2007
@@ -7073,6 +7075,7 @@ int main(int argc, char **argv)
break;
case QEMU_OPTION_nographic:
pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "stdio");
+ pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "null");
pstrcpy(monitor_device, sizeof(monitor_device), "stdio");
nographic = 1;
break;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-18 22:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-18 22:08 [Qemu-devel] crash when run with the -nographic switch Enache Adrian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).