From owner-freebsd-xen@freebsd.org Wed Jan 25 11:51:05 2017 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 12944CBF277 for ; Wed, 25 Jan 2017 11:51:05 +0000 (UTC) (envelope-from prvs=19161f0f8=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.ctxuk.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63F741DC; Wed, 25 Jan 2017 11:51:03 +0000 (UTC) (envelope-from prvs=19161f0f8=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.33,283,1477958400"; d="scan'208";a="39347490" Date: Wed, 25 Jan 2017 11:50:51 +0000 From: =?iso-8859-1?Q?=22Roger_Pau_Monn=E9=22?= To: Alexander Nusov CC: Akshay Jaggi , FreeBSD-Xen Subject: Re: Xen on FreeBSD 11: Cannot boot from QCOW2 properly (waiting for XENBUS, xenbusb_nop_confighook_cb) Message-ID: <20170125115051.sasgqxwgt47p7pwi@dhcp-3-221.uk.xensource.com> References: <20170124114444.xdl3qj35lwebkso7@dhcp-3-221.uk.xensource.com> <159d0f04b55.10bbf935114648.7927688075504705395@nfvexpress.com> <20170124165621.iidjypfoyp4ccysi@dhcp-3-221.uk.xensource.com> <159d55b6b65.dc9b3b1720453.5847395326743424395@nfvexpress.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <159d55b6b65.dc9b3b1720453.5847395326743424395@nfvexpress.com> User-Agent: NeoMutt/20170113 (1.7.2) X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 25 Jan 2017 11:51:05 -0000 On Wed, Jan 25, 2017 at 02:20:55PM +0300, Alexander Nusov wrote: > Got it, thanks. > > > > I found a workaround to avoid XENBUS delay in Linux DomUs by adding xen_platform_pci = 0 to the configuration file. > > So FreeBSD 11.0 Dom0 can boot Linux guests and Windows Server (FreeBSD DomU still stuck on xenbusb_nop_confighook_cb) from QCOW2 images (also works with QCOW2 overlay images) > On FreeBSD you can boot with QCOW2 by not setting "xen_platform_pci = 0" on the guest config file and adding "hw.xen.disable_pv_disks=1" to the /boot/loader.conf file of the guest. This will prevent FreeBSD from using the PV disk, but you will still get the PV network interfaces. > > Can you tell me please what is the disadvantage of not using /dev/xen/vbd devices and drivers in guests? like slow I/O? Slow IO only. > May it lead to data corruption? No.