Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-07-2005, 02:39 PM
|
#1
|
|
Member
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156
Rep:
|
Qemu with KQemu
I am currently dual booting into win2k just so i can get music onto my mini disk player, and some other small reasons.
But i would just rather use kqemu to do this.
I dont want to use precompiled binaries because i dont think kqemu will work and i really need the acceleration, so i have all the packages and i tried to install them but i needed gcc 3.3.x i had 3.4, so i downloaded 3.3.6 and i dont no how to install that so that i will keep 3.4 and qemu will install using it. On SuSe 10.0, if anyone has any instructions that would be great thanks.
Thanks ryan
|
|
|
|
01-29-2006, 12:58 PM
|
#2
|
|
Member
Registered: Feb 2002
Posts: 322
Rep:
|
I am running into a similar issue. Have you found a solution?
|
|
|
|
03-19-2006, 07:06 PM
|
#3
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,554
|
There is an open-source replacement for kqemu called qvm86.
The URL is here.
But... there's a few catches. The project is very much "in development," and a curious parallel to the proprietary-source world exists here, in that the developer of QEMU does not currently release the source-code to KQEMU. Therefore, the QVM86 project essentially determines what KQEMU is being told to do and implements most of the same functions.
If you're wanting to run a "current" operating-system under qemu, then the qvm86 module runs quite well. If you want to run Windows 9x or somesuch, you'll need to apply (and figure out!) some patches in the qvm86-devel mailing-list.
It gets ...  ... rather hairy sometimes. But it does work.
|
|
|
|
03-19-2006, 08:08 PM
|
#4
|
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Rep:
|
I use Qemu+Kqemu and WinXP actually boots quicker in qemu! Once it hits that login screen it slows down a lot obviously but it's still very usable, quicker than running it native on my old computer. I haven't tried qvm86 yet, I'm going to wait to see how things pan out a bit first but it does look good.
You'll need to run qemu 0.8.0 to get the USB support and gcc 3.4 should be fine to build it with, I'm stuggling along with gcc 4.0.3 but there are patches around to make it work 
|
|
|
|
03-20-2006, 10:48 AM
|
#5
|
|
Member
Registered: Feb 2002
Posts: 322
Rep:
|
I found some instructions on opensuse.org that helped me get kqemu installed. I wish I still had the URL - I'd post it here if I had it.
It entailed compiling GCC 3.x, then compiling QEMU 0.8 and KQEMU with GCC 3.x.
The accelerator works, and works well. It is much faster now - probably a 3-5x increase. I'm running XP in QEMU, and it is at half speed (compared to a native install). Without the emulator, it was closer to 1/10th the speed.
|
|
|
|
03-21-2006, 06:07 PM
|
#6
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,554
|
The kernel-module (KQEMU or QVM86, your choice) is a very important speedup, and here's why ...
When a virtual-storage operating system (like Windows or Linux) is running in QEMU ... there are two levels of address-translation going on: - Your Windows program wants to fetch from memory. (This is what I'll call a "second-level address.")
- Windows expects the "hardware" to translate that to a "real" address. Without the assist, QEMU has to do that chore, in software, for almost-every instruction.
- QEMU is running in virtual storage (provided by Linux), so when QEMU requests the data, the hardware translates that to a real-address which is given to physical RAM.
The kernel-module maintains "shadow" page-tables which allow this address-translation to occur in one step... in hardware... just as it would happen if Windows were running natively. The shadow tables translate second-level addresses directly to a hardware physical address.
|
|
|
|
03-23-2006, 04:51 AM
|
#7
|
|
Member
Registered: May 2005
Distribution: Mandriva 2006 Free
Posts: 67
Rep:
|
Even with kqemu, it seems to go very slowly for me - I've got a 1.5Ghz (or there abouts) Pentium M, what kind of speed should I expect from qemu+kqemu? It's likely that I'm just expecting too much...
|
|
|
|
03-23-2006, 04:59 AM
|
#8
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
http://en.wikipedia.org/wiki/QEMU
Quote:
kqemu versus QVM86
Fabrice Bellard has stated his willingness to open-source the kqemu QEMU Accelerator module in case a company steps up to sponsor it. This has thus far not happened, and kqemu remains proprietary. It is free to use, but one is not allowed to distribute it to other people without an explicit authorisation. Distributors wishing to include the QEMU accelerator on CDs, ISO images or packages must contact the author to know the exact terms.
Meanwhile, a GPL licensed module purporting to perform the same task, QVM86 has appeared.
|
Haven't tried the QVM86 also 
On windows you need to be administrator to use kqemu as its a service, annoying.
|
|
|
|
03-26-2006, 11:20 AM
|
#9
|
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
I tried to compile Qemu with KQemu on Arch Linux, but it uses GCC 4.x which doesn't compile Qemu. So I used the Qemu binary from the Qemu website and installed it, then:
- Downloaded the source of Qemu, then KQemu
- Extracted Qemu source, then KQemu INSIDE the Qemu source directory
- Ran ./configure --disable-gcc-check
- Then changed into the KQemu directory
- Ran make there
- Then ran ./install.sh
- Then ran modprobe kqemu major=0
And it seems to be working, but on my PC it is VERY slow. I did not compile Qemu, only the KQemu module but I needed the Qemu source (for some reason) otherwise it didn't compile. I used major=0 because I have udev, I don't think it is neccessary if you don't have udev.
Hope that gives you some more info.
Last edited by Vampirite; 03-26-2006 at 11:34 AM.
|
|
|
|
03-26-2006, 06:54 PM
|
#10
|
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Rep:
|
Vampirite: If you install qemu and kqemu from AUR there are some patches to make it build with gcc4 however I can't make 0.8.0 compile. I found a patch that was supposed to work but I'm missing config-host.h and I can't find it anywhere 
|
|
|
|
03-27-2006, 01:24 PM
|
#11
|
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
Yeah after doing my little workaround thing, I found those packages and got it running properly.
I tried compiling Qemu 0.8.0, but with no luck, as for patches I haven't tried to look yet.
Thanks.
|
|
|
|
03-28-2006, 04:45 AM
|
#12
|
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Rep:
|
If you do get it working I'd definitely like to know!
|
|
|
|
04-05-2006, 08:43 PM
|
#13
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
QEMU with the kqemu accelerator model works great in Slackware!
Have been using the cvs version since last night, which is faster
(considerably) than the stable product. So far no problems with this
'bleeding edge' version.
And there are packages that you can easily build and install...
I'm also using vdenetwork, which allows me to access my server
and the internet. Very nice! Sound works, too.
I have absolutely NO PROBLEM with Fabrice Bellard wanting some
financial sponorship before he open sources kqemu. Who wants to
work for free? Somebody has to pay the bills. He is gracious for
allowing us to USE his product without paying!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
QEmu
|
mtecknology |
Linux - Software |
5 |
09-14-2007 05:30 AM |
|
qemu
|
paul_mat |
Linux - General |
3 |
12-09-2005 12:48 PM |
|
kqemu error
|
Marshalle |
Linux - Software |
2 |
07-11-2005 04:07 PM |
|
qemu
|
RySk8er30 |
Linux - Software |
1 |
06-01-2005 07:23 PM |
|
qemu: qemu stopped right after command exec
|
bitpicker |
Linux - Software |
1 |
03-04-2005 11:25 PM |
All times are GMT -5. The time now is 12:52 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|