From owner-freebsd-virtualization@freebsd.org Fri Oct 16 23:05:37 2015 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 A4D8CA16B87 for ; Fri, 16 Oct 2015 23:05:37 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward13o.cmail.yandex.net (forward13o.cmail.yandex.net [IPv6:2a02:6b8:0:1a72::1e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FA427E8 for ; Fri, 16 Oct 2015 23:05:36 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::27]) by forward13o.cmail.yandex.net (Yandex) with ESMTP id 84049218A9 for ; Sat, 17 Oct 2015 02:05:24 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 567281E0067 for ; Sat, 17 Oct 2015 02:05:24 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id IocDHNTb9m-5NLK8Y2Y; Sat, 17 Oct 2015 02:05:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-ForeignMX: US To: freebsd-virtualization@freebsd.org From: Boris Samorodov Subject: libvirt + zvol + bhyve: no storage pool with matching name X-Enigmail-Draft-Status: N1110 Message-ID: <562182B3.9040601@passap.ru> Date: Sat, 17 Oct 2015 02:05:23 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: Fri, 16 Oct 2015 23:05:37 -0000 Hi All, I try to use libvirt to run a zvol-backed vm. The vm starts just fine if run from a command line. But libvirt does not create a domain (raw file images work though). Here is the output: ----- % virsh create test.xml error: Failed to create domain from test.xml error: Storage pool not found: no storage pool with matching name 'zroot' ----- The relevant part from the config: ----- ----- The host: ----- zfs get type,volmode zroot/test NAME PROPERTY VALUE SOURCE zroot/test type volume - zroot/test volmode dev local % uname -a FreeBSD bb055.bsnet 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r289095: Sat Oct 10 05:10:17 MSK 2015 bsam@bb055.bsnet:/usr/obj/usr/src/sys/BB64X amd64 % pkg info -x virt libvirt-1.2.20 ----- Is it just me, a bug or something else? Thanks! -- WBR, bsam