Re: Reconciling qemu-kvm and qemu's PIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2012-02-28 20:50, Avi Kivity wrote:
> On 02/28/2012 04:42 PM, Avi Kivity wrote:
> 
> <snip>
> 
> I'm getting a crash now:
> 
> #0  0x00007ffff4ea0285 in raise    () from /lib64/libc.so.6
> #1  0x00007ffff4ea1b9b in abort    () from /lib64/libc.so.6
> #2  0x00007ffff4e98e9e in __assert_fail_base ()    from /lib64/libc.so.6
> #3  0x00007ffff4e98f42 in __assert_fail    () from /lib64/libc.so.6
> #4  0x000055555571c69b in qdev_connect_gpio_out    (dev=0x555556913a70,
> n=0, pin=0x5555568ef770) at /home/tlv/akivity/qemu/hw/qdev.c:297
> #5  0x000055555582beae in pit_init (bus=0x5555568d5610,    base=64,
> isa_irq=-1, alt_irq=0x5555568ef770) at /home/tlv/akivity/qemu/hw/i8254.h:85
> #6  0x000055555582ebbc in pc_basic_device_init
> (isa_bus=0x5555568d5610,    gsi=0x5555568cadb0,
> rtc_state=0x7fffffffdea0, floppy=0x7fffffffdea8, no_vmport=false)
>     at /home/tlv/akivity/qemu/hw/pc.c:1182
> #7  0x000055555582f454 in pc_init1 (system_memory=0x55555646f270,
> system_io=0x55555646f360, ram_size=1073741824,
> boot_device=0x7fffffffe300 "cad", kernel_filename=0x0,   
>     kernel_cmdline=0x5555558baa12 "", initrd_filename=0x0,
> cpu_model=0x0, pci_enabled=1, kvmclock_enabled=1) at
> /home/tlv/akivity/qemu/hw/pc_piix.c:256
> #8  0x000055555582f8d7 in pc_init_pci (ram_size=1073741824,
> boot_device=0x7fffffffe300 "cad", kernel_filename=0x0,
> kernel_cmdline=0x5555558baa12 "", initrd_filename=0x0,
>     cpu_model=0x0) at /home/tlv/akivity/qemu/hw/pc_piix.c:335
> #9  0x00005555556f1349 in main (argc=6,    argv=0x7fffffffe428,
> envp=0x7fffffffe460) at /home/tlv/akivity/qemu/vl.c:3431
> 
> Looks like isa-pit has zero gpio pins, so it fails when crashing.  I
> must have mismerged it, but where is the gpio pin count set?

In pit_initfn. Does -no-kvm-irqchip work fine? It's a bit tricky to
discuss this without seeing your code.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux