FS#7331 - kvm as seperate package
Attached to Project:
Arch Linux
Opened by Blaž Tomažič (billy) - Friday, 01 June 2007, 08:43 GMT
Last edited by Alexander Baldeck (kth5) - Wednesday, 01 August 2007, 22:15 GMT
Opened by Blaž Tomažič (billy) - Friday, 01 June 2007, 08:43 GMT
Last edited by Alexander Baldeck (kth5) - Wednesday, 01 August 2007, 22:15 GMT
|
Details
Kvm is developing and including new features very fast and
the built in kernel module gets old over time. For a new
version of kvm you need to wait for a new kernel release
which are not that very frequent. At the time of writing
current kvm version (version 26) supports Windows Vista as a
guest operating system and current built-in kernel kvm
module (version 17) does not. Could kvm be maintained as a
seperate package using an external module?
Also KVM webpage says that it is recommended to add kvm support in this way. http://kvm.qumranet.com/kvmwiki/Downloads |
This task depends upon
Closed by Alexander Baldeck (kth5)
Wednesday, 01 August 2007, 22:15 GMT
Reason for closing: Won't implement
Additional comments about closing: kvm enabled in kernel + qemu-kvm in qemu package
Wednesday, 01 August 2007, 22:15 GMT
Reason for closing: Won't implement
Additional comments about closing: kvm enabled in kernel + qemu-kvm in qemu package
kvm-modules-28-1-x86_64
qemu-0.9.0-2-x86_64
qemu-system-x86_64 has been replaced with the Qemu/KVM that ships with kvm upstream.
Feel free to play with it on i686, I don't have hardware to test atm.
>
> kvm-modules-28-1-x86_64
> qemu-0.9.0-2-x86_6
Are these packages in the AUR? I can't seem to find them :(
> kvm upstream also includes qemu ours would not.
Err, but kvm comes with a modified qemu. The official qemu package does not make take advantage of the acceleration provided by kvm modules?
I think we need to provide both kvm and kvm-utils packages.
if you have a look at the TESTING-64 version of qemu, you'll see how it's been done.
Ahh... right. I realize now from the PKGBUILD that the qemu sources have been patched with those from kvm.
Awesome :)
Sorry for the bugspam.
http://mail.busybox.net/downloads/qemu/qemu-gcc-4-all.patch
http://www.kju-app.org/proj/browser/trunk/patches/qemu-0.9.0-gcc4.patch
Anyway, I send this message because I've successfully built the kvm-modules package on i686 but needed to change the PKGBUILD:
* To successfully build the kvm-qemu I need to upgrade to gcc 3.4.6 (so i change this in the PKGBUILD)
* The move at the end is only necessary for x86_64
For the qemu version needed to use kvm, I build it in a qemu-kvm package which replace (and provide) the qemu one.
Attached, there are the 3 PKGBUILDs ( gcc3, kvm-modules, kvm-utils)
P.S: i've only touch the x86 part, the x86_64 stay as it was.
PKGBUILD (1.2 KiB)
PKGBUILD (1 KiB)
* Do not depends on gcc3, cause it's only needed to build the qemu, not the module.
* Same configure for i686 and x86_64
* Do not call the qemu configure wch seems to make some weirds thinks in /tmp (qemu-noconfigue.patch)
qemu 0.9 builds ok with qemu-0.9.0-gcc4.patch, kvm side dies with errors in src/kvm-28/qemu/target-i386/ops_sse.h. the other patch doesn't apply cleanly to either qemu 0.9 or kvm-28.
all PKGBUILDs from Nicolas (Slubman) work fine here on i686. i think qemu-kvm PKGBUILD should have gcc3>=3.4.0 instead of just gcc3 in makedepends.