LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-09-2023, 02:44 AM   #1
4pr3nd1z
LQ Newbie
 
Registered: Jan 2022
Distribution: Debian
Posts: 23

Rep: Reputation: 0
Question question about virtualbox and qemu/kvm


Hello friends, I have the following query.

I wanted to install the qemu and kvm package by following the following tutorial

but it suggests me to check if my system supports virtualization and by running the following command:

Code:
egrep -c '(vmx|svm)' /proc/cpuinfo
I get as result "0"

That being said, I understand that I must have greater than "0" to be able to use qemu and kvm on my Debian 10 operating system

so, stop and switch to the idea of installing virtualbox on my system, the installation finished without any problem. Now I can virtualize other operating systems.

Later, reading I find out that virtualbox is based on qemu/kvm. Is this correct?

I don't understand why I can't install "qemu and kvm" on my Debian and if I can make virtualbox work

Thank you for reading
 
Old 01-09-2023, 07:31 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
VirtualBox without hardware virtualization enabled uses software emulation.

https://docs.oracle.com/en/virtualiz...in/hwvirt.html

What are the specifications of your computer? CPU?
Have you looked at the BIOS/UEFI to see if there is a setting for virtualization?
 
1 members found this post helpful.
Old 01-09-2023, 04:03 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,691
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
VirtualBox® is an extremely well-supported (by Oracle, no less ...) tool that "runs on everything" and is pretty much designed to "run anything." It is interactive and easy to use. "Just the thing" if you want to "run a guest operating system in a window on your desktop." Just grab it (for free!) and go. It is not a "hobbled horse."

IMHO, the qemu and kvm packages, per contra, are things that you are likely to be appropriate when you want to set up, shall we say, "production environments." They do require hardware support. (Which, as @michaelk pointed out, might be a machine setting that you need to turn on.) They also require a little more hand-holding. But they also should give better overall performance, if that actually matters. (And, these packages tacitly assume that it does.)

My point is simply that the designer-intended use case between the two alternatives is, IMHO, "decidedly different."

Last edited by sundialsvcs; 01-09-2023 at 04:18 PM.
 
Old 01-09-2023, 06:05 PM   #4
4pr3nd1z
LQ Newbie
 
Registered: Jan 2022
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 0
the hardware that I have unfortunately does not have this feature in the BIOS



I am here to learn, I thank you for your answers @sundialsvcs @michaelk
 
Old 01-12-2023, 04:00 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Some bios's name it oddly.

I used Bochs and later qemu on some VERY old computers decade or so back.
 
  


Reply

Tags
debian, kvm, qemu, virtualbox



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "No KVM, No qemu-kvm" Available error while trying to install KVM on CentOS 6.3 sriramdas Linux - Virtualization and Cloud 5 01-01-2013 10:46 AM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
LXer: Attempt of qemu-kvm-0.14 patching via Gerd’s Hoffmann “spice/qxl: locking fix for qemu-kvm” on LXer Syndicated Linux News 0 03-14-2011 01:20 PM
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:56 AM.

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