I can confirm this on a clean install from the Maverick 20100816 Desktop CD Build (will update shortly in case another update has fixed it), I have a feeling that this might be an X bug.
Running via virt-manager I get exactly the same output as Dave, however when running from a gnome-terminal session I get the following output:
root@njones-laptop:~# LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin XAUTHORITY=/root/.Xauthority DISPLAY=:0.0 /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name sdl-test -uuid ea5b78aa-3611-fdbb-8d94-219b01bb6e7f -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/sdl-test.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive file=/var/lib/libvirt/images/sdl-test.img,if=none,id=drive-virtio-disk0,boot=on,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:9a:c7:b7,bus=pci.0,addr=0x3 -net tap,fd=44,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -sdl -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
char device redirected to /dev/pts/4
TUNGETIFF ioctl() failed: Bad file descriptor
TUNSETOFFLOAD ioctl() failed: Bad file descriptor
pci_add_option_rom: failed to find romfile "pxe-virtio.bin"
No protocol specified
No protocol specified
init kbd.
Could not open SDL display
(notice extra line 'init kbd', I have a feeling that the TUNGETIFF and TUNSETOFFLOAD issues are unrelated, but will check shortly as well)
When run from the CLI, the screen goes blank (LCD backlight is still powered though) & if I say SSH in and reboot, the machine goes down but instead of the normal shutdown animation, the graphics are dirty like zebra (corrupted quite badly, and very colourful).
Certainly feels like an X bug to me, especially as there doesn't seem to have been any changes in upstream sdl.c. Rationale is that my Xorg logs show:
[ 1004.863] (II) AIGLX: Suspending AIGLX clients for VT switch
at around time of the crash & the graphics corruption.
I can confirm this on a clean install from the Maverick 20100816 Desktop CD Build (will update shortly in case another update has fixed it), I have a feeling that this might be an X bug.
Running via virt-manager I get exactly the same output as Dave, however when running from a gnome-terminal session I get the following output:
root@njones- laptop: ~# LC_ALL=C PATH=/usr/ local/sbin: /usr/local/ bin:/usr/ bin:/usr/ sbin:/sbin: /bin XAUTHORITY= /root/. Xauthority DISPLAY=:0.0 /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 1,sockets= 1,cores= 1,threads= 1 -name sdl-test -uuid ea5b78aa- 3611-fdbb- 8d94-219b01bb6e 7f -nodefaults -chardev socket, id=monitor, path=/var/ lib/libvirt/ qemu/sdl- test.monitor, server, nowait -mon chardev= monitor, mode=readline -rtc base=utc -boot c -drive file=/var/ lib/libvirt/ images/ sdl-test. img,if= none,id= drive-virtio- disk0,boot= on,format= raw -device virtio- blk-pci, bus=pci. 0,addr= 0x5,drive= drive-virtio- disk0,id= virtio- disk0 -drive if=none, media=cdrom, id=drive- ide0-1- 0,readonly= on,format= raw -device ide-drive, bus=ide. 1,unit= 0,drive= drive-ide0- 1-0,id= ide0-1- 0 -device virtio- net-pci, vlan=0, id=net0, mac=52: 54:00:9a: c7:b7,bus= pci.0,addr= 0x3 -net tap,fd= 44,vlan= 0,name= hostnet0 -chardev pty,id=serial0 -device isa-serial, chardev= serial0 -usb -sdl -vga cirrus -device virtio- balloon- pci,id= balloon0, bus=pci. 0,addr= 0x6
char device redirected to /dev/pts/4
TUNGETIFF ioctl() failed: Bad file descriptor
TUNSETOFFLOAD ioctl() failed: Bad file descriptor
pci_add_option_rom: failed to find romfile "pxe-virtio.bin"
No protocol specified
No protocol specified
init kbd.
Could not open SDL display
(notice extra line 'init kbd', I have a feeling that the TUNGETIFF and TUNSETOFFLOAD issues are unrelated, but will check shortly as well)
When run from the CLI, the screen goes blank (LCD backlight is still powered though) & if I say SSH in and reboot, the machine goes down but instead of the normal shutdown animation, the graphics are dirty like zebra (corrupted quite badly, and very colourful).
Certainly feels like an X bug to me, especially as there doesn't seem to have been any changes in upstream sdl.c. Rationale is that my Xorg logs show:
[ 1004.863] (II) AIGLX: Suspending AIGLX clients for VT switch
at around time of the crash & the graphics corruption.