Do you recommend me to switch from VirtualBox to virt-manager?
I'm planning to switch from VirtualBox to virt-manager and see if the change is worth. I've been using VirtualBox for many many years but a couple of months ago, due to my dependency to linux-zen, dkms virtualbox module tend to fail on building from time to time for no reason, and I'm tired of it.
So as the title says, would you do it?
EDITED 4/11/22: Right now, quickemu and quickgui are the best replacements for my needs. If you have better suggestions, please write them down.
Edited 4 Oct 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 60 · 95% up
- Kind
- Text
- ID
- xtwify
36 comments
Yes. I am using libvirt. It takes a little bit time to learn, due to terminology and different command interface, but once you get used to it you cannot go back.
Things that I like is their performance (although I don't have data to support this), and auto save (suspend and start) the VM on reboot.
The only things that I have an issue with is some VM cannot support auto suspend if they use virtiofs, but I don't mind, it just for development.
The only reason I use vbox... most wifi chips don't support bridged networking with KVM. Someone correct me if I'm wrong, but on a laptop, you can run a bridged vbox VM because the vbox drivers support this where KVM does not. I need bridged networking on wifi, so I use vbox.
Edit: host-to-guest file sharing is easier in vbox. With libvirt, you must set up some sort of independent shares like smb.
You can do virtiofs.
https://libvirt.org/kbase/virtiofs.html
Deleted before we saved it.
I don't think vbox has the ability to make a L2 bridge if your wifi chip doesn't support it. This "bridge" might be something like ipvlan/ipvtap.
Deleted before we saved it.
Could you be more elaborated?
Deleted before we saved it.
I thought libvirt was merely an interface anyway. It's not a hypervisor or virtualizer
What cases does VB cover that libvirt doesn’t?
IME bidirectional drag and drop of files between host and vm
Yes. I was a VirtualBox user for a while (keep in mind that I don't use it a lot. Trying a new distro for fun, sometimes Windows very specific things).
I had this notion that setting up virt-manager was "hard", but "following the ArchWiki"® was easy enough and I don't plan to go back. Like you said:
dkms virtualboxand all the other 'extras' is not worth it.Use Gnone box. Its easier Than virtual box
I use virt-manager now. GNOME box is a good suggestion for starters though!
Thanks for your suggestion, sadly Gnome Boxes is too user-friendly for me and I use Plasma as a DE.
Kvm/qemu : professional Virtualbox : power user
I'm a believer in "Don't fix what ain't broke", so good you're asking.
The plus I see for Virtualbox is cross-platform, and the fairly intuitive GUI and large user community.
One frequent minus for Virtualbox I saw on Linux were problems when the host Linux kernel was updated.
Libvirt's virt-manager provides me with a mostly intuitive interface to Qemu/KVM, the latter unaffected by host kernel changes. This environment has been reliable with good performance, over many years.
I consider both the Qemu/KVM, and Virtualbox solutions as true Killer Apps.
See also r/virtualization and r/virtualbox
Only really use it for distro-testing, so speed of set up and tear down is the most important factor. Thus, I usually use the wrapper script(s): https://github.com/quickemu-project/quickemu
I did some research about quickemu and there is a Flutter fronted called quickgui which allows to set up virtual machines very easily and fast. The down side is there's no way to configure how much space VMs will take, but for testing proposes is fine and very quick.
I'll keep searching if there is any better option.
Try Cockpit with libvirtd 😊
I use qemu directly from the command line. It’s extremely easy, easier than virtualbox (I never completely understand vbox) and virt manager. See this video
https://youtu.be/AAfFewePE7c
Also, it’s fast. Very fast. Performance is acceptable even on my underpowered laptop
yes, I recommend that . And you have many methods to manage your VMs then like virt-manager or cockpit or virsh + virt-install
I'll give them a try. Thanks for your suggestion.
Depending on Oracle can lead to becoming involved with their mob-style lawyer shakedowns. Avoid Oracle like the plague.
I researched and found VM recommended on linux and never went back to any of the others. I even found ways to make VM work on ultrawide 3440x1440 or higher(only exception is win10/11)(i could never get win to go full screen). I want my Virtual Machine to be as close to Host as possible so I can accurately test and run other distros. It is simple/easy to use and im told is faster if setup correctly(right amount of cpu and memory). Why would i use anything else.
Depends very much on use case. I try a libvirt based solution for my desktop virtualization every couple years because depending on an Oracle
licensing honeypotproduct makes me uneasy, and always end up back on Virtualbox anyway.I mostly use VMs on a desktop for Windows VMs running legacy development tools (both software and talking to programmers/debug probes/etc. not well supported under Linux), and VirtualBox's USB passthrough behavior is so much better that always brings me back to it.
I also do a moderate amount of running weird old systems, which is usually easier via scripts around qemu directly than messing with libvrt to bore to the edge cases.
For spinning other Linux boxes, trying out modern systems, servery tasks, etc., libvirt is probably superior.
VirtualBox has been a good friend to me over the years. It allowed me to virtualize windows and turn it into an application instead of a separate OS. It also allowed me a more sensible way to satisfy distrohopping cravings.
I have now moved over to using virt-manager and I love it. It was not as hard to do as I imagined at first. The performance of Linux guests is great. Windows requires a little more tweaking to get going, but nothing a good howto cannot solve. After using it for a couple years or so, I cannot see myself going back.
I prefer libvirt/virt-manager on linux hosts with linux guests, while vbox is nice on windows for linux guests and vmware ws is great on windows for windows guests :)
I’m in the process of doing this myself. I’ll miss virtualbox’s simplicity but not oracle.
Deleted before we saved it.
Do you recommend me to switch from VirtualBox to virt-manager?
YYES.
And also, I do not install any vbox additions, vmware tools etc. Instead, I connect to the VM using ssh and/or xrdp+xorgxrdp+xfreerdp. https://www.youtube.com/watch?v=zKGC6ct2_3I
I am using both on different host platforms. VirtualBox is mu h easier to configure. With KVM (with virt-manager) Y You can get much more power out of your CPU. Give it a try and decide if you need the Power, or if you prefer the easyness of use...