From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory Haskins Subject: Re: [PATCH v2] Shared memory device with interrupt support Date: Tue, 19 May 2009 07:35:44 -0400 Message-ID: <4A129990.80603@gmail.com> References: <4A118ADB.30704@cs.ualberta.ca> <3D9CB4061D1EB3408D4A0B910433453C030BCA8AC7@inbmail01.lsi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE923A1F54CE1DA8F57E2DFF9" Cc: "Kumar, Venkat" , Cam Macdonell , "kvm@vger.kernel.org list" To: "Jayaraman, Bhaskar" Return-path: Received: from yw-out-2324.google.com ([74.125.46.31]:45273 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbZESLfq (ORCPT ); Tue, 19 May 2009 07:35:46 -0400 Received: by yw-out-2324.google.com with SMTP id 5so2355967ywb.1 for ; Tue, 19 May 2009 04:35:47 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE923A1F54CE1DA8F57E2DFF9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jayaraman, Bhaskar wrote: > Cam, is it somehow possible to generate a local APIC interrupt from one= VM to another? I guess it shouldn't be as the LAPIC interrupts generated= in one VM will go to the VCPUs of the same VM... > Regards, > Bhaskar. > =20 The closest thing to this is the irqfd+iosignalfd thing I mentioned the other day. With this model, a PIO/MMIO write in the src guest will directly inject an interrupt into the dst guest's LAPIC. However, as Avi points out, this is just an optimization. You can also do it by first taking a hop through each guests userspace as well. HTH -Greg --------------enigE923A1F54CE1DA8F57E2DFF9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoSmZAACgkQP5K2CMvXmqHc+ACgikOqZ8sAXBvKb1Pj1FBYE1C9 TOMAmQEyMbjtJmMfEVCCuIDEezSHye56 =qrWS -----END PGP SIGNATURE----- --------------enigE923A1F54CE1DA8F57E2DFF9--