From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [REGRESSION?] -no-kvm-irqchip broken with kvm.git Date: Wed, 13 Aug 2008 10:05:06 +0200 Message-ID: <48A295B2.3060501@web.de> References: <4881A93E.5050402@web.de> <488396BE.9090909@web.de> <4885B8AA.50105@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig67624225DDB99C9C13EE25DA" Cc: kvm-devel To: Avi Kivity Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:59052 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753057AbYHMIFN (ORCPT ); Wed, 13 Aug 2008 04:05:13 -0400 In-Reply-To: <4885B8AA.50105@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig67624225DDB99C9C13EE25DA Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Jan Kiszka wrote: >> Jan Kiszka wrote: >> =20 >>> Hi, >>> >>> I'm currently facing problems to get kvm working with -no-kvm-irqchip= =2E >>> 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 t= he >>> one that came with -71 fixes the issue. Maybe due to >>> vmx_complete_interrupts refactoring? >>> =20 >> >> Looks like my suspect was right: Kicking vmx_complete_interrupts out o= f >> 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? >> >> =20 >=20 > 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 --------------enig67624225DDB99C9C13EE25DA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiilbYACgkQniDOoMHTA+nE9wCaAgcE7Y2u1tI1ODyRJaeZmv7i 8WwAnjtLxwjgW9ParGedVgPxN6Pmg+qn =htq6 -----END PGP SIGNATURE----- --------------enig67624225DDB99C9C13EE25DA--