From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 29 19:44:04 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 88EE8988; Tue, 29 Jul 2014 19:44:04 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (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 DA5BA2B5A; Tue, 29 Jul 2014 19:44:03 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id mc6so117475lab.34 for ; Tue, 29 Jul 2014 12:44:01 -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=1aeKl4lPwrlPPtEJ6NAuvI42U8LncocLrN+yUB/udM4=; b=aB4Qo8le2bjDXvIT88UNlxdlgVJ13PG9OHvGBLmgNg2AJ3zWjOvPAICJPxZUnzPEeR 7a5R0uccyeTsE91n5cNN9nLzezBOHhmVaj3rfTpEOLqgAJPxRPJ865pShT6tvXrxENwn L/M8B0xsbYzHqmsCE88xunWJGan8ExlV0RlsfFIipXkSFg2yFTNc9VJcZNA/UdHio36p n7+5Die5szWhcwNr18uKsE76iq5wMRQ0BAbVGEayTJhMO6LcJlEMuyfQUTnk7+K2kk7b P8zV4DaMtaZk3t1qSDPvCQxEEx/o6GPGp07B7xLnhj/Irkrv+cK/RWEaLsTzB/TS8Aw6 0Z3w== MIME-Version: 1.0 X-Received: by 10.152.37.228 with SMTP id b4mr4653399lak.95.1406663041824; Tue, 29 Jul 2014 12:44:01 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.225.34 with HTTP; Tue, 29 Jul 2014 12:44:01 -0700 (PDT) Date: Tue, 29 Jul 2014 12:44:01 -0700 X-Google-Sender-Auth: 8F2VloOjXAHj28WcqTl8FdLFcz0 Message-ID: Subject: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND From: Craig Rodrigues To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "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: Tue, 29 Jul 2014 19:44:04 -0000 Hi, I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/20140714/ Under MacOS X, I uncompressed the .vhd.xz file. I used VirtualBox, and created a VM. When I tried to attach the .vhd file to this VM, VirtualBox gave this error: VBOX_E_OBJECT_NOT_FOUND Any ideas? -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 29 19:48:58 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE9DEC82; Tue, 29 Jul 2014 19:48:57 +0000 (UTC) Date: Tue, 29 Jul 2014 15:48:54 -0400 From: Glen Barber To: Craig Rodrigues Subject: Re: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND Message-ID: <20140729194854.GA1065@hub.FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sLLiYLJ99qSWoVIg" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "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: Tue, 29 Jul 2014 19:48:58 -0000 --sLLiYLJ99qSWoVIg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2014 at 12:44:01PM -0700, Craig Rodrigues wrote: > Hi, >=20 > I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz > from > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/= 20140714/ >=20 >=20 > Under MacOS X, I uncompressed the .vhd.xz file. I used VirtualBox, and > created a VM. When I tried to attach > the .vhd file to this VM, VirtualBox gave this error: >=20 > VBOX_E_OBJECT_NOT_FOUND >=20 > Any ideas? There are a few issues with how qemu-img creates the VHD. The use of qemu-img will very soon be not required, thanks to marcel@ adding VHD support to mkimg(1). In the meantime, can you try cloning the VHD disk, but instead of a dynamically-allocated image, set it to be a fixed-size image? I have had very sporadic success with this, so cannot guarantee it will work. The VMDK image, however, should work without issue, if you are unable to get the VHD image to work. Glen --sLLiYLJ99qSWoVIg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJT1/qmAAoJELls3eqvi17QxCEQAIiMGCQ9+ANw0GE10iE2SCkq 8i5cjGiiugpFGjm4zICg0mah9wTqekNl+yTzYCPrigToZkNVaDmhJBIVqYbVo3Ac BvU5l4alGp2ddj7QWpvoiRpO0Wi48VTTUSeeuu/ebfmV7X5JwC6XKEsi7XXemjcK 4zAUVwaBdqiDzD750s4LST9kR+1e/AxnUF/9OHcK2lY9sFhkk/HV29CrHxt3ua4p m9PwD77c8w2OPO7GET2wcURR6VlBAR/JRazwPatIRVfaMGlzwZZuvc7EATr1YcHu HM4cbY3QTne9/piZn3PvwOFbUoUWV65FB1/VjZzeMtxDEr6l+9IMD+oLReCVWSan 0iflIZ9viru0s1jkFtBSycciaYTRoEgUEuxgKX8WDGnk55zY5Y9fUwmjlzZ8YODS ZlEhlbbBCZ/MpiZ8KeZ47WzagC1rY38/mIbSUU2P3ow7xO0eZYgiuKEpE4IZ8v4S fbLjVWCBvuZspEHUaNIv4QSi0kCbtwS50btwj8aoiLohOMTyJlg7vuIoyC1iBlSE htXBQmo7sbwDp1+EMvPBNcrKZEex1o4YNOQumYTtC3OsmS/4ACdK+hQ+GeLocyla ZqlaRkAf2UuGCu4lBm38gsy9CukM6wTt2gabBoHqvARbfqIrpTtVctn+IfLuBctU 7oECFu2GEm2/8lrJcXlL =KX+I -----END PGP SIGNATURE----- --sLLiYLJ99qSWoVIg-- From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 29 20:43:16 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 7050A59B; Tue, 29 Jul 2014 20:43:16 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (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 C110A229C; Tue, 29 Jul 2014 20:43:15 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id gl10so162626lab.40 for ; Tue, 29 Jul 2014 13:43:13 -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=JsXbLVX8pShR+CGtC9EudOvUQXZ8hNGmejVA/JHDg+Y=; b=ThezdFDHC0bTtRUlzF/FznpQFUJBfC3F265741tVz5eGiUAWNLgJlXbraEQ2owMIjI lrK23zfpnBNwrFMxr0RPO3mYMtMX1D2r3w1ZnIjkRAk8RJb4y2HQ62wKTF7rRCrWRm2C 8eF4kewrdJKffPD9+p9xb3EpcjyaISKB1Iz7gDeSuE2b2e0+JRfzi01XinUjNFyZaAMi lP7frZwxEXJJQMszk0k3Urxu2UQuBp87rVplFc+OQYK7sCXEynsoCoMNOGmzm1LqrUNX t4up1kzHaw/1CQOzkeOdpxC6yCC6qVJZ1pFImMB0gFHk4cpl0APpiEy6MD7RyHxZ4+9a uFlw== MIME-Version: 1.0 X-Received: by 10.112.93.75 with SMTP id cs11mr373798lbb.82.1406666593602; Tue, 29 Jul 2014 13:43:13 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.225.34 with HTTP; Tue, 29 Jul 2014 13:43:13 -0700 (PDT) In-Reply-To: <20140729194854.GA1065@hub.FreeBSD.org> References: <20140729194854.GA1065@hub.FreeBSD.org> Date: Tue, 29 Jul 2014 13:43:13 -0700 X-Google-Sender-Auth: kErwYnS3zahx9BWNXQGeUCB8DJ0 Message-ID: Subject: Re: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND From: Craig Rodrigues To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "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: Tue, 29 Jul 2014 20:43:16 -0000 On Tue, Jul 29, 2014 at 12:48 PM, Glen Barber wrote: > On Tue, Jul 29, 2014 at 12:44:01PM -0700, Craig Rodrigues wrote: > > Hi, > > > > I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz > > from > > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/20140714/ > > > > > > Under MacOS X, I uncompressed the .vhd.xz file. I used VirtualBox, and > > created a VM. When I tried to attach > > the .vhd file to this VM, VirtualBox gave this error: > > > > VBOX_E_OBJECT_NOT_FOUND > > > > Any ideas? > > There are a few issues with how qemu-img creates the VHD. The use of > qemu-img will very soon be not required, thanks to marcel@ adding VHD > support to mkimg(1). > > In the meantime, can you try cloning the VHD disk, but instead of > a dynamically-allocated image, set it to be a fixed-size image? I have > had very sporadic success with this, so cannot guarantee it will work. > > The VMDK image, however, should work without issue, if you are unable to > get the VHD image to work. > I don't know how to clone the VHD disk. Inside VirtualBox, I created a FreeBSD VM with no disks, and then attached the VHD image as a disk to this new VM. It wasn't working. However, I tried doing the same thing with the VMDK image, and that worked fine. If the new mkimg can create VHD files which import without problem into VirtualBox, that will be a huge improvement. -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 29 20:51:15 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 815008D0; Tue, 29 Jul 2014 20:51:14 +0000 (UTC) Date: Tue, 29 Jul 2014 16:51:11 -0400 From: Glen Barber To: Craig Rodrigues Subject: Re: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND Message-ID: <20140729205111.GC1065@hub.FreeBSD.org> References: <20140729194854.GA1065@hub.FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xcZCW6l6Uhoukq6i" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "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: Tue, 29 Jul 2014 20:51:15 -0000 --xcZCW6l6Uhoukq6i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2014 at 01:43:13PM -0700, Craig Rodrigues wrote: > On Tue, Jul 29, 2014 at 12:48 PM, Glen Barber wrote: >=20 > > On Tue, Jul 29, 2014 at 12:44:01PM -0700, Craig Rodrigues wrote: > > > Hi, > > > > > > I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz > > > from > > > > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd6= 4/20140714/ > > > > > > > > > Under MacOS X, I uncompressed the .vhd.xz file. I used VirtualBox, a= nd > > > created a VM. When I tried to attach > > > the .vhd file to this VM, VirtualBox gave this error: > > > > > > VBOX_E_OBJECT_NOT_FOUND > > > > > > Any ideas? > > > > There are a few issues with how qemu-img creates the VHD. The use of > > qemu-img will very soon be not required, thanks to marcel@ adding VHD > > support to mkimg(1). > > > > In the meantime, can you try cloning the VHD disk, but instead of > > a dynamically-allocated image, set it to be a fixed-size image? I have > > had very sporadic success with this, so cannot guarantee it will work. > > > > The VMDK image, however, should work without issue, if you are unable to > > get the VHD image to work. > > >=20 >=20 > I don't know how to clone the VHD disk. Inside VirtualBox, I created a > FreeBSD VM with no disks, > and then attached the VHD image as a disk to this new VM. It wasn't > working. >=20 It is a bit tricky (and non-intuitive), but if I remember correctly, it needs to be done from the Virtual Media manager. Attach the disk to a VM, then in the VMM, there should be an option to clone the disk image, which the next few steps will ask if you want to clone as a dynamic- or fixed- image. I don't have virtualbox available to me at the moment to give exact steps, though. > However, I tried doing the same thing with the VMDK image, and that worked > fine. >=20 Ok, good. > If the new mkimg can create VHD files which import without problem into > VirtualBox, that will be a huge improvement. Yes, this is the plan. Glen --xcZCW6l6Uhoukq6i Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJT2Ak/AAoJELls3eqvi17Q0P8P/1iGzqjKIPoY/ktI33NZAJEE Hh99aGmrMmq/LNEknno1D3fZjpGsNQoeLbqk660+rzKPMvVWgiDfGVHHuyirbgYP wZeSs7sRIFWfk3I5XKnwk9j5GWetFkrecyCt9il/7DJnjkN+8aML78w0jSJNOSKh hd0ftc45Y2SU+5UnOKBhn3NqSu+h/kYR1eliaZkaNsXuUBcuskNiWob9nZZ8ccxe XjmbsoiOEcyTK5T5I4vBl359tzh0ooQ3gEJSL0nC3cvjA8ecYTW8xTd2/jjFlVYn 6IZ3aygW78fvKtmWKVi+8AZ/k4ZzG7EvIunnNR1jjQBPEgWLmOSREpmr38KDcOfW SjQE+O9RMAO4rTa1VUfFCafqWhj4jwOn5QWOolYY142altQLjLnwYv3hRSafxSYv 3i4uZDqL0f4yGeQt1WkxEfAoqHoaCJ+bueFcQuen+01/aMUPPK0rN8lBusEHGEPj Dpda1lmyJEFQkqW8Ug876q2HgCrwmDtfmEM4UpgIFpMp7UI8/KrBsfFwRAw/8TCk LpEqM09/OHRgUSrVhZs3b15uuyCW18oh+PaFzVMV7YWoqn76g91zj5vOnSMBix43 fNXbZtJRp5rzl91wDVw20fDyZaVMo95yUay/aSwgvUGidOkzEO9KrOUflnek9Xkg zFpGZnrIXx7R9cP6kSxh =c9Qv -----END PGP SIGNATURE----- --xcZCW6l6Uhoukq6i-- From owner-freebsd-virtualization@FreeBSD.ORG Thu Jul 31 17:55:26 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 DB1C4AD0; Thu, 31 Jul 2014 17:55:25 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::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 86B8F21AF; Thu, 31 Jul 2014 17:55:25 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id j15so2690592qaq.15 for ; Thu, 31 Jul 2014 10:55:24 -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=nZ0EqS5LPUE2vIoVzuGuMjnhUqpiH+HWQ8tTDQHpKzA=; b=FZbvV+TgXpdR7KDTY9An35zbM8+sgNtvbwMW3vUmPdHKxH2wjQCBfkNccHWTlZfK8v 8KZegph+5gxLilM3HCNlRVpcy6656T45Ikd6pA3VvN0Xr3jnmqDOWUwkuGrl1buqKl8E Uy+OHD51agZ+x4PejojPO1Rpsmmdsovmc03ml4e1RbQz5nNygLogU9oV+UBeHMkIe1Bn +HIlQwT11oWX+GEJhWy8avF5P46/Lcp3nBU+Rk9R4e4NGy1qNW4zG6TB5/F2OGIo1Jqc 5iKci6SkR8SXjhog+YmjsCCzZn6D8Ci+kALeExfcVud4+3T+JxqiHd6S2yD/7fJ410Hv 1PwQ== MIME-Version: 1.0 X-Received: by 10.140.25.226 with SMTP id 89mr19975758qgt.62.1406829323617; Thu, 31 Jul 2014 10:55:23 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.140.30.230 with HTTP; Thu, 31 Jul 2014 10:55:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 Jul 2014 10:55:23 -0700 X-Google-Sender-Auth: usdsVOxtgryj6VuzH_XA9rzayHE Message-ID: Subject: Re: BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-current Current 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, 31 Jul 2014 17:55:26 -0000 Hi, Thanks to Cao Pham at iXsystems, video for this presentation has been posted online: https://www.youtube.com/watch?v=LRLV_SZo6Sw -- Craig On Mon, Jun 30, 2014 at 5:30 PM, Craig Rodrigues wrote: > Hi, > > On July 10, 2014, in Mountain View, California, I will be giving a brief > tech talk on: > > "libvirt virtualization API for controlling bhyve virtual machines" > > I have been testing the extensions that Roman Bogorodskiy < > novel@freebsd.org> > has made to the lbivirt library for supporting bhyve. I will talk about > my experiences with libvirt and bhyve. > > Here are more details about the talk plus directions to the location: > > http://www.meetup.com/BAFUG-Bay-Area-FreeBSD-User-Group/events/191061222/ > > Feel free to sign up on the meetup site and attend if you are in the area! > -- > Craig >