From owner-freebsd-xen@FreeBSD.ORG Mon Jan 6 11:33:31 2014 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88795D6 for ; Mon, 6 Jan 2014 11:33:31 +0000 (UTC) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0910B1695 for ; Mon, 6 Jan 2014 11:33:30 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id x18so9852684lbi.11 for ; Mon, 06 Jan 2014 03:33:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=BHCU8QxWQB+7yKHp3kswSx7pa3p/IlbprJea1h0acGc=; b=DdbUFy55oUiEOrAgNp1hXpVrmwRCOX9BBiFMFB8koI5jaodYewU8cUbga6B1KVad9k 7YQJuIT1nf3RnUrzNT7uThiV/+pAUPasZSdTheVf7wg2jieYrH9o79kpscTch69107xS S/V3PkR5wAI9Ztq4B2FGz0eU9gv76hBzvHu85Je4krIEHRKlrJ+LVBoYwMsCLxaYepZS KvfgWa66f3miSQCRw6Zpu3zf6L94a2xv8rlkckhXJTR7a1IEpgO8lgKq2jm4n8tTcF7J Dwhc8+RTdmX4YWXnGNCdj1+k4Q3OEXwX29eA8+DYGMpeweybNCW49f0mRImINTHSZQFF /E/w== X-Gm-Message-State: ALoCoQkBir3BKZYqc9T8pgwDc3+Byn/RDu3Li8F4K6LLWMM7n2Lw2ZZDkEhn2JAIfAycVA66A48T X-Received: by 10.112.13.169 with SMTP id i9mr197869lbc.73.1389008009013; Mon, 06 Jan 2014 03:33:29 -0800 (PST) Received: from [192.168.42.157] ([195.69.14.50]) by mx.google.com with ESMTPSA id rb4sm42585872lbb.1.2014.01.06.03.33.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 03:33:27 -0800 (PST) Message-ID: <52CA9481.4090703@linaro.org> Date: Mon, 06 Jan 2014 11:33:21 +0000 From: Julien Grall User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , freebsd-xen@freebsd.org, freebsd-current@freebsd.org, xen-devel@lists.xen.org, gibbs@freebsd.org, jhb@freebsd.org, kib@freebsd.org, julien.grall@citrix.com Subject: Re: [Xen-devel] [PATCH v9 15/19] xen: create a Xen nexus to use in PV/PVH References: <1388677433-49525-1-git-send-email-roger.pau@citrix.com> <1388677433-49525-16-git-send-email-roger.pau@citrix.com> <52C9D4CA.6070403@linaro.org> <52CA78DE.9060502@citrix.com> In-Reply-To: <52CA78DE.9060502@citrix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 11:33:31 -0000 On 01/06/2014 09:35 AM, Roger Pau Monné wrote: > On 05/01/14 22:55, Julien Grall wrote: >> >> >> On 01/02/2014 03:43 PM, Roger Pau Monne wrote: >>> Introduce a Xen specific nexus that is going to be in charge for >>> attaching Xen specific devices. >> >> Now that we have a xenpv bus, do we really need a specific nexus for Xen? >> We should be able to use the identify callback of xenpv to create the bus. >> >> The other part of this patch can be merged in the patch #14 "Introduce >> xenpv bus and a dummy pvcpu device". > > On x86 at least we need the Xen specific nexus, or we will fall back to > use the legacy nexus which is not what we really want. > Oh right, in any case can we use the identify callback of xenpv to add the bus? With this solution xenpv can add itself no matter FreeBSD use the generic nexus or the nexus Xen, of course with a check if we are running on Xen :). For instance, on ARM side I don't plan to have a specific Xen nexus. Cheers, -- Julien Grall