libvirt plugin, qemu driver. this, of course, means emulation, not
virtualization. thus its slow. if you can, your better off making a vagrant
server and sshing to it. you can run virt-manager on a debian-9 template for
any remote, or local desktop vagrant boxes.
TODO: try lxc, and virtualbox 32bit, which should also work in emulation. any
interest in a qrexec provider? make an easy script for this. do a real write up
somewhere on the interwebs thats easier to find.
the test vagrant run is a single instance of fedora-26 cloud with no
customization, extra networking, or provisioning. also, no other plugins
installed. my lapotp is a kaby lake i7. vagrant up took 2 minutes and 41
seconds. on a real linux box, fedora 25 with a skylake i7, the same run took 37
seconds.
start with a debian-9 template, and either customize that, or clone it for a
vagrant running template, which may not be a bad idea while messing with this.
fedora 24 might also work, but its out of support. debian-8 cant install some
of the dependencies. fedora-25 cant either, because of a conflict with qubes
version of xen.
first, get libvirt and qemu working
apt install qemu-kvm libvirt-clients libvirt-daemon-system
adduser user libvirt
adduser user libvirt-qemu
you'll also need this your ~/.bashrc
export LIBVIRT_DEFAULT_URI="qemu:///system"
as mentioned above, virt-manager is also useful. libvirt should work now, at
least for qemu.
installing the dependencies for vagrant-libvirt took a little more work,
because the src packages for the debian-9 template were broken, at least for
me. so, instead of apt installing build-dep the first line installs the
packages build-dep would install. ill bug the debian people later if this issue
is still there in a couple days.
apt-get install bash-completion debhelper gem2deb libvirt-dev pkg-config rake
libvirt-daemon
apt-get install qemu libvirt-bin ebtables dnsmasq
apt-get install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev
then
vagrant plugin install vagrant-libvirt
which is also make a ~/.vagrant.d
to override kvm acceleration make a ~/.vagrant.d/Vagrantfile like this,
Vagrant.configure("2") do |config|
config.vm.provider "libvirt" do |libvirt|
libvirt.driver = "qemu"
libvirt.cpu_mode = "custom"
libvirt.cpu_model = "qemu64"
end
end
and heres the example Vagrantfile i tried
Vagrant.configure("2") do |config|
config.vm.define :test_vm do |test_vm|
test_vm.vm.box = "fedora/26-cloud-base"
end
end
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/3fe92a9d-06ca-487a-959b-5d8f658bf39e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.