Comment 8 for bug 1862619

Revision history for this message
Andrew Scott (ascott1) wrote :

Reporting again. Compiled QEMU from the latest stable Git:

QEMU emulator version 6.2.50 (v6.2.0-529-gfb084237a3)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

Exactly as original post, if I place -serial telnet::4441,server ahead of -serial mon,stdio on the command line, it dumps core and aborts.

if I flip them, it runs... BUT! The vm console output appears in the terminal where I launched qemu, I get no output in the telnet session. That's backwards. I have no access to the qemu console and can't issue commands to do things like change the CDROM.

full command startup script (this one works but output doesn't happen where I expect)

#!/bin/sh
CDROM="-cdrom HP-UX-OE-1.iso"
QEMU=/home/ascott/Documents/hpux/qemu/qemu/build/qemu-system-hppa
IMAGE=/home/ascott/Documents/hpux/hpux.img
$QEMU -boot d -serial mon:stdio -serial telnet::4441,server -drive if=scsi,bus=0,index=6,file=$IMAGE,format=raw -nographic -m 512 -d nochain $CDROM -net nic,model=tulip -net user

This one dumps core with the serial0 error from the originla post:

#!/bin/sh
CDROM="-cdrom HP-UX-OE-1.iso"
QEMU=/home/ascott/Documents/hpux/qemu/qemu/build/qemu-system-hppa
IMAGE=/home/ascott/Documents/hpux/hpux.img
$QEMU -boot d -serial telnet::4441,server -serial mon:stdio -drive if=scsi,bus=0,index=6,file=$IMAGE,format=raw -nographic -m 512 -d nochain $CDROM -net nic,model=tulip -net user

ascott@vmhost01:~/Documents/hpux$ sh ./install-hpux.sh
qemu-system-hppa: -serial telnet::4441,server: info: QEMU waiting for connection on: disconnected:telnet:0.0.0.0:4441,server=on
Unexpected error in qemu_chr_fe_init() at ../chardev/char-fe.c:220:
qemu-system-hppa: Device 'serial0' is in use
Aborted (core dumped)