I added LINUX as a tag because I dont know if the KVM error is OS based, or if it is an error with general linux I am trying to overcome.
Situation: Tails is a privacy based Linux Operating system. Link to Build Process I do not have dedicated Linux hardware, so I was thinking to use Virtualization to run Debian 10 with Virtualbox.
Goal: I want to build the TAILS OS as an installable ISO myself.
Access to Windows and Mac machines running Debian 10 x64 on Virtual Box
Followed the build work flow.
My current specs for a test:A VM (via virtual box) on my machine running DEBIAN 10 by a 64 bit install iso: debian-10.1.0-amd64-xfce-CD-1.iso, with a data dump of:
Distribution ID: Debian
Description: Devian GNU / Linux 10 ( buster )
I did not have the current user in the sudoers file, so instead I would just run the entire thing as root, so i just ran the terminal command to update current user to Root.
sudo apt install psmisc git rake libvirt-daemon-system dnsmasq-base ebtables qemu-system-x86 qemu-utils vagrant vagrant-libvirt vmdebootstrap && sudo systemctl restart libvirtd
and then I get the repo, checkout devel and do submodule, but my issues all occur on rake when I am attempting to build everything. When I run:
rake build && rake vm:halt
rake build is where the errors end up occurring.
So it looks like it will 'successfully add the box tails-builder-amd64-stretch-xxxxxx-xxxxxxx' (v0) for 'libvert' but then it will bring up the machine 'default' with 'libvert' provider. It will throw the error:
Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm
It makes me think that it doesnt have KVM, but i am not sure.
Here is an image of my output: https://imgur.com/GscDUqn
This image makes me think it is KVM related, but im not sure if maybe Virtualbox needs special permissions for the CPU, or if i need dedicated hardware, or if there is another issue I am unaware of. I would like to at least get a build running.