[Bug 348391] Re: qemu cannot use KVM
Fix released in Karmic's qemu-kvm-0.11. Please reopen if you can reproduce with that package. :-Dustin ** Changed in: qemu (Ubuntu) Status: New = Fix Released -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 348391] Re: qemu cannot use KVM
I am using Karmic Alpha 2 updated to 9/jul/2009 and I still see this problem. qemu console says KVM not supported when I send it the command info (I am using qtemu new version yet to be released for which I am writing help files) and in the QTEMU console tab I type:- (qemu) info kvm kvm support: not compiled (qemu) Once this is complied into qemu kvm should just become a link to qemu (for backwards compatibility) This will greatly simplify the qtemu functionality -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 348391] Re: qemu cannot use KVM
As a workaround for kernels 2.6.28: - The only source file that have a reference to KVM_CAP_DESTROY_MEMORY_REGION_WORKS is kvm-all.c - If you look at that file, there is a comment that states the problem is related to kvm 80 or earlier (before feb 2009) - Because the package now is kvm 84, and the kernel (2.6.28-13) is newer, I commented out the 8 lines in kvm-all.c, and deleted the 3 lines in configure. - Then I was able to compile qemu-0.10.5 with kvm support enabled (this option is enabled by default, there is no --enable-kvm option) -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 348391] Re: qemu cannot use KVM
I understand why the functionality is not working but in that case the documentation (qemu man page) should be fixed. This section should just be removed: -enable-kvm Enable KVM full virtualization support. This option is only available if KVM support is enabled when compiling. Is this worth opening a separate bug report for? -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 348391] Re: qemu cannot use KVM
In my opinion, the most obvious fix is to enable the functionality. Systems using kernels older than 2.6.29 will not be able to benefit from ti, exactly as it is the case now, and will see little difference. Systems with newer kernels (I have a custom-compiled 2.6.29 will profit from it. There will be no need to package a new version explicitely for 2.6.29, and no kernel version dependency will need to be set. -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 348391] Re: qemu cannot use KVM
According to the build log http://launchpadlibrarian.net/23783818/buildlog_ubuntu-jaunty-i386.qemu_0.10.0-1ubuntu1_FULLYBUILT.txt.gz kvm support has not been (correctly) built in. The configure script states: KVM support no - (#error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS) Any ideas? -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 348391] Re: qemu cannot use KVM
Bad news: KVM_CAP_DESTROY_MEMORY_REGION_WORKS only appears in kvm.h from kernel 2.6.29. As jaunty is based on 2.6.28, it seems we won't be able to use kvm acceleration directly in qemu. We'll have to stick with the modified qemu provided by kvm until the next version of ubuntu. -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 348391] Re: qemu cannot use KVM
Vianney- Thanks for the investigative reporting. I'm going to mark this as won't fix against Jaunty, and target it for Karmic. We should see it fixed there ;-) :-Dustin ** Also affects: qemu (Ubuntu Jaunty) Importance: Undecided Status: New ** Changed in: qemu (Ubuntu Jaunty) Status: New = Won't Fix -- qemu cannot use KVM https://bugs.launchpad.net/bugs/348391 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs