Skip to content

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.

60 points29 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
60 · 95% up
Kind
Text
ID
xtwify

Author

3
posts
6
comments
0
media
View profile

36 comments

So as the title says, would you do it?

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.

23 points

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.

17 points

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.

1 points
unknown author9 hidden

Deleted before we saved it.

12 points

I thought libvirt was merely an interface anyway. It's not a hypervisor or virtualizer

Libvirt is a collection of software that provides a convenient way to manage virtual machines and other virtualization functionality, such as storage and network interface management.

7 points

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 virtualbox and all the other 'extras' is not worth it.

5 points

Use Gnone box. Its easier Than virtual box

5 points

I use virt-manager now. GNOME box is a good suggestion for starters though!

1 points

Thanks for your suggestion, sadly Gnome Boxes is too user-friendly for me and I use Plasma as a DE.

1 points

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

4 points

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

3 points

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.

1 points

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

3 points

yes, I recommend that . And you have many methods to manage your VMs then like virt-manager or cockpit or virsh + virt-install

2 points

Depending on Oracle can lead to becoming involved with their mob-style lawyer shakedowns. Avoid Oracle like the plague.

2 points

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.

2 points

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 honeypot product 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.

1 points

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.

1 points

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 :)

1 points

I’m in the process of doing this myself. I’ll miss virtualbox’s simplicity but not oracle.

1 points
unknown author

Deleted before we saved it.

1 points

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...

0 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.