LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2021, 12:57 PM   #211
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640

Just out of curiosity. Are there any advantages to running virtualbox as oppose to qemu-kvm?
 
Old 08-14-2021, 02:00 AM   #212
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
qemu is CLI based. VirtualBox is GUI based.

Don't get me wrong, I'm a CLI guy at heart[1]. But with VBox, there's a whole heap of stuff I don't need to learn just to set up a VM... It steps you through the setup process.

[1] I say that as the guy who wrote this: https://www.linuxquestions.org/quest...kware64-38604/
 
2 members found this post helpful.
Old 08-14-2021, 02:27 AM   #213
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by rkelsen View Post
qemu is CLI based. VirtualBox is GUI based.

Don't get me wrong, I'm a CLI guy at heart[1]. But with VBox, there's a whole heap of stuff I don't need to learn just to set up a VM... It steps you through the setup process.

[1] I say that as the guy who wrote this: https://www.linuxquestions.org/quest...kware64-38604/
Well, not exactly. With libvirt there are tons of GUI tools for Qemu.

Been using Virtual Machine Manager (virt-manager) myself.. I'm kind of wondering if virtualbox is becoming irrelevant, to me it seems qemu-kvm with libvirt has reached feature parity with virtualbox.

Last edited by zeebra; 08-14-2021 at 02:37 AM.
 
Old 08-14-2021, 03:13 AM   #214
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by zeebra View Post
Well, not exactly. With libvirt there are tons of GUI tools for Qemu.
Yeah, but those are add-ons.
Quote:
Originally Posted by zeebra View Post
I'm kind of wondering if virtualbox is becoming irrelevant
I'd say no, because they're different programs with different strengths. Speaking for myself, I use both for different purposes.
Quote:
Originally Posted by zeebra View Post
to me it seems qemu-kvm with libvirt has reached feature parity with virtualbox.
No doubt. But surely there is enough room for more than 1 solution?
 
1 members found this post helpful.
Old 08-14-2021, 03:36 AM   #215
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by rkelsen View Post
Yeah, but those are add-ons.

I'd say no, because they're different programs with different strengths. Speaking for myself, I use both for different purposes.

No doubt. But surely there is enough room for more than 1 solution?
Yes yes yes, but now that we clarified that, back to the original question.

What are the advantages of using virtualbox over qemu-kvm? You seem to be the right guy to ask actually.


I've used both myself, and in the context of Slackware, it seems it would be easier to use qemu-kvm. I'm wondering if there are any losses to doing that, as oppose to using virtualbox. To me it seems it would be way easier and safer to setup a working qemu-kvm with libvirt+manager than virtualbox. If I'm not mistaken virtualbox would require a reboot even.

Ps. I'm using neither virtualbox or qemu-kvm in Slackware.

Last edited by zeebra; 08-14-2021 at 03:47 AM.
 
Old 08-14-2021, 04:42 PM   #216
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by zeebra View Post
I've used both myself, and in the context of Slackware, it seems it would be easier to use qemu-kvm.
That might depend upon how you choose to install it.

I download the pre-compiled script from their website and use that to install VBox, and have done it that way since the "innotek" days.
Quote:
Originally Posted by zeebra View Post
If I'm not mistaken virtualbox would require a reboot even.
It doesn't require a reboot if you install the pre-compiled version. The script compiles the modules for the currently running kernel and then loads them. If you're upgrading, it replaces the loaded modules with no need for a reboot. Got a machine here that's never been rebooted (though it's only 4 months old) and has had a few versions of VBox on it now. It'll be rebooted when Slackware 15 is released!

If you were compiling it from source, I'd say you might be right. I can't say with 100% certainty, since I've never done it that way myself... Can't see the point really. Their binary works well enough that I've never even considered it.

But it is quite easy to install QEMU from source. I'll have a play around with virt manager because I'm keen to try it now.
 
2 members found this post helpful.
Old 08-14-2021, 05:23 PM   #217
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by rkelsen View Post
But it is quite easy to install QEMU from source. I'll have a play around with virt manager because I'm keen to try it now.
I'd be interested to hear your opinion about the differences.
 
1 members found this post helpful.
Old 08-16-2021, 12:43 PM   #218
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,133

Original Poster
Rep: Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299
A new test build, 6.1.27-146314, has been posted at, https://www.virtualbox.org/wiki/Testbuilds
 
2 members found this post helpful.
Old 08-17-2021, 08:08 PM   #219
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,395

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally Posted by cwizardone View Post
A new test build, 6.1.27-146314, has been posted at, https://www.virtualbox.org/wiki/Testbuilds
ended with a segfault here
Code:
(process:4574): GLib-GObject-WARNING **: 03:05:06.616: cannot register existing type 'NMAgentManagerError'

(process:4574): GLib-CRITICAL **: 03:05:06.616: g_once_init_leave: assertion 'result != 0' failed

(process:4574): GLib-GObject-WARNING **: 03:05:06.616: cannot retrieve class for invalid (unclassed) type '<invalid>'
[1]    4574 segmentation fault  VirtualBox
same with stable release ...
 
Old 08-17-2021, 08:31 PM   #220
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,133

Original Poster
Rep: Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299
Versions 6.1.27-146035, 6.1.27-146191 and 6.1.27-146314, have all ran perfectly on this box using -current.
 
Old 08-17-2021, 11:08 PM   #221
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by marav View Post
ended with a segfault here
Code:
(process:4574): GLib-GObject-WARNING **: 03:05:06.616: cannot register existing type 'NMAgentManagerError'

(process:4574): GLib-CRITICAL **: 03:05:06.616: g_once_init_leave: assertion 'result != 0' failed

(process:4574): GLib-GObject-WARNING **: 03:05:06.616: cannot retrieve class for invalid (unclassed) type '<invalid>'
[1]    4574 segmentation fault  VirtualBox
same with stable release ...
This is the update crash I referred to in my earlier post. You can prevent it from happening by disabling the update check on start up:

Code:
$ VBoxManage setextradata global GUI/UpdateDate never
 
3 members found this post helpful.
Old 08-18-2021, 03:06 AM   #222
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,395

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally Posted by rkelsen View Post
This is the update crash I referred to in my earlier post. You can prevent it from happening by disabling the update check on start up:

Code:
$ VBoxManage setextradata global GUI/UpdateDate never
thanks rkelsen
It's been a long time since I had an error, I missed this one ;-)
 
Old 08-19-2021, 05:04 PM   #223
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
So supposedly Oracle fixed this issue, but does anyone notice that when you have a Slackware host , it still rebuilds the modules anyways after installation guest additions?
 
Old 08-19-2021, 08:28 PM   #224
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by Jeebizz View Post
So supposedly Oracle fixed this issue, but does anyone notice that when you have a Slackware host , it still rebuilds the modules anyways after installation guest additions?
fixed in the latest testbuilds
https://www.linuxquestions.org/quest...ml#post6272156
and testbuilds:
https://www.virtualbox.org/wiki/Testbuilds

Last edited by Aeterna; 08-19-2021 at 08:30 PM.
 
Old 08-19-2021, 08:36 PM   #225
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,188

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by Aeterna View Post
I am running 6.1.26 r145957 and that is the latest stable build. So, I guess until it is on the next stable build I will keep seeing this.
Click image for larger version

Name:	VirtualBox_Slackware --Current_19_08_2021_20_37_58.png
Views:	38
Size:	20.1 KB
ID:	36982

Last edited by Jeebizz; 08-19-2021 at 08:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv Astral Axiom Linux - Software 2 03-04-2019 08:09 PM
Issues activating virtualbox within my linux fedora 25 virtualbox on my windows device. QuantumChaos Linux - Virtualization and Cloud 5 02-21-2017 08:31 AM
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-07-2012 11:28 PM
virtualbox or virtualbox ose manuleka Linux - Software 2 06-11-2009 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration