From owner-freebsd-virtualization@freebsd.org Wed Jan 27 01:51:32 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 ED05FA6FE5B for ; Wed, 27 Jan 2016 01:51:31 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7667D1C3A for ; Wed, 27 Jan 2016 01:51:30 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: by mail-lf0-x231.google.com with SMTP id c192so117240861lfe.2 for ; Tue, 26 Jan 2016 17:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=olevole-ru.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=pG8fnj4Ni6tWm0SUdwdUDeTHS2FDHaWv3K4sFg3wQ7A=; b=PieZA65fhRb7SCY9TMtEhHF/3Jq21SPrvPQSZHUzv4kCZkGLwyFRVBceypWjv7gK/c WyxRylovj0ZUFSGNHdsk8KSP8nHD0k1kxSjaAqxYOM6fG8MXJq9CyFVeN8T073LSze+/ lxH+XqGeGjdxi26+LLJlnORt318iWwt+Te1fgq3/RoxlPuSGupIkPq4YS99jaR5x176x fAK/oXsnOTr9UpK/BtXYEGUEWDN+Mkg15OOBBUioHnCtfZ+G3d0znp1NKdY6lJr/k4aX dhHUOG1pzKtf3/zSnmK4m52EIZChTMAF6uPu4qTXGTm33QaVZ5E3xZb2cx26sxIQsSdC uFlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding:content-type; bh=pG8fnj4Ni6tWm0SUdwdUDeTHS2FDHaWv3K4sFg3wQ7A=; b=m6nRHpQbE7ftSEv80awQ8D/39dAsl5av5Bw4O48D6LZ2Wsfb33VZmy3OQb2LIzUSJn ITGxF+lJotRjiPJg6SsGZIuJSBW+8C8k5rJHTUlainyzmonrL3fBsRNmtpPBSGRg8HWE 07yFSremeUQJgLoDHaLTvpY/X5CsXouKhOk29dDBk9kpeG6C22UNuh6BJk6Cq0YIwsP5 sUtplF84G/25Zb0RAJjLu7jMNggjk16ArtyIBwLFwpuKWahI7x3XacZn7ra4XanKUFR8 WUVBs6ijknkO703pQCJ9rCFGdnlvDkhw3AP46FsMQZwwDJGNjsRHzu2AXl6FTfZMKlFa q0Ug== X-Gm-Message-State: AG10YOTFJr5i/QiBfmtaP0FS5Tv5sI1sPsUQxXPIxVeqagFxfPSwJfibKj/F0p0Nvuwt4w== X-Received: by 10.25.20.221 with SMTP id 90mr9792163lfu.98.1453859488663; Tue, 26 Jan 2016 17:51:28 -0800 (PST) Received: from gizmo.my.domain (95-55-91-16.dynamic.avangarddsl.ru. [95.55.91.16]) by smtp.gmail.com with ESMTPSA id um4sm506689lbb.1.2016.01.26.17.51.27 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jan 2016 17:51:28 -0800 (PST) From: Oleg Ginzburg To: users@dragonflybsd.org, freebsd-virtualization@freebsd.org Subject: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve Date: Wed, 27 Jan 2016 04:51:28 +0300 Message-ID: <9893747.yFCcEWVR7f@gizmo.my.domain> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 27 Jan 2016 01:51:32 -0000 Hello, I do not know whose it is a problem - DragonFlyBSD vtnet(4) driver or FreeBSD bhyve(4), so I decided to send on both maillist. I've try to boot DragonFlyBSD 4.4 in bhyve. All goes well, however, there is no network interface. During boot i see: -- virtio_pci0: port 0x2000-0x201f mem 0xc0000000-0xc0001fff irq 5 at device 2.0 on pci0 virtio_pci1: port 0x2020-0x203f mem 0xc0002000-0xc0003fff irq 6 at device 3.0 on pci0 vtnet0: on virtio_pci1 virtio_pci1: host features: 0x11018020 virtio_pci1: negotiated features: 0x11018020 virtio_pci1: cannot allocate interrupts vtnet0: cannot allocate virtqueues device_probe_and_attach: vtnet0 attach returned 6 -- pciconf inside DFLY: -- virtio_pci1@pci0:0:3:0: class=0x020000 card=0x00011af4 chip=0x10001af4 rev=0x00 hdr=0x00 vendor = 'Red Hat, Inc' device = 'Virtio network device' class = network subclass = ethernet -- Boot processing : https://youtu.be/iV1eZxEvj0c bhyve executed with follow settings: /usr/sbin/bhyve -c 1 -m 4294967296 -A -H -P -s 0:0,hostbridge -s 2:0,virtio- rnd -s 3:0,virtio-net,tap0 ... What can be done to correct this error ?