Qemu revisited



I mentioned Qemu a short while back. I’ve used it in the past for testing linux livecds. After doing the writeup though I was encouraged to look at it again and see if/how much it’s improved since I last got an update. Wow….


For starters, I spent a bit of hairpulling but got the kqemu module working this time. kqemu is an accelerator module that interfaces directly with the kernel. It’s purported that qemu without the accelerator is 5-10x slower than the host machine, WITH the accelerator it’s in the ballpark of 1-2x slower. Not bad. I did try it and am impressed with the acceleration.

My test install was Windows 98 second edition. I installed to a 1 GB hard drive image and must say it performed as well as my old copy of Win4lin. I haven’t tried anything too fancy, but I did attempt starting qemu with the -user-net option which gave me easy seamless access to the internet from within the qemu OS. Very nice. I also tried it out with several other images (mostly cds) that I’ve collected.

One interesting feature of qemu is the ability to boot an existing disc or drive. For instance, you have an old dos boot floppy in your 3.5 inch drive, you can use qemu to boot from it, or your cdrom, or a hard drive. Obviously you want to be cautious about this on the primary drive, ( -snapshot is a handy switch), but it’s possible to do things which I would have otherwise thought were just impossible.

As I’ve said there is a windows version out now, although it’s in testing. It can really save you a lot of rebooting especially if you’re into testing or developing livecds. There is also a site called Free OS zoo, which provides some images for download of freely available (and distributable) operating systems. So you’ll find several linux variants there, some bsd variations and one darwin install (that I ran into some problems trying to untar.) These images will essentially save you from creating your own image and booting qemu up with “install media” and building it yourself. I think the free os zoo is an idea that REALLY could be expanded.

I didn’t get to play around with much more advanced networking because I discovered a strange problem with the tun driver on my desktop workstation. I’ll have to sort that out before I can get anything fancier than -user-net going.

Related Posts

Blog Traffic Exchange Related Posts
  • QEMU with KQemu accelerator module I've been playing around with qemu lately and there is a little tip I ran into that helps in getting the kqemu module running if you have Win4lin installed. This is from the Win4Lin support because THEIR module could conflict with it. They suggest the following. mknod -m 0666 /dev/kqemu......
  • VMware Server OK - just fresh off solving the reason I couldn't get vmplayer to start on my 1Ghz AMD 64 1GB of memory machine.... I started looking at vmserver. (RC1). Now, vmplayer is a free download (so is vmware server). I'm really liking what I see from vmware server and am......
  • Running Windows applications under Linux There are a number of Windows applications that may not have suitable replacements under linux. I know a lot of people that have considered switching, but there was "one program holding them back." Fortunately there are several options on how to keep that one application from holding you back. Well......
Blog Traffic Exchange Related Websites
  • 9 Home Improvement Ideas A great way to save money around the home is to make use of home DIY projects. These projects are typically an exchange of money and time; for putting in a little time and effort, the homeowner will save money in the long run. Listed are nine projects that are......
  • What Is Virtual Private Server A virtual private server (VPS) is a simulated hardware of a host server that enables a remote operating system to run. In the terms of web developers, a web hosting company is able to host several 'virtual' servers through one "physical" (or host) server. A "private" server is a separate......
  • Projecting the Right Image of Your Company Through Your Corporate Blog Few people realize how powerful a blog can be when it comes to projecting an image to the public. Words have a power all their own and the wrong ones may sink your company’s reputation. Before you even start your own corporate blog it is very important to first come......
en.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site