Open source qemu x86 accelerator module.
I'd like to announce qvm86; an open source x86 accelerator module for qemu.
qvm86 is basically a drop-in replacement for kqemu. However is is an independent replacement written from scratch by myself, and released under the GnNU General Public Licence (GPL).
The CVS repository and mailing list for qvm86 are hosted on savannah:
http://www.nongnu.org/qvm86/
qvm86 is still in the early stages of development, so I provide no guarantees about its reliability. It almost certainly has bugs which could crash your machine or cause data corruption. Any assistance identifying and fixing these bugs is welcomed ;-)
See the README file in qvm86 CVS for brief instructions how to install. It's basically the same procedure as kqemu.
qvm86 currently only works on x86-linux hosts, and has only been tested on relatively recent 2.6 kernels with udev installed.
It should be possible to port qvm86 to other x86 hosts (eg. FreeBSD or even Windows). I don't have immediate plans for doing such ports, but would welcome patches if other people want to do the porting. It may also be possible to x86-64 hosts, but I don't know enough details to say how hard this would be.
I have successfully booted windows 2000, freebsd and couple of different linux guests. Windows 98 guests don't work, but I think I know what's wrong.
Performance depends heavily on the guest wokload. It varies from near-native to about the same as normal qemu. For example compiling qemu with gcc is ~5x slower than native (normal qemu is ~17x slower). I believe there is sill quite a bit of scope for improving performance.
Paul Brook
Hi Paul,
First - congratulations for your new kernel module. I have few questions, if you don't mind:
1. Have you tested the speed compared to QEMU CVS + kqemu?
2. Which Windows 2000 have you installed? there are few versions of the bootable CD's, few of them comes with service packs already applied..
3. Do you plan to make it work with the 2.4.x kernels?
4. Have you tried installing it with XP as guest?
Thanks,
Hetz
Quoted 41 lines · Paul Brook
I'd like to announce qvm86; an open source x86 accelerator module for qemu.
qvm86 is basically a drop-in replacement for kqemu. However is is an independent replacement written from scratch by myself, and released under the GnNU General Public Licence (GPL).
The CVS repository and mailing list for qvm86 are hosted on savannah:
http://www.nongnu.org/qvm86/qvm86 is still in the early stages of development, so I provide no guarantees about its reliability. It almost certainly has bugs which could crash your machine or cause data corruption. Any assistance identifying and fixing these bugs is welcomed ;-)
See the README file in qvm86 CVS for brief instructions how to install. It's basically the same procedure as kqemu.
qvm86 currently only works on x86-linux hosts, and has only been tested on relatively recent 2.6 kernels with udev installed.
It should be possible to port qvm86 to other x86 hosts (eg. FreeBSD or even Windows). I don't have immediate plans for doing such ports, but would welcome patches if other people want to do the porting. It may also be possible to x86-64 hosts, but I don't know enough details to say how hard this would be.
I have successfully booted windows 2000, freebsd and couple of different linux guests. Windows 98 guests don't work, but I think I know what's wrong.
Performance depends heavily on the guest wokload. It varies from near-native to about the same as normal qemu. For example compiling qemu with gcc is ~5x slower than native (normal qemu is ~17x slower). I believe there is sill quite a bit of scope for improving performance.
Paul Brook
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 6 lines · Hetz Ben Hamo
Hi Paul,
First - congratulations for your new kernel module. I have few questions, if you don't mind:
1. Have you tested the speed compared to QEMU CVS + kqemu?
No. I expect that kqemu is faster at this stage.
Quoted 3 lines
2. Which Windows 2000 have you installed? there are few versions of the bootable CD's, few of them comes with service packs already applied..
My win2k CD is one of the original ones without any service packs. I haven't tried installing windows under qvm86, only booting existing images.
Quoted 1 line
3. Do you plan to make it work with the 2.4.x kernels?
Probably. It's not a particularly high priority, but it shouldn't be that hard either. I don't currently have any machines with 2.4 kernels, so I'd have to install one first...
Quoted 1 line
4. Have you tried installing it with XP as guest?
No. My XP CD doesn't work in normal qemu (installs OK but gets an activation error after rebooting), so I haven't tried it.
Paul
Quoted 1 line · Hetz Ben Hamo
3. Do you plan to make it work with the 2.4.x kernels?
Quoted 1 line · On Sun, Apr 03, 2005 at 19:32:46 -0500, I wrote:
Also tested on 2.4 kernels with devfs (works fine).
Actually, no. I just checked out the CVS and the Makefile is missing the 2 lines which are needed to get qvm86 to compile correctly on 2.4 (despite the fact that I told pbrook about this twice).
I don't know why he hasn't applied this patch, perhaps he doesn't plan to make this work with 2.4 after all. Or he just forgot.
Makefile Sat Apr 2 19:42:43 2005 renamed from Makefile.old Sat Apr 2 19:41:33 2005 +3 -0
@@ -36,6 +36,9 @@ include $(TOPDIR)/Rules.make +qvm86.o: $(qvm86-objs) + $(LD) -r -o $@ $(qvm86-objs) + else # called from 2.6 kernel kbuild
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Quoted 4 lines · Jim C. Brown
Quoted 1 line · Hetz Ben Hamo
3. Do you plan to make it work with the 2.4.x kernels?
On Sun, Apr 03, 2005 at 19:32:46 -0500, I wrote:
Quoted 8 lines
Quoted 1 line
Also tested on 2.4 kernels with devfs (works fine).
Actually, no. I just checked out the CVS and the
Makefileis missing the 2 lines which are needed to get qvm86 to compile correctly on 2.4 (despite the fact that I told pbrook about this twice).I don't know why he hasn't applied this patch, perhaps he doesn't plan to make this work with 2.4 after all. Or he just forgot.
The latter. Fixed now.
Paul
Quoted 7 lines · Paul Brook
Quoted 2 lines
I don't know why he hasn't applied this patch, perhaps he doesn't plan to make this work with 2.4 after all. Or he just forgot.
The latter. Fixed now.
Paul
Thanks.
BTW, when I was compiling qvm86, I got an error in qvm86-linux.c about a <linux/device.h> (which I don't have). Commenting out that line made the kernel module compile correctly (under 2.4.26).
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Quoted 2 lines · Paul Brook
qvm86 currently only works on x86-linux hosts, and has only been tested on relatively recent 2.6 kernels with udev installed.
Also tested on 2.4 kernels with devfs (works fine).
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Congratulations, Paul.
Kind regards, Jean-Michel
Quoted 4 lines · Paul Brook
qvm86 is still in the early stages of development, so I provide no guarantees about its reliability. It almost certainly has bugs which could crash your machine or cause data corruption. Any assistance identifying and fixing these bugs is welcomed
It actually did crash my Slackware box (kernel 2.6.11.6) and reboot it when trying to start WinXP. Couldn't identify though the exact point of the process where the problem occurred.
Ciao,
Piero
Quoted 8 lines · Paul Brook
I'd like to announce qvm86; an open source x86 accelerator module for qemu.
qvm86 is basically a drop-in replacement for kqemu. However is is an independent replacement written from scratch by myself, and released under the GnNU General Public Licence (GPL).
The CVS repository and mailing list for qvm86 are hosted on savannah:
http://www.nongnu.org/qvm86/
excellent work!
Quoted 4 lines
qvm86 is still in the early stages of development, so I provide no guarantees about its reliability. It almost certainly has bugs which could crash your machine or cause data corruption. Any assistance identifying and fixing these bugs is welcomed ;-)
is an ioctl interface really the best choice here? what about a new syscall instead?
I know that might need some changes to qemu too, but I guess it might increase performance ... (i.e. lower overhead)
best,
Herbert
Quoted 27 lines
See the README file in qvm86 CVS for brief instructions how to install. It's basically the same procedure as kqemu.
qvm86 currently only works on x86-linux hosts, and has only been tested on relatively recent 2.6 kernels with udev installed.
It should be possible to port qvm86 to other x86 hosts (eg. FreeBSD or even Windows). I don't have immediate plans for doing such ports, but would welcome patches if other people want to do the porting. It may also be possible to x86-64 hosts, but I don't know enough details to say how hard this would be.
I have successfully booted windows 2000, freebsd and couple of different linux guests. Windows 98 guests don't work, but I think I know what's wrong.
Performance depends heavily on the guest wokload. It varies from near-native to about the same as normal qemu. For example compiling qemu with gcc is ~5x slower than native (normal qemu is ~17x slower). I believe there is sill quite a bit of scope for improving performance.
Paul Brook
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Hi Paul
Congratulations on qvm86 !!
I tried it by booting Insert. I dmesg I get:
qvm86: Module loaded
qvm86: Created device 10.61
qvm86: Creating guest VM
qvm86: 59892 7247 12536 1389 811 35264
qvm86:t: 0 5100842 42139
0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:811 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0
qvm86:194711 16777 25669 3525 105 20701
qvm86:t: 2861 678785 44576
0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:103 8:0 9:0 10:0 11:0 12:0 13:2 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0
qvm86:253100 17016 10065 2321 0 37614
qvm86:t: 2865 7284692 50952
0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0
Are these numbers errors?
If they are errors Insert is booting, without error :)
Jens