From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42118C2BCA1 for ; Fri, 7 Jun 2019 15:08:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A0B1208C3 for ; Fri, 7 Jun 2019 15:08:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729190AbfFGPIk (ORCPT ); Fri, 7 Jun 2019 11:08:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:44850 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728446AbfFGPIj (ORCPT ); Fri, 7 Jun 2019 11:08:39 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BD098AEB3; Fri, 7 Jun 2019 15:08:38 +0000 (UTC) Subject: Re: [RFC PATCH 06/16] x86/xen: add shared_info support to xenhost_t To: Ankur Arora , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: pbonzini@redhat.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, sstabellini@kernel.org, joao.m.martins@oracle.com References: <20190509172540.12398-1-ankur.a.arora@oracle.com> <20190509172540.12398-7-ankur.a.arora@oracle.com> From: Juergen Gross Message-ID: <97d41abd-3717-1f78-4d5e-dfa74261e9c7@suse.com> Date: Fri, 7 Jun 2019 17:08:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190509172540.12398-7-ankur.a.arora@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09.05.19 19:25, Ankur Arora wrote: > HYPERVISOR_shared_info is used for irq/evtchn communication between the > guest and the host. Abstract out the setup/reset in xenhost_t such that > nested configurations can use both xenhosts simultaneously. I have mixed feelings about this patch. Most of the shared_info stuff we don't need for the nested case. In the end only the event channels might be interesting, but we obviously want them not for all vcpus of the L1 hypervisor, but for those of the current guest. So I think just drop that patch for now. We can dig it out later in case nesting wants it again. Juergen