From owner-freebsd-virtualization@freebsd.org Wed Nov 4 20:56:55 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 B68CBA26778 for ; Wed, 4 Nov 2015 20:56:55 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 447A819AC for ; Wed, 4 Nov 2015 20:56:55 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by wmeg8 with SMTP id g8so120924363wme.0 for ; Wed, 04 Nov 2015 12:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZarenSH1jSJk/JOQRXhJwI8eM7gA3Tw5iORyjIdXf6c=; b=fsAx7XsMm/FhBt7WRTvtnNPvw4w0coS+3jJxNeiBv+AFRTEGcazZhOwG41vOOJ612g oJscJwpTErj2lKjFkQe+bR0qjIRoq7lvC/P8nj8CtSOZ3Pb/iZiqN5jw712LsDztFqQ1 1WCChZiitLa5prKUokwpn2kiSKR4IUVzrYSMeEfTr95H8SdVJDtS/SsOxixRGyQeKz5X o3ZlppVaDowRNggs1QIZl7a1RmjO8RRTybu7DNYt3qN0GqjDZhC7LVZ8SzbFwqUGj/ou DCLIipGLWiky1UKu5uhv0EqzHHmLAsuDQ2KOrZZW68awzhbWGjidDgp0Ssrr+AgNRImW E4Mw== MIME-Version: 1.0 X-Received: by 10.28.218.7 with SMTP id r7mr5432601wmg.17.1446670613759; Wed, 04 Nov 2015 12:56:53 -0800 (PST) Received: by 10.28.2.194 with HTTP; Wed, 4 Nov 2015 12:56:53 -0800 (PST) In-Reply-To: References: <20151103221930.GA50869@debnath.net> Date: Wed, 4 Nov 2015 21:56:53 +0100 Message-ID: Subject: Re: C bhyve administration tool From: Andreas Nilsson To: Trent Thompson Cc: Shawn Debnath , FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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, 04 Nov 2015 20:56:55 -0000 Well, in all honesty, getting vm managers to kvm equivalents ( ie virt-manager ) should not be a goal. virt-manager and friends are terrible. Please envision something better! Where it is hosted and what language it is written in doesn't really matter. Just my 2 cents. Best regards Andreas On Wed, Nov 4, 2015 at 4:36 PM, Trent Thompson wrote: > Going back to the original message in the thread, yes, I think the more the > merrier. > I created iohyve to solve a problem I had. I wanted to store my bhyve VM's > in ZFS. > Matt C. created vm-bhyve to solve the problem of storing VM's in a manager > that didn't use ZFS. > Matt and I have traded ideas back and forth even though we maintain > different managers. > I think that is the most important thing we need to focus on, working > together to get bhyve at the same level as KVM and other hypervisors. > > Throw it up on Github so we can prod and poke at it. I don't know much > about C, but I am always willing to learn. > > -Trent (@pr1ntf) > > On Wed, Nov 4, 2015 at 2:47 AM, Matt Churchyard via freebsd-virtualization > < > freebsd-virtualization@freebsd.org> wrote: > > > > Hello! > > > > > > Couple months ago I started writing a bhyve management tool in C for > > > our startup, in preparation for migration to FreeBSD for our servers. > > > The goal was to be able to create, drop, and auto-start/stop/restart > > > VMs, individually or all at once, and provide a plugin infrastructure > > > to expose some metrics / errors for reporting and aggregation. More > > > importantly it would detect errors/failures, report them and attempt > > > to restart the VM per assigned policy. > > > > > > The effort stalled due to some high priority work that crept in. > > > However, I am planning on restarting soon and wanted to check if there > > > was a need for something like this. I ran across Michael Dexter's > > > vmrc, and although its shell based, it does provide quite a bit of > > > features that we were looking for. There's also iohyve. And I heard > > > Peter and Neel are working on something as well. If there is interest, > > > this would be open sourced from the start. Or if there is an existing > > > effort that addresses these problems, I would love to contribute to > that > > project. > > > > > > Thoughts, comments, concerns, please share. > > > > > > > >vm-bhyve is most mature to this point IME, just don't use the ports > > version. > > > > > Adam > > > > Thanks Adam :) > > > > I could do with updating the port. Unfortunately this is my first porting > > experience so not exactly sure of the 'correct' channel to go through to > > get things updated. It took 2 months for my original port request to be > > addressed and I'm not sure re-opening that bug is the right way to do it. > > > > If anyone uses the port, the error that gets printed when running 'vm > > init' can be completely ignored. It's just trying to load any existing > > virtual switches from the switch configuration file, and complaining that > > the switch configuration file doesn't exist. Apart from that and a few > > newer features/tweaks, I don't think there's anything particularly > > show-stopping about the current port/package if people prefer installing > it > > that way to downloading from GitHub. > > > > Of course it would still be interesting to see a "real" bhyve management > > tool (possibly even an official one) written in C. > > > > Matt > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to " > > freebsd-virtualization-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >