LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-02-2010, 11:53 AM   #16
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224

Quote:
Originally Posted by Lufbery View Post
Quick question: My understanding is that, to build QEMU-KVM, I need QEMU installed too -- at least the versions from Slackbuilds.org. Is that no longer the case?

Regards,
Never has been. qemu-kvm is a standalone application which incorporates some patches / added code to qemu to allow it access to kvm.

From the read me of SBo's qemu-kvm
Quote:
KVM (Kernel-based Virtual Machine) is a full virtualization solution
for Linux on x86 hardware containing virtualization extensions
(Intel VT or AMD-V). KVM requires QEMU-KVM to create and run virtual
machines (e.g. Windows, Linux, BSD) under full system emulation or user
mode emulation. QEMU-KVM is a slightly modified QEMU designed to work
with KVM kernel modules.
 
Old 07-02-2010, 12:29 PM   #17
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by Lufbery View Post
My understanding is that, to build QEMU-KVM, I need QEMU installed too -- at least the versions from Slackbuilds.org. Is that no longer the case?
It never was the case that QEMU was required for QEMU-KVM. In order for the KVM project to release their changes in a timely manner they have had to continue to provide a modified QEMU which is named QEMU-KVM.

The goal is for QEMU to incorporate all the changes in QEMU-KVM so that one package would rule them all but it just hasn't happened yet.
 
Old 07-02-2010, 12:34 PM   #18
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Thanks,

I got confused with KVM. From the KVM Slackbuild page/readme (13.0 respository):

Quote:
KVM (Kernel-based Virtual Machine) is a full virtualization solution
for Linux on x86 hardware containing virtualization extensions (Intel VT
or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides
the core virtualization infrastructure and a processor specific module,
kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although
work is underway to get the required changes upstream.
I know now that the "modified QEMU" refers to QEMU-KVM; at least I think that's correct.

So it looks like I can uninstall the base QEMU and just run QEMU-KVM.

Do/did I need to install the KVM package to use QEMU-KVM?

I appreciate everyone's help,

-Drew
 
Old 07-02-2010, 12:38 PM   #19
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Chuck56 View Post
The goal is for QEMU to incorporate all the changes in QEMU-KVM so that one package would rule them all but it just hasn't happened yet.
That makes it a lot clearer.

For what it's worth: I went from being a complete newbie at virtualization to having succesfully set up two separate distros in VMs in the course of two evening's work. The combination of Eric's wiki post on QEMU and the very helpful posts here are absolutely invaluable.

Thanks!
 
Old 07-02-2010, 01:00 PM   #20
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by Lufbery View Post
Do/did I need to install the KVM package to use QEMU-KVM?
No. Post #14 answers this question.

Last edited by Chuck56; 07-02-2010 at 01:02 PM.
 
Old 07-02-2010, 01:21 PM   #21
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Chuck56 View Post
No. Post #14 answers this question.
Missed that the first time. Got it now.

Thanks.
 
Old 07-09-2010, 08:51 AM   #22
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quick update: things are going very well. I actually get better performance through the standard graphics than with the VNC viewer, though.

Thanks all,
 
Old 08-12-2010, 02:22 AM   #23
sanitynotvanity
Member
 
Registered: Jul 2007
Location: UK
Distribution: LFS 6.8, Android, Ubuntu 10.10, XP, 7 (HB,HP,Ultimate)
Posts: 41

Rep: Reputation: 15
Fair play to the original poster, good persistence.

I saw some comments earlier on in this thread that i wanted to correct for the record.

QEMU supports the same graphics driver used in VMware. Which gives it DirectX9c.

My understanding of the virtual environment is that there are two techiques. 1) to emulate and process on a general processing thread (ie, CPU) 2) create a hole through the DOM and allow direct access.

the 2nd option is not possible with Graphics cards because they are too proprietary, closed source and used by the host system. Due to their VGA BIOS. It is however possible with generic/universal devices such as USB.

so the first option is used for graphics. Although extensions for DirectX9c are supported they are computed on your hosts CPU. This can not provide the same graphical power compared to your hosts middling nvidia card. This is the same for VMWare as it is for QEMU

vt-X allows guest systems direct access to the hosts CPU. which gives near very near native performance....

vt-d allows guest systems direct access to any device on the PCI/PCI express bus direct access.... QEMU appears to already be looking at patches to allow direct access to graphics cards.

REF: http://www.linux-kvm.org/page/How_to...th_VT-d_in_KVM

you will need to check your processor to see if it supports VT extensions

hope this is helpful
 
0 members found this post helpful.
Old 08-12-2010, 09:56 PM   #24
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
sanitynotvanity,

Thanks for that post! I'll be doing more research on vt-X and vt-d.

Regards,
 
Old 08-13-2010, 07:40 AM   #25
the3dfxdude
Member
 
Registered: May 2007
Posts: 735

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by sanitynotvanity View Post
My understanding of the virtual environment is that there are two techiques. 1) to emulate and process on a general processing thread (ie, CPU) 2) create a hole through the DOM and allow direct access.

the 2nd option is not possible with Graphics cards because they are too proprietary, closed source and used by the host system. Due to their VGA BIOS. It is however possible with generic/universal devices such as USB.

so the first option is used for graphics. Although extensions for DirectX9c are supported they are computed on your hosts CPU. This can not provide the same graphical power compared to your hosts middling nvidia card. This is the same for VMWare as it is for QEMU


Maybe not proprietary nvidia, but you can get direct GPU access through the gallium3d architecture.
http://www.phoronix.com/scan.php?pag...item&px=Nzc2OA
 
  


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
Taking the plunge to Linux, finally! lmkwak LinuxQuestions.org Member Intro 1 07-16-2008 09:58 AM
Why I'm taking the plunge tanstaafl4y LinuxQuestions.org Member Intro 2 10-30-2006 12:33 PM
Taking the plunge...RH4...32bit or 64? devinnull Linux - Newbie 9 02-02-2006 11:04 PM
taking the plunge into linux with ubuntu binkgle Linux - Newbie 32 03-07-2005 08:09 AM
Linux Newb - Taking the plunge janderson Linux - Newbie 26 08-06-2004 12:33 PM

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

All times are GMT -5. The time now is 01:30 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