From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 19 00:14:21 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88DA7FAB; Tue, 19 Aug 2014 00:14:21 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (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 DD1C63780; Tue, 19 Aug 2014 00:14:20 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id z11so4858120lbi.17 for ; Mon, 18 Aug 2014 17:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=JL9Ris/r63UX47GaPMtcO0YCAa7z6L02sKkQvA/3nso=; b=zjw5l+5qvZET82DEuaq4Ph1EApy4p3CXQMEr6AgSOUbTj6lmnRDCzhRzP79n8tWgnu D0LyfPwydXUjlt4IcfH4chmuXgzFKAT+qL7pt+l/tWyWBN+r5EUoh9tngZQYrjp7BTnX Pnw4dsVWKyPzvssaUyaATOsaSirh5rs7FDCI/u+AMojmzZIrUkdFHMcqFMgfJ2Abx2k6 J7O7XKp/iCvECUi64JKW3WE0RrSaJpJGKATt/8gZ2/s9bMpqYv/Lm5cjp5qemveTEit0 YhZNMCKcn9HQRob7llMSA45EMQgV6EelsQnHuEq6qpq4QoYXY8fyCb3Z0h6+3n5zzEjv WNjA== MIME-Version: 1.0 X-Received: by 10.112.84.75 with SMTP id w11mr31062082lby.24.1408407258581; Mon, 18 Aug 2014 17:14:18 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Mon, 18 Aug 2014 17:14:18 -0700 (PDT) Date: Mon, 18 Aug 2014 17:14:18 -0700 X-Google-Sender-Auth: 2BP8lJBInNpge5v_3KDvtG28GbM Message-ID: Subject: libvirt and rebooting of a bhyve VM From: Craig Rodrigues To: Roman Bogorodskiy Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 19 Aug 2014 00:14:21 -0000 Roman, I am using libvirt and bhyve according to this XML: http://libvirt.org/drvbhyve.html and it works great. I gave a presentation at BAFUG on this: http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve I have one question. If I reboot the bhyve VM started with libvirt with "shutdown -r now", the VM shuts down, but it does not restart. How can I get the machine to reboot with "shutdown -r now" when started with libvirt? Thanks -- Craig