Hi, are VM images compatible between VirtualBox and KVM? Can I convert VB images to qemu format and use them with KVM/virtmanager after importing whonix-kvm xmls? Thx!
Unsupported.
Anecdotally, I have done this despite it being unsupported. I don’t recommend it, IIRC it had some complications (I think mainly qemu-img tried to blow up the size of the virtual disk file to its full theoretical 100GB size), and the KVM images are there to use. Guest Additions could potentially cause complications depending on how you used the VM previously.
Done it too. They boot, but both present an issue with the mouse: the pointer disappear and seems not going past the edges of the VM frame. I also think it could be Guest Additions causing it. @arraybolt3 do you have any suggestion on how to approach this issue?
Make sure vm-config-dist and spice-vdagent are installed. Also make sure that your VM’s hardware is properly set up (you need to either provide a virtual USB tablet device, or you need to make sure that the necessary SPICE integration devices are set up; if you make a new VM and set the OS to “Ubuntu 24.04”, it should create a machine with the right virtual hardware that you can then use as a guideline to configure your existing kicksecure VM).
Right, I created a new and working Whonix VM, then I copied all xml info except name uuid genid and source file. Still I got the same problem.
There is no USB tablet in the new and working Whonix VM.
In the host, in the guest or both?
That basically undoes the point of making a new VM. The SPICE configuration that allows “mouse integration” to work under KVM is in the XML that you overwrote. (Edit: I may have misunderstood; if you mean you copied the XML from the new VM to the existing Whonix VM, that should have worked. If it didn’t, then something other than the hardware configuration is wrong.)
Correct. KVM has multiple ways to provide “mouse integration”, one is using a virtual USB device, and one is using SPICE integration without USB. Both ways work with Whonix, we default to using the one without USB in the hopes that it will have less attack surface.
In the guest. These shouldn’t be relevant on the host.
Ok. That solved the issue. They were not installed. Thanks a lot!!