From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH v3 1/8] ARM: KVM: Initial skeleton to compile KVM support Date: Sun, 05 Jun 2011 17:14:18 +0200 Message-ID: <4DEB9D4A.9060702@web.de> References: <20110603150318.17011.82777.stgit@ubuntu> <4DE8FE38.6030405@siemens.com> <4DE90397.5080801@siemens.com> <4DEB74DA.2040909@redhat.com> <4DEB8F22.1020802@web.de> <4DEB9033.9060109@redhat.com> <4DEB998E.1010805@web.de> <4DEB9C60.1030001@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC2E40A55E864D24364814412" Cc: Christoffer Dall , catalin.marinas@arm.com, android-virt@lists.cs.columbia.edu, s.raho@virtualopensystems.com, a.motakis@virtualopensystems.com, c.dall@virtualopensystems.com, kvm@vger.kernel.org, a.costa@virtualopensystems.com To: Avi Kivity Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:53258 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752166Ab1FEPPH (ORCPT ); Sun, 5 Jun 2011 11:15:07 -0400 In-Reply-To: <4DEB9C60.1030001@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC2E40A55E864D24364814412 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2011-06-05 17:10, Avi Kivity wrote: > On 06/05/2011 05:58 PM, Jan Kiszka wrote: >> > >> > Note that with KVM_SET_GSI_ROUTING (bad name for ARM...) we can eve= n >> > choose if an irq line is connected to a kernel-emulated interrupt >> > controller or to the core's irq input. >> >> Makes some sense: Add KVM_IRQ_ROUTING_CPU, and kvm_irq_routing_entry's= >> union would require some struct kvm_irq_routing_cpu containing the >> target identifier. >=20 > Right. Note it would be the default, so no need to implement > KVM_SET_GSI_ROUTING just yet. >=20 > An additional advantage is that this is a vm ioctl, not a vcpu ioctl, s= o > no need to interrupt the vcpu thread in userspace in order to queue an > interrupt. Of course, it still happens in the kernel, but it's easier > for userspace to implement its device model this way. So supporting this over existing archs would have some benefits as well, though a bit smaller if in-kernel irqchip is already implemented. Jan --------------enigC2E40A55E864D24364814412 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.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEUEARECAAYFAk3rnUoACgkQitSsb3rl5xS9egCfevMKkzlL4N6A6rv7a5xKti3F IWoAmJa9ILgme/EKgLuKvKXck1EF558= =runq -----END PGP SIGNATURE----- --------------enigC2E40A55E864D24364814412--