Re: convert .vmdk files

2014-10-16 Thread Pete Wright


On 10/15/14 23:09, Benjamin Connelly wrote:
 qemu-img convert -f vmdk -O raw foo.vmdk foo.img
 
 Thank you!
 I've been struggling to get a 9.1 system running on bhyve (do to lack of
 virtio drivers in -RELEASE ISO's) and this enabled me to install 9.1 on
 VirtualBox, add the virtio kernel modules from ports, tweak configs, and
 qemu-img convert the .vdi file to a raw .img for bhyve!
 


oh that's great - glad i could help :)

I realized after sending my last message that the wiki.freebsd.org/bhyve
page is immutable under my account and i am unable to add content to it
(i'm not in the ContributorsGroup on the wiki) so if someone wouldn't
mind adding me to that group or point me in the right direction to do so
that'd be great!

cheers,
-pete

-- 
Pete Wright
p...@nomadlogic.org
twitter = @nomadlogicLA

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: convert .vmdk files

2014-10-16 Thread Pete Wright


On 10/16/14 09:51, Pete Wright wrote:
 
 
 On 10/15/14 23:09, Benjamin Connelly wrote:
 qemu-img convert -f vmdk -O raw foo.vmdk foo.img

 Thank you!
 I've been struggling to get a 9.1 system running on bhyve (do to lack of
 virtio drivers in -RELEASE ISO's) and this enabled me to install 9.1 on
 VirtualBox, add the virtio kernel modules from ports, tweak configs, and
 qemu-img convert the .vdi file to a raw .img for bhyve!

 
 
 oh that's great - glad i could help :)
 
 I realized after sending my last message that the wiki.freebsd.org/bhyve
 page is immutable under my account and i am unable to add content to it
 (i'm not in the ContributorsGroup on the wiki) so if someone wouldn't
 mind adding me to that group or point me in the right direction to do so
 that'd be great!
 

I have been granted contributor access to the wiki and have updated the
FAQ section.  Thanks everyone for helping me sort that out.

Cheers,
-pete

-- 
Pete Wright
p...@nomadlogic.org
twitter = @nomadlogicLA

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: convert .vmdk files

2014-10-15 Thread Pete Wright


On 10/14/14 22:35, Peter Grehan wrote:
 Hi Pete,
 10. Add filters for popular VM file formats (VMDK, VHD, QCOW2)

 i have some .vmdk files for systems currently running VirtualBox i would
 like to port to bhyve.  i also have a box running bhyve (10.1-rc2) that
 i can test patches and workflows as well.  what is the work required for
 this entail?
 
  What you have to do today is to convert the VMDK to a flat file, e.g.
 using qemu-img.
 

ok great - installing qemu-devel on my system and running the following
command worked great:

qemu-img convert -f vmdk -O raw foo.vmdk foo.img

i tested this by taking a current .vmdk file from my workstation i do
development and copied it over to my new bhyve hypervisor.

this may be a good candidate for addition to wiki.freebsd.org/bhyve -
i'll go ahead and add this if no one objects.

  Ideally bhyve would be able to read/write VM file formats directly,
 perhaps with some sort of filter on top of the existing file backend
 code. There's plenty of GPL code around for this, but bhyve requires
 code with a BSD license.
 

thanks for the info on that - i unfortunately that is beyond my
bandwidth/techinical capabilities at this point.  i'd love to help test
code out to do this once that day comes.

Cheers,
-pete

-- 
Pete Wright
p...@nomadlogic.org
twitter = @nomadlogicLA

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: convert .vmdk files

2014-10-15 Thread Peter Grehan

Hi Pete,


  What you have to do today is to convert the VMDK to a flat file, e.g.
using qemu-img.



ok great - installing qemu-devel on my system and running the following
command worked great:

qemu-img convert -f vmdk -O raw foo.vmdk foo.img

i tested this by taking a current .vmdk file from my workstation i do
development and copied it over to my new bhyve hypervisor.


 Good to hear.


this may be a good candidate for addition to wiki.freebsd.org/bhyve -
i'll go ahead and add this if no one objects.


 Please do :)

later,

Peter.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


convert .vmdk files

2014-10-14 Thread Pete Wright

hi - i noticed in the latest quarterly status report that an open todo item:

   10. Add filters for popular VM file formats (VMDK, VHD, QCOW2)

i have some .vmdk files for systems currently running VirtualBox i would 
like to port to bhyve.  i also have a box running bhyve (10.1-rc2) that 
i can test patches and workflows as well.  what is the work required for 
this entail?


cheers,
-pete


--
Pete Wright
p...@nomadlogic.org
twitter = @nomadlogicLA
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: convert .vmdk files

2014-10-14 Thread Peter Grehan

Hi Pete,

10. Add filters for popular VM file formats (VMDK, VHD, QCOW2)

i have some .vmdk files for systems currently running VirtualBox i would
like to port to bhyve.  i also have a box running bhyve (10.1-rc2) that
i can test patches and workflows as well.  what is the work required for
this entail?


 What you have to do today is to convert the VMDK to a flat file, e.g. 
using qemu-img.


 Ideally bhyve would be able to read/write VM file formats directly, 
perhaps with some sort of filter on top of the existing file backend 
code. There's plenty of GPL code around for this, but bhyve requires 
code with a BSD license.


later,

Peter.



___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org