merging kqemu into mainline kernel?
Hello,
Is it planned to submit kqemu to lkml for inclusion into the mainline kernel?
if not why?
if yes any idea when? is it possible to try to get it in 2.6.24 ?
Hi,
I'm just a user...
Is it planned to submit kqemu to lkml for inclusion into the mainline
Quoted 1 line
kernel?
Never seen anyone talking about this...
if not why?
Maybe because KVM was included (
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7)
if yes any idea when? is it possible to try to get it in 2.6.24 ?
Quoted 1 line
I don't know if Linus would accept it. As I said, KVM was included, although kqemu as the advantage of working in older hardware (without AMD-V or Intel equivalent virtualization instructions).
Maybe if it was possible to make merge kqemu into KVM to take the best of the two... But I don't know anything about KVM nor kqemu code...
Regards,
Ricardo Almeida
Quoted 8 lines · Ricardo Almeida
Hi,
I'm just a user...Is it planned to submit kqemu to lkml for inclusion into the mainline
Quoted 1 line
kernel?
Quoted 8 lines
Never seen anyone talking about this...
if not why?
Maybe because KVM was included (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7
)
I know that
if yes any idea when? is it possible to try to get it in 2.6.24 ?
Quoted 7 lines
Quoted 1 line
I don't know if Linus would accept it. As I said, KVM was included, although kqemu as the advantage of working in older hardware (without AMD-V or Intel equivalent virtualization instructions).
Maybe if it was possible to make merge kqemu into KVM to take the best of the two... But I don't know anything about KVM nor kqemu code...
thats the reason I (and many other users) want to see it merged. for ex. the fedora kernel maintainers don't want to add it until its part of the upstream kernel.
You don't need to compile kqemu into the kernel. When I install dkms-kqemu from freshrpms, I do NOT rebuild my kernel. I am fairly certain with Fedora's new policy for extras, there would not be much of a problem getting it added to Fedora. For that matter, it could probably get added into the new Enterprise Extra's repository as well. However, someone would need to volunteer to maintain the package.
Bill
Quoted 39 lines · dragoran
Quoted 8 lines · Ricardo Almeida
Hi,
I'm just a user...Is it planned to submit kqemu to lkml for inclusion into the mainline
Quoted 1 line
kernel?
Quoted 8 lines
Never seen anyone talking about this...
if not why?
Maybe because KVM was included (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6aa8b732ca01c3d7a54e93f4d701b8aabbe60fb7
)I know that
if yes any idea when? is it possible to try to get it in 2.6.24 ?
Quoted 7 lines
Quoted 1 line
I don't know if Linus would accept it. As I said, KVM was included, although kqemu as the advantage of working in older hardware (without AMD-V or Intel equivalent virtualization instructions).
Maybe if it was possible to make merge kqemu into KVM to take the best of the two... But I don't know anything about KVM nor kqemu code...thats the reason I (and many other users) want to see it merged. for ex. the fedora kernel maintainers don't want to add it until its part of the upstream kernel.
Quoted 1 line · Bill C. Riemers
You don't need to compile kqemu into the kernel. When I install dkms-kqemu from freshrpms, I do NOT rebuild my kernel. I am fairly certain with Fedora's new policy for extras, there would not be much of a problem getting it added to Fedora. For that matter, it could probably get added into the new Enterprise Extra's repository as well. However, someone would need to volunteer to maintain the package.
no thats not true fedora want to change the policy about out of tree modules the want to drop all kmod-* packages and only allow modules into the kernel rpm that are upstream or about to get merged upstream. anyway why has kqemu to be a out of tree module?
Quoted 8 lines · dragoran
Quoted 6 lines · Bill C. Riemers
You don't need to compile kqemu into the kernel. When I install dkms-kqemu from freshrpms, I do NOT rebuild my kernel. I am fairly certain with Fedora's new policy for extras, there would not be much of a problem getting it added to Fedora. For that matter, it could probably get added into the new Enterprise Extra's repository as well. However, someone would need to volunteer to maintain the package.
Quoted 4 lines
no thats not true fedora want to change the policy about out of tree modules the want to drop all kmod-* packages and only allow modules into the kernel rpm that are upstream or about to get merged upstream. anyway why has kqemu to be a out of tree module?
Mainly because the kernel already has one perfectly good virtualization interface. There's very little motivation to add another incompatible one, especially when the implementation is known to be fundamentally flawed, and probably insecure.
If you really want to get it merged I suggest modifying kqemu to use the kvm interface, augmenting the kvm interface if necessary.
Paul
Are you referring to the API when you say interface, or the functionality itself? If the former that's a reasonable argument, but the latter is not valid since KVM requires a VT or AMD-V-capable processor, right? KQEMU does not, and therefore [today] works on a much larger installed base of hardware. Unless I am misunderstanding something?
- Leo Reiter
Quoted 26 lines · Paul Brook
Quoted 8 lines · dragoran
Quoted 6 lines · Bill C. Riemers
You don't need to compile kqemu into the kernel. When I install dkms-kqemu from freshrpms, I do NOT rebuild my kernel. I am fairly certain with Fedora's new policy for extras, there would not be much of a problem getting it added to Fedora. For that matter, it could probably get added into the new Enterprise Extra's repository as well. However, someone would need to volunteer to maintain the package.
Quoted 4 lines
no thats not true fedora want to change the policy about out of tree modules the want to drop all kmod-* packages and only allow modules into the kernel rpm that are upstream or about to get merged upstream. anyway why has kqemu to be a out of tree module?
Mainly because the kernel already has one perfectly good virtualization interface. There's very little motivation to add another incompatible one, especially when the implementation is known to be fundamentally flawed, and probably insecure.
If you really want to get it merged I suggest modifying kqemu to use the kvm interface, augmenting the kvm interface if necessary.
Paul
Quoted 5 lines
Quoted 5 lines
Mainly because the kernel already has one perfectly good virtualization interface. There's very little motivation to add another incompatible one, especially when the implementation is known to be fundamentally flawed, and probably insecure.
Quoted 8 lines
Quoted 2 lines
If you really want to get it merged I suggest modifying kqemu to use the kvm interface, augmenting the kvm interface if necessary.
Are you referring to the API when you say interface, or the functionality itself? If the former that's a reasonable argument, but the latter is not valid since KVM requires a VT or AMD-V-capable processor, right? KQEMU does not, and therefore [today] works on a much larger installed base of hardware.
Yes, I mean the API. However in practice you'd probably want to try and share the implementation as well. In short it's likely to need rewriting before it's acceptable upstream.
Paul
P.S. Please don't top-post. Consider this your final warning.
Quoted 8 lines · Paul Brook
Yes, I mean the API. However in practice you'd probably want to try and share the implementation as well. In short it's likely to need rewriting before it's acceptable upstream.
Paul
P.S. Please don't top-post. Consider this your final warning.
blame it on gmail. this is the default behaviour.
it's obviously not intended...
Signature · 3 lines
Christian -- http://detaolb.sourceforge.net/, a linux distribution for Qemu
Quoted 2 lines · Christian MICHON
blame it on gmail. this is the default behaviour.
it's obviously not intended...
At the risk of drifting further off-topic, I'd just point out that you can press Ctrl-End in the Gmail message window before you type your reply.
--Ed
Quoted 2 lines · Paul Brook
Mainly because the kernel already has one perfectly good virtualization interface.
Weren't both Xen and lguest recently merged to the (upcoming) 2.6.23 kernel?
Signature · 4 lines
< Jernej Simonèiè ><><><><>< http://deepthought.ena.si/ >
If it looks easy, it's tough. If it looks tough, it's damn near impossible.
-- Stockmayer's TheoremQuoted 7 lines · Jernej Simon?i?
Quoted 2 lines · Paul Brook
Mainly because the kernel already has one perfectly good virtualization interface.
Weren't both Xen and lguest recently merged to the (upcoming) 2.6.23 kernel?
They're different to this scenario. Xen & lguest are Host <-> Guest ABIs, and both ultimately use the common paravirt_ops API inside the kernel.
kqemu & kvm are Host Kernel <-> Host Userspace APIs, which are completely different, sharing no commonality in their APIs. kqemu stands very little chance getting merged unless it can share its userspace API model with KVM. This would have the added advantage that the QEMU binary would only need to talk one protocol to the kernel too, removing the need for the fork between plain QEMU & KVM-ified QEMU.
Dan.
Signature · 4 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
Quoted 2 lines · Paul Brook
If you really want to get it merged I suggest modifying kqemu to use the kvm interface, augmenting the kvm interface if necessary.
This sounds like the way to go.
Quoted 11 lines · dragoran
Quoted 6 lines · Bill C. Riemers
You don't need to compile kqemu into the kernel. When I install dkms-kqemu from freshrpms, I do NOT rebuild my kernel. I am fairly certain with Fedora's new policy for extras, there would not be much of a problem getting it added to Fedora. For that matter, it could probably get added into the new Enterprise Extra's repository as well. However, someone would need to volunteer to maintain the package.
no thats not true fedora want to change the policy about out of tree modules the want to drop all kmod-* packages and only allow modules into the kernel rpm that are upstream or about to get merged upstream. anyway why has kqemu to be a out of tree module?
It looks like you are right. Apparently the plan is to move the acceptance of kernel modules to kernel maintainers. For the most part, they only want to accept very cleanly written modules that are likely to be integrated into the kernel. Since "kqemu" is viewed as a solution only for obsolete hardware, that is not likely to happen. It is a shame too, because "kqemu" provides a quality working solution for most of the hardware still in use today.
Bill
Quoted 16 lines · Bill C. Riemers
Quoted 9 lines · dragoran
Quoted 7 lines · Bill C. Riemers
You don't need to compile kqemu into the kernel. When I install dkms-kqemu from freshrpms, I do NOT rebuild my kernel. I am fairly certain with Fedora's new policy for extras, there would not be much of a problem getting it added to Fedora. For that matter, it could probably get added into the new Enterprise Extra's repository as well. However, someone would need to volunteer to maintain the package.
Quoted 5 lines
no thats not true fedora want to change the policy about out of tree modules the want to drop all kmod-* packages and only allow modules into the kernel rpm that are upstream or about to get merged upstream. anyway why has kqemu to be a out of tree module?
Quoted 5 lines
It looks like you are right. Apparently the plan is to move the acceptance of kernel modules to kernel maintainers. For the most part, they only want to accept very cleanly written modules that are likely to be integrated into the kernel. Since "kqemu" is viewed as a solution only for obsolete hardware, that is not likely to happen.
I am not sure that working on older hardware will keep it out of the kernel. it adds support for unsupported hardware .... I don't see a problem here.
Quoted 5 lines
It is a shame
too, because "kqemu" provides a quality working solution for most of the hardware still in use today.
we should atleast try to get it in ... the "it wont get merged anyway" attitude isn't very helpfull.
Quoted 5 lines · dragoran
Quoted 5 lines
It looks like you are right. Apparently the plan is to move the acceptance of kernel modules to kernel maintainers. For the most part, they only want to accept very cleanly written modules that are likely to be integrated into the kernel. Since "kqemu" is viewed as a solution only for obsolete hardware, that is not likely to happen.
Quoted 7 lines
I am not sure that working on older hardware will keep it out of the kernel. it adds support for unsupported hardware .... I don't see a problem here.
Quoted 5 lines
It is a shame
too, because "kqemu" provides a quality working solution for most of the hardware still in use today.we should atleast try to get it in ... the "it wont get merged anyway" attitude isn't very helpfull.
I hope the kqemu module could be either updated and merged as it is or its functionality, i.e. not hardware assisted acceleration, integrated into the kvm module (if possible). The latter would be an adequate solution for x86, but what about other architectures?
Over the past few months I have added both MIPS and SPARC based systems to my collection and I would like to have some kind of acceleration of guests for those as well, short of recreating VMware for both.
The operating system running on all architectures is the same, so why support one over the other? I understand x86 is the dominant architecture for general purpose computing at the moment, but UltraSPARC T1/T2, Loongson, Cell and future IA64 processors are changing all of that.
Sunil