From owner-freebsd-xen@freebsd.org Mon May 14 17:55:16 2018 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02B72DFD669 for ; Mon, 14 May 2018 17:55:16 +0000 (UTC) (envelope-from prvs=66538a94f=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.ctxuk.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70B747BEC1 for ; Mon, 14 May 2018 17:55:14 +0000 (UTC) (envelope-from prvs=66538a94f=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.49,400,1520899200"; d="scan'208";a="73133919" Date: Mon, 14 May 2018 18:55:05 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Pratyush Yadav CC: Subject: Re: Is it possible to run Xen in a VirtualBox VM? Message-ID: <20180514175505.ol4opdvdpkghx2zi@MacBook-Pro-de-Roger.local> References: <20180514170043.z3netvhmdmwnjmq3@MacBook-Pro-de-Roger.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180323 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.26 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, 14 May 2018 17:55:16 -0000 On Mon, May 14, 2018 at 10:49:43PM +0530, Pratyush Yadav wrote: > On Mon, May 14, 2018 at 10:30 PM, Roger Pau Monné wrote: > > On Mon, May 14, 2018 at 10:25:21PM +0530, Pratyush Yadav wrote: > >> Hi, > >> > >> I tried running Xen in a VirtualBox guest and it errors in the boot > >> process giving this error: > >> > >> xenoprof: Initialization failed. Intel processor family 6 model 60 is > >> not supported. > >> Dom0 has maximum 600 PIRQs > >> > >> *********************** > >> Panic on cpu 0: > >> Error creating domain 0 > >> *********************** > >> > >> So, is it even possible to run Xen in a VM? If it is, how can I fix > >> this problem? > > > > It's likely possible to run Xen + Linux Dom0 inside of VirtualBox, but > > it's almost certainly not possible to run Xen + FreeBSD inside of > > VirtualBox because it would require an emulated IOMMU, which I don't > > think VirtualBox provides. > > I am working on the Xen grant table handlers (for my Google Summer of > Code project [0]) , so do you think I would need to run Xen + FreeBSD > when testing? Yes, I think you will need to be able to run Xen + FreeBSD. You can probably manage to complete the first part using Xen + Linux and running FreeBSD as a guest, but you will need Xen + FreeBSD Dom0 for the second part (adding handlers for mapping operations used by the backend). > Also, how can I fix the error I'm currently getting about Intel > processor not being supported? Which error? Can you please paste the full log? Roger.