Avi Kivity wrote: > Jan Kiszka wrote: >> Jan Kiszka wrote: >> >>> Hi, >>> >>> I'm currently facing problems to get kvm working with -no-kvm-irqchip. >>> It used to be fine up to kvm-71, but with latest git my Linux guest >>> stalls during early boot: >>> >>> [ 22.631200] Freeing unused kernel memory: 324k freed >>> [ 22.857098] SCSI subsystem initialized >>> [ 22.892601] scsi0 : ata_piix >>> [ 22.903604] scsi1 : ata_piix >>> [ 22.904473] ata1: PATA max MWDMA2 cmd 0x00000000000101f0 ctl >>> 0x00000000000103f6 bmdma 0x000000000001c000 irq 14 >>> [ 22.917692] ata2: PATA max MWDMA2 cmd 0x0000000000010170 ctl >>> 0x0000000000010376 bmdma 0x000000000001c008 irq 15 >>> >>> This seems to be a kernel-side issue, replacing the module set with the >>> one that came with -71 fixes the issue. Maybe due to >>> vmx_complete_interrupts refactoring? >>> >> >> Looks like my suspect was right: Kicking vmx_complete_interrupts out of >> vmx_vcpu_run makes -no-kvm-irqchip work again. >> >> Avi, could it be that 1c0f4f5011829dac96347b5f84ba37c2252e1e08 left >> do_interrupt_requests outdated behind? Or is vmx_complete_interrupts >> incorrectly queuing interrupts in the -no-kvm-irqchip case? >> >> > > I thought I tested out -no-kvm-irqchip, but apprently not well enough. > I'll try to see what went wrong. Should this issue have been fixed meanwhile? I just gave latest git a try and - as far as I recall my tests before holiday correctly - things look the same. At least some Linux 2.6.23 kernel still hangs here during early boot with -no-kvm-irqchip. Jan