Bitcraze Virtual Machine on Debian Stretch and libvirt

Discussions about all things Bitcraze
Post Reply
Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Bitcraze Virtual Machine on Debian Stretch and libvirt

Post by Mitteau » Fri May 11, 2018 8:38 am

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

Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Re: Bitcraze Virtual Machine on Debian Stretch and libvirt

Post by Mitteau » Fri May 11, 2018 8:42 am

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

tobias
Bitcraze
Posts: 1666
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Bitcraze Virtual Machine on Debian Stretch and libvirt

Post by tobias » Mon May 14, 2018 3:40 pm

Thanks for the instructions and pointers Jean-Claude!

Post Reply