From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754800AbcHSKt6 (ORCPT ); Fri, 19 Aug 2016 06:49:58 -0400 Received: from david.siemens.de ([192.35.17.14]:53672 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754240AbcHSKtc (ORCPT ); Fri, 19 Aug 2016 06:49:32 -0400 Subject: Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain To: alex.popov@linux.com, Paolo Bonzini References: <1470924138-17825-1-git-send-email-alex.popov@linux.com> <1325048698.1236199.1470933872152.JavaMail.zimbra@redhat.com> <54704ec6-4b74-9aa3-cccc-1fb7e2412f9a@linux.com> <8cfa4c43-85d1-462b-176d-c14bf2a0afb5@linux.com> <5aaeb0ec-fd16-ab28-3892-3c6a18165a30@linux.com> Cc: Thomas Gleixner , Christoph Hellwig , Ingo Molnar , Marc Zyngier , "H. Peter Anvin" , Andrew Morton , Kees Cook , Dmitry Vyukov , Jiang Liu , Jason Cooper , Radim Krcmar , Joerg Roedel , linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org From: Jan Kiszka Message-ID: Date: Fri, 19 Aug 2016 06:47:11 -0400 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <5aaeb0ec-fd16-ab28-3892-3c6a18165a30@linux.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-08-17 18:58, Alexander Popov wrote: > On 17.08.2016 17:36, Jan Kiszka wrote: >> On 2016-08-15 14:37, Paolo Bonzini wrote: >>> On 15/08/2016 13:51, Alexander Popov wrote: >>>> It seems to me that the idea of an irq_domain for interrupts injected >>>> by a hypervisor is quite generic. >>> >>> True, but all of Xen, KVM and VMware use PCI devices for this. >> >> So does Jailhouse. We have to have the code anyway because we need to >> keep Linux alive after taking over control. Thus it is actually easier >> to reuse the same logic for para-virtualized domains (non-root cells). > > Hello, Jan! Yes, I see. > > I can only say that Xen, KVM, VMware and Jailhouse happily use hypercalls, > which are a valid interface between a hypervisor and its guests. > > Positive Technologies hypervisor called Gvandra (named after a big Caucasus > mountain) tries to use only the hypercalls and avoid PCI device emulation > to become slimmer. [Hmm, naming something that's supposed to be slim after something that's rather big...] BTW, is there a user of this interface already publicly available? You didn't reference anything in your posting. Generally, infrastructure extensions without in-tree users aren't well received (in the best case). Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux