Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp293878ybi; Fri, 7 Jun 2019 08:10:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwM8u0MQs0qkagy21X3QVk2jym2spG7itspmAQzcl8i0ky45fw4jYoBsJrJu2APk4XjwJBq X-Received: by 2002:a17:90a:2ec5:: with SMTP id h5mr5861504pjs.93.1559920213003; Fri, 07 Jun 2019 08:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559920212; cv=none; d=google.com; s=arc-20160816; b=DqxFPfWibU6GOgZez4RiJ943tOpUaQc58psbNqC0gEiauIviI3uafU52kgimBZYq8a P4K6IXRrbIRvC9aTIj5QLMFQ8JsdBgGkomyLNch5wQCa3OhFqot2D7c1bcMt/nW7Fk63 MwlbZ7AAE1EyuJgFH5wg3tqLkCt5muxzlZDDKw3qM4P7E94AVjZMjoov2wK7hJP+kVRe fZ3gO1yjULQEKXEle3/ITW2fbkTbnN8pOANFJrJPVFyLF8J/fX3T5ffGLDwF/dj6Pej+ RIV1ZeiHrbi54NJGKdyqdV/0dyu9z2awhwXxgHJJnHQgfT/p68L+J1spBfn7hR7Ayt1A 83Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UYmM4on/B7iMN1MwN1nmYyPRB0HVgvAGx6R74ruGGzU=; b=U9b2KXH0A/NK2w7AX9dzlDrJ6nVwsDVHkqcS3C6AqnfGiQgwDoscWN2aMUYy1Odnur hhJkFTHwg98l915XXBwgTUHk+B2rx0aOxesXkX8hFPxB4uuCyW6CJ2vD1vvqz0elCFAa 3RdZM29dLsY/scWbcOcqg7JcGAjU+zpKpfMcZ7gkk4g2Te/KjSzvj2EENeTyx8upZcGc RYroAUPqn+2tKpOeggjOrOzrC2jpVwg2JnMdMB5eZ2iRHZyEGr4Hl3YhusbURD5ScHEU BWAC1a5LGG7OtbF21q//ljKmnY4sAZhEWSioqyEO+xgS2OBQ83eV7GSDy25m/XTxaJ+x f/LQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g129si1925937pfb.181.2019.06.07.08.09.54; Fri, 07 Jun 2019 08:10:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729106AbfFGPIk (ORCPT + 99 others); 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