From owner-freebsd-virtualization@FreeBSD.ORG Thu Jun 12 18:28:38 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 683B4B10; Thu, 12 Jun 2014 18:28:38 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8264029A9; Thu, 12 Jun 2014 18:28:37 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id w7so943038lbi.29 for ; Thu, 12 Jun 2014 11:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=KT5Xy5y8HC+5Aa4yiFtbfuon91wVek4GWFN3gJLJ99M=; b=Fy0+BCfaUgK2QzuLi6EpftnSxWJmRcI4RxAg29sKVn7xvl6YT9OCo9rn2hUZHla80t JLJU/UQYB055WaF65bc6VHJXp/D+HFnB9vzFk0eOtAlfn5aL5Cf+h9QczUcMK3uSUL0I O3I5AOmIjdjZRZHB2f4ErLQ4NnhNM/HPSi2KdJuqK1/blZrN82Noev/Nt+dXVxxtZVur MIxLfbMahzIW44KocBAo0kE9HRy8A1I2Zo0QbIgB67LIlRzrb45bAS4dt+yFI6Q4g+kv e4Bde0b80n9XwN72BpMdMQcQErRLoFkqw/0Lf9gKpfjqm+YMbvXhodkIxXBJmC90W8Zj KKwg== MIME-Version: 1.0 X-Received: by 10.112.50.2 with SMTP id y2mr2420479lbn.66.1402597715344; Thu, 12 Jun 2014 11:28:35 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Thu, 12 Jun 2014 11:28:35 -0700 (PDT) In-Reply-To: <20140612080057.GA93486@kloomba> References: <20140610175420.GC61743@kloomba> <20140610191439.GA220@kloomba> <20140611182101.GD2855@kloomba> <20140611192514.GE2855@kloomba> <20140612080057.GA93486@kloomba> Date: Thu, 12 Jun 2014 11:28:35 -0700 X-Google-Sender-Auth: JDwrMbCpR8oomfCGRbjjyGPF47c Message-ID: Subject: Re: libvirt and bhyve problems From: Craig Rodrigues To: Roman Bogorodskiy Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-testing@freebsd.org" , Roman Bogorodskiy , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 12 Jun 2014 18:28:38 -0000 On Thu, Jun 12, 2014 at 1:00 AM, Roman Bogorodskiy wrote: > > http://people.freebsd.org/~novel/misc/libvirt_port_updated.tgz > > With this setup, I'm able to get networking (e.g. virsh net-list works) > and updated the fix for the previous problem. I was able to start a VM > with that setup. I deleted the old port from my system and took your modified port, built it, and installed it. I followed my previous steps in: http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-June/002588.html and got this: 2014-06-12 18:23:54.328+0000: 34485605376: info : libvirt version: 1.2.5 2014-06-12 18:23:54.328+0000: 34485605376: error : dnsmasqCapsRefreshInternal:726 : Cannot check dnsmasq binary dnsmasq: No such file or directory 2014-06-12 18:23:54.328+0000: 34485605376: info : networkReloadFirewallRules:1750 : Reloading iptables rules 2014-06-12 18:23:54.328+0000: 34485605376: info : networkRefreshDaemons:1722 : Refreshing network daemons 2014-06-12 18:23:54.438+0000: 34485605376: error : virExec:417 : Cannot find 'pm-is-supported' in path: No such file or directory 2014-06-12 18:23:54.439+0000: 34485605376: warning : virQEMUCapsInit:948 : Failed to get host power management capabilities 2014-06-12 18:23:54.460+0000: 34485605376: info : virDomainObjListLoadAllConfigs:18249 : Scanning for configs in /usr/local/var/run/libvirt/qemu 2014-06-12 18:23:54.461+0000: 34485605376: info : virDomainObjListLoadAllConfigs:18249 : Scanning for configs in /usr/local/etc/libvirt/qemu 2014-06-12 18:23:54.560+0000: 34485605376: info : virDomainObjListLoadAllConfigs:18249 : Scanning for configs in /usr/local/etc/libvirt/bhyve 2014-06-12 18:23:54.560+0000: 34485605376: info : virDomainObjListLoadAllConfigs:18273 : Loading config file 'bhyve.xml' 2014-06-12 18:24:17.940+0000: 34485598208: error : virNetDevBridgeAddPort:399 : Unable to add bridge tap0 port vnet0: Invalid argument 2014-06-12 18:24:18.056+0000: 34485598208: error : virCommandWait:2426 : internal error: Child process (/usr/sbin/bhyvectl --destroy --vm=bhyve) unexpected exit status 255 -- Craig