From owner-freebsd-virtualization@freebsd.org Fri Mar 2 09:43:33 2018 Return-Path: Delivered-To: freebsd-virtualization@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 1A835F34C5F for ; Fri, 2 Mar 2018 09:43:33 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 849C677BB2 for ; Fri, 2 Mar 2018 09:43:32 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w229hTeC048201; Fri, 2 Mar 2018 10:43:29 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 23069571; Fri, 2 Mar 2018 10:43:29 +0100 (CET) Message-ID: <5A991CC0.4050101@omnilan.de> Date: Fri, 02 Mar 2018 10:43:28 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Ludovit Koren CC: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org Subject: Re: bhyve - windows7 installation References: <201803011406.w21E62La025815@pdx.rh.CN85.dnsmgr.net> <86606fir9q.fsf@gmail.com> In-Reply-To: <86606fir9q.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Fri, 02 Mar 2018 10:43:29 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2018 09:43:33 -0000 Bezüglich Ludovit Koren's Nachricht vom 01.03.2018 19:29 (localtime): >>>>>> Rodney W Grimes writes: > > >> >>>>> Harry Schmalzbauer writes: … > >> bhyve: passthru device 0/26/0 BAR 0: base 0xd4739000 or size 0x400 not page aligned > > ^^^^^ > >> > >> bhyve: failed to initialize BARs for PCI 0/26/0 > >> > >> > >> > >> pciconf -vlb ppt0@pci0:0:26:0 > >> ppt0@pci0:0:26:0: class=0x0c0320 card=0x17df103c chip=0x1e2d8086 rev=0x04 hdr=0x00 > >> vendor = 'Intel Corporation' > >> device = '7 Series/C216 Chipset Family USB Enhanced Host Controller' > >> class = serial bus > >> subclass = USB > >> bar [10] = type Memory, range 32, base 0xd4739000, size 1024, enabled > > ^^^^^^^^^^ > > > Due to the design of the IOMMU you can only manage IO space in page > > (4096 on x86) granually sizes. The device your trying to pass in > > has a 1024 byte memory region that is part of a 4096 byte page that > > may have other things in it. > > > At this time bhyve does not have any way to deal with this, though some > > other hypervisors have techniques that make this work. > > I used VirtualBox. I gave a try to bhyve. I am using FreeBSD for all work > I need. I need windows for some tasks: some VPN (I am not able to > connect with vpnc, openconnect, racoon, strongswan), Iphone backup, > etc. I am not able to use a single hypervisor for all of that. Could you > recommend one? I know your situation – I tried virtualbox-ose-3.2.8 (~8 yeras ago) and it's still running on my ancient workstation. Simply works for the one XP I need to have arround for some of the named reasons. Regarding USB-related requirements, I always found a device which made trouble – even with ESXi's generally very well working USB passthrough. So I use a USB-Device-IP-bridge. The one I import from USA to Europe, because of it's yet problemfree design/hardware/(Win-)software, can be found for ~US$55.- if you search for ID-DS0611-S1 – might be out of budget for private use though... I'm very curious about the workaround avg@ posted. For all server virtualization tasks I switched to bhyve(8) half a year ago for my local office. It simply works (for FreeBSD + Win2012R2 guests) and I'm happily finding workarounds for current limitations in favour of having a bare metal ZFS storage subsystem in parallel to the hypervisor :-) Thanks to all coders for this nice OS extention! -harry