From owner-freebsd-xen@freebsd.org Fri Jul 31 15:01:11 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A8199AF744 for ; Fri, 31 Jul 2015 15:01:11 +0000 (UTC) (envelope-from prvs=6471f8e05=roger.pau@citrix.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 74C611D66 for ; Fri, 31 Jul 2015 15:01:11 +0000 (UTC) (envelope-from prvs=6471f8e05=roger.pau@citrix.com) Received: by mailman.ysv.freebsd.org (Postfix) id 733869AF743; Fri, 31 Jul 2015 15:01:11 +0000 (UTC) Delivered-To: xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72CB49AF742 for ; Fri, 31 Jul 2015 15:01:11 +0000 (UTC) (envelope-from prvs=6471f8e05=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AAC71D65 for ; Fri, 31 Jul 2015 15:01:10 +0000 (UTC) (envelope-from prvs=6471f8e05=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.15,585,1432598400"; d="scan'208";a="289838299" Message-ID: <55BB8DB2.6040705@citrix.com> Date: Fri, 31 Jul 2015 17:01:06 +0200 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Karl Pielorz , Subject: Re: Boot FreeBSD 10 in HVM mode under Xen? References: <55BB8392.4050000@citrix.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-DLP: MIA2 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 31 Jul 2015 15:01:11 -0000 El 31/07/15 a les 16.38, Karl Pielorz ha escrit: > > > --On 31 July 2015 16:17 +0200 Roger Pau Monné wrote: > >> This is a bug then. You should be able to boot without XENHVM/xenpci, >> and get a pure HVM guest with no PV devices at all. > > I'm just setting up another less critical system to reproduce it. To > confirm, I just take GENERIC and remove 'XENHVM' and 'xenpci', and it > should boot without PV. > > I'll post the results / panic & exact versions when I get it (though > some goes off the top of the console = could be interesting). Could you setup the serial console on FreeBSD following: https://www.freebsd.org/doc/handbook/serialconsole-setup.html Then add serial='pty' to your config file and create the domain using `xl create -c `. This way you can get the full serial output. > >> Since this seems to be getting quite popular (booting without PV >> devices), I think adding a sysctl to disable PV nics and PV hard drives >> would be interesting. We could still use some of the PV goodies, like >> the timer. > > Can you technically have a system that has HVM network (i.e. realtek) > but still has disk PV, and/or is agile? (i.e. can run xen-tools)? > > That'd kind of be a 'perfect' workaround for all our network woes > (openvpn, routing etc.) at the moment - even if the performance of HVM > re0 isn't as good as a PV xn0 Yes, this is certainly possible. IIRC I posted a patch to the freebsd-xen mailing list in order to do that. I will try to find/refresh it and post it again so you can try it. It might have to wait until Monday however, since I'm quite busy today. Roger.