From owner-freebsd-virtualization@freebsd.org Fri Jul 8 03:03:40 2016 Return-Path: Delivered-To: freebsd-virtualization@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 B753DB836F5 for ; Fri, 8 Jul 2016 03:03:40 +0000 (UTC) (envelope-from public@plane.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74EF1168E for ; Fri, 8 Jul 2016 03:03:40 +0000 (UTC) (envelope-from public@plane.gmane.org) Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bLM4h-0006jJ-G2 for freebsd-virtualization@freebsd.org; Fri, 08 Jul 2016 05:03:31 +0200 Received: from onethreetwo.vfemail.net ([199.16.11.132] helo=vfemail.net) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLM4b-0006eI-8C for public-freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org; Fri, 08 Jul 2016 05:03:25 +0200 Received: (qmail 46993 invoked by uid 89); 8 Jul 2016 03:03:23 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Jul 2016 03:03:23 -0000 Received: (qmail 46957 invoked by uid 89); 8 Jul 2016 03:03:05 -0000 Received: by simscan 1.3.1 ppid: 46952, pid: 46954, t: 0.1020s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 8 Jul 2016 03:03:05 -0000 Received: (qmail 8664 invoked by uid 89); 8 Jul 2016 03:03:05 -0000 Received: by simscan 1.4.0 ppid: 8656, pid: 8661, t: 0.6166s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 8 Jul 2016 03:03:05 -0000 From: Jan Beich To: Peter Grehan Cc: "freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w\@public.gmane.org" Subject: Re: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve In-Reply-To: (Peter Grehan's message of "Wed, 6 Jul 2016 21:46:03 -0700") References: <9893747.yFCcEWVR7f@gizmo.my.domain> <56ABFE12.4060805@freebsd.org> <60sv-b0so-wny@vfemail.net> Date: Fri, 08 Jul 2016 05:03:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 08 Jul 2016 03:19:38 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 08 Jul 2016 03:03:40 -0000 Peter Grehan writes: > Hi Jan, > >>>> Any news since then? virtio-net and virtio-blk work fine if using Qemu + >>>> OVMF 20160418 (a8c39ba) on the same DragonFly disk image where Bhyve + >>>> BHYVE_UEFI_20160526.fd fails. >> >> VirtIO issue isn't specific to UEFI but also happens with Grub2. [...] >> $ bhyve -l com1,stdio -l bootrom,BHYVE_UEFI.fd -m 4G -s 0,hostbridge \ >> -s 31,lpc -s 4,virtio-blk,/dev/md0 -s 5,virtio-net,tap0 vm0 > > Dragonfly changed to allow single-vector MSI which fixes the issue: > > http://gitweb.dragonflybsd.org/dragonfly.git/commit/f41543e16b49e0294028d1f4bb5a5667694536f1 Tested v4.5.0.1295.gf41543 snapshot. It boots fine with virtio-blk and virtio-net. However, as soon one or more CPU is added together with AHCI enabled DragonFly hangs just before "Mounting root from ...". Try adding the following options to the quoted command line. -c 2 -s 3,ahci-cd,/dev/md0 -- Discovered with vm-bhyve which passes -s 3:0,ahci-cd,null.iso to UEFI VMs. ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!