Page 1 of 1

Bitcraze Virtual Machine on Debian Stretch and libvirt

Posted: Fri May 11, 2018 8:38 am
by Mitteau
Hello!
To go further in the development of Crazyflie software and solve some hardware failures, I decided to use Bitcraze's virtual machine system. As an hypervisor, I installed the Virtual Manager from libvirt library in my Debian 9 system. Then, I download the .ova file from Github.
Everything works perfectly when I applied following process:
1/ use command line to run libvert-convert on BitcrazeVM_2018.01.ova to get .raw disk image BitcrazeVM-disk001.raw. A disk file is created for VM in the directory /var/lib/libvirt/images
2/ open Virtual Manager: BitcrazeVM.ovf is running under connection QEMU/KVM,
3/ connect a joystick and the Crazyradio,
4/ in menu of virtual machine, select: redirect USB,
5/ check the corresponding USB ports for the joysticks a the Crazyradio (verify the vendor:product code using lsusb). A warning message was issued which can be neglected.
Now, you have access to the functions of the Bitcraze's virtual machine and follow the wiki.
Enjoy!
Jean-Claude

Re: Bitcraze Virtual Machine on Debian Stretch and libvirt

Posted: Fri May 11, 2018 8:42 am
by Mitteau
Hello!
When running my new Bitcraze's virtual machine, I was asked to update Ubuntu system from 14 to 16...
BEWARE: don't do it!
I did, and after some hours, the Ubuntu system was implemented but the Bitcraze VM was lost. I had to reinstall it from scratch.
BR
Jean-Claude

Re: Bitcraze Virtual Machine on Debian Stretch and libvirt

Posted: Mon May 14, 2018 3:40 pm
by tobias
Thanks for the instructions and pointers Jean-Claude!