On 2011-12-06 20:38, Michael Tokarev wrote: > [Removed some people from the Cc list] > > On 06.12.2011 22:45, Michael Tokarev wrote: > [] >>> git://git.kiszka.org/qemu-kvm.git queues/kvm-irqchip >> >> This tree does not boot for me at all (on regular x86-64 setup) - >> it stays in bios after "Booting from hard disk" with 100% CPU >> usage. > > This happens since > > commit 1ae1cec76a205446e6b4e5600ad0af450f7c0b5e > Author: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > Date: Sun Oct 16 19:38:22 2011 +0200 > > ioapic: Introduce backend/frontend infrastructure for KVM reuse > > Also, with this > > commit 063e1bea9b0c79bda48c9e82552c5c6c83d03cf7 > Author: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > Date: Sat Oct 15 11:49:47 2011 +0200 > > kvm: Introduce core services for in-kernel irqchip support > > the whole thing segfaults at startup: > > (gdb) ru -monitor stdio -m 1G -netdev type=tap,ifname=tap-kvm1,script=no,downscript=no,id=n -device rtl8139,netdev=n,mac=52:54:00:12:34:57 -drive file=/stage/win/dist/t.raw,if=ide,cache=unsafe -vga std -usbdevice tablet -enable-kvm > ... > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffff5670c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > (gdb) bt > #0 0x00007ffff5670c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > #1 0x00005555557abb3d in ioapic_init (dev=0x555556849f60) > at /build/kvm/git/hw/ioapic_common.c:92 > #2 0x00005555556a0a85 in sysbus_device_init (dev=0x555556849f60, > base=0x555555be7200) at /build/kvm/git/hw/sysbus.c:133 > #3 0x00005555556df670 in qdev_init (dev=0x555556849f60) > at /build/kvm/git/hw/qdev.c:293 > #4 0x00005555556dfa8a in qdev_init_nofail (dev=0x555556849f60) > at /build/kvm/git/hw/qdev.c:387 > #5 0x00005555557f9bc2 in ioapic_init (gsi_state=0x55555683ff70) > at /build/kvm/git/hw/pc_piix.c:63 > #6 0x00005555557f9f76 in pc_init1 (system_memory=0x55555641a1b0, > system_io=0x55555641a2b0, ram_size=1073741824, > boot_device=0x7fffffffea30 "cad", kernel_filename=0x0, > kernel_cmdline=0x55555586fbff "", initrd_filename=0x0, cpu_model=0x0, > pci_enabled=1, kvmclock_enabled=1) at /build/kvm/git/hw/pc_piix.c:166 > #7 0x00005555557fa425 in pc_init_pci (ram_size=1073741824, > boot_device=0x7fffffffea30 "cad", kernel_filename=0x0, > kernel_cmdline=0x55555586fbff "", initrd_filename=0x0, cpu_model=0x0) > at /build/kvm/git/hw/pc_piix.c:245 > #8 0x00005555556b99ca in main (argc=16, argv=0x7fffffffeb58, > envp=0x7fffffffebe0) at /build/kvm/git/vl.c:3351 > (gdb) frame 1 > #1 0x00005555557abb3d in ioapic_init (dev=0x555556849f60) > at /build/kvm/git/hw/ioapic_common.c:92 > 92 if (strcmp(b->name, s->backend_name) == 0) { > (gdb) p b->name > $1 = 0x55555588588d "QEMU" > (gdb) p s->backend_name > $2 = 0x0 > (gdb) _ > How embarrassing. Messed something up, maybe during rebase, and forgot to retest non-irqchip mode. Will fix and repost. But -machine pc,accel=kvm,kernel_irqchip=on (instead of -enable-kvm) should work. Jan
Attachment:
signature.asc
Description: OpenPGP digital signature