a (bad) kvm story from a plain user
Hello list.
I want to share my first kvm experience with you and ask for your advice.
I run up-to-date Ubuntu 7.04 (kernel 2.6.20) on AMD processor.
I did apt-get installed kvm (which gave me the kvm-amd.ko module), and qemu packages.
I modprobed kvm-adm.ko with no hassle.
and then I followed the HOWTO page on the kvm wiki - created an qemu image and booted off a cd for installing RH9.0 (yeah, antique).
But the installation was sooooo slow. about 3 hours !
How can I know if the qemu I ran took advantage of the kvm module ?
I ran /usr/bin/qemu as I didn't have /usr/local/kvm/bin/qemu like the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).
So maybe the qemu I ran was just plain qemu, without the kvm changes ?
if so, then how could I have the kvm-changed qemu binaires ?
I even tried to compile the kvm bundle myself (i took the one that is recommended for kernel 2.6.20, as the wiki says), but alas, the ./configure shouted I don't have gcc 3.x (which is indeed true as an up-to-date system today have gcc 4.x).
so was there another way to compile the kvm bundle ?
last question - the ./configure script has the option reflecting whether the kernel is patched or not. if i download the cutting edge rc3 kernel, should i add the --patched flag or not ?
thank you
hope u could help me
slohm
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): f95a91fd0708141222h19dc65a7hf395658107703413-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 1 line
How can I know if the qemu I ran took advantage of the kvm module ?
By the time you reported, probably did not.
Quoted 4 lines
I even tried to compile the kvm bundle myself (i took the one that is recommended for kernel 2.6.20, as the wiki says), but alas, the ./configure shouted I don't have gcc 3.x (which is indeed true as an up-to-date system today have gcc 4.x).
It should be included in any up-to-date system as an alternative. Probably gcc-compat, or something like this.
Quoted 4 lines
last question - the ./configure script has the option reflecting whether the kernel is patched or not. if i download the cutting edge rc3 kernel, should i add the --patched flag or not ?
Yes ;-)
Signature · 11 lines
Glauber de Oliveira Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 5d6222a80708141230y2933d350h853ae866a51e5eda-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 8 lines · Glauber de Oliveira Costa
Quoted 5 lines
I even tried to compile the kvm bundle myself (i took the one that is recommended for kernel 2.6.20, as the wiki says), but alas, the ./configure shouted I don't have gcc 3.x (which is indeed true as an up-to-date system today have gcc 4.x).
It should be included in any up-to-date system as an alternative. Probably gcc-compat, or something like this.
I'm also trying exactly that:
- use ubuntu 7.04 desktop edition
- use ubuntu (updated) kernel (Linux kruimelvlaai 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux)
Im using an AMD Athlon 64 X2 4800+ processor
These where the packages I installed to get me started (added the sudo part for possibly easy copy pasting):
sudo apt-get install libasound2-dev
sudo apt-get install libsdl-gfx1.2-dev
sudo apt-get install gcc-3.4
sudo apt-get install zlibc
sudo apt-get install lib64z1-dev
sudo apt-get install uuid-dev
Which got me a compiled kvm-34 and an installed one.
But starting it gave me:
koen@kruimelvlaai:~$ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda images/ubuntu704-server.img -boot c -m 512 Password: kvm kernel version too old: KVM_GET_API_VERSION ioctl not supported Could not initialize KVM, will disable KVM support
Then I checked if it would be easy/possible to keep using ubuntu and install a self-compiled kernel (processing power to spend, so why not). But that proved to be not such a good idea, since 'recompile kernel - nividia dont work - Ubuntu Forums'
http://ubuntuforums.org/showthread.php?t=524411
So while downloading the daily snapshot of gutsy
(http://cdimage.ubuntu.com/daily-live/current/) I tried version kvm-17.
If you hit 'sudo apt-get install kvm' you'll get kvm-16 :
~$ zcat /usr/share/doc/kvm/changelog.Debian.gz | head kvm (1:16-1ubuntu2) feisty; urgency=low
* Revert to kvm-16 to match released kernel.
* Add epoch.
This page does not tell you what version will work with the ubuntu supported kernel (of course) http://kvm.qumranet.com/kvmwiki/Downloads
Can anyone tell me:
- what is the linux host OS flavour and version the developers use?
- what is the latest kvm-version that 'just works' on a ubuntu 7.04 desktop release?
Quoted 4 lines
Quoted 4 lines
last question - the ./configure script has the option reflecting whether the kernel is patched or not. if i download the cutting edge rc3 kernel, should i add the --patched flag or not ?
I found out that using the --with-patched-kernel I did not get it compiled at all.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 46C21C9A.2080806-OoqVcbiag8BWk0Htik3J/[email protected]
this seems like you didnt load your new modules
try to do:
rmmod kvm_amd
rmmod kvm
and then load the moudles in your compiling dir:
like:
cd kvm-34/kernel
insmod kvm.ko
insmod kvm-amd.ko
and then try
Quoted 68 lines · Koen de Jonge
Quoted 8 lines · Glauber de Oliveira Costa
Quoted 5 lines
I even tried to compile the kvm bundle myself (i took the one that is recommended for kernel 2.6.20, as the wiki says), but alas, the ./configure shouted I don't have gcc 3.x (which is indeed true as an up-to-date system today have gcc 4.x).
It should be included in any up-to-date system as an alternative. Probably gcc-compat, or something like this.
I'm also trying exactly that:
- use ubuntu 7.04 desktop edition
- use ubuntu (updated) kernel (Linux kruimelvlaai 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux)Im using an AMD Athlon 64 X2 4800+ processor
These where the packages I installed to get me started (added the sudo part for possibly easy copy pasting):
sudo apt-get install libasound2-dev
sudo apt-get install libsdl-gfx1.2-dev
sudo apt-get install gcc-3.4
sudo apt-get install zlibc
sudo apt-get install lib64z1-dev
sudo apt-get install uuid-devWhich got me a compiled kvm-34 and an installed one.
But starting it gave me:
koen@kruimelvlaai:~$ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda images/ubuntu704-server.img -boot c -m 512 Password: kvm kernel version too old: KVM_GET_API_VERSION ioctl not supported Could not initialize KVM, will disable KVM supportThen I checked if it would be easy/possible to keep using ubuntu and install a self-compiled kernel (processing power to spend, so why not). But that proved to be not such a good idea, since 'recompile kernel - nividia dont work - Ubuntu Forums'
http://ubuntuforums.org/showthread.php?t=524411So while downloading the daily snapshot of gutsy
(http://cdimage.ubuntu.com/daily-live/current/) I tried version kvm-17.If you hit 'sudo apt-get install kvm' you'll get kvm-16 :
~$ zcat/usr/share/doc/kvm/changelog.Debian.gz| head kvm (1:16-1ubuntu2) feisty; urgency=low* Revert to kvm-16 to match released kernel.
* Add epoch.This page does not tell you what version will work with the ubuntu supported kernel (of course) http://kvm.qumranet.com/kvmwiki/Downloads
Can anyone tell me:
- what is the linux host OS flavour and version the developers use?
- what is the latest kvm-version that 'just works' on a ubuntu 7.04 desktop release?Quoted 4 lines
Quoted 4 lines
last question - the ./configure script has the option reflecting whether the kernel is patched or not. if i download the cutting edge rc3 kernel, should i add the --patched flag or not ?
I found out that using the --with-patched-kernel I did not get it compiled at all.
Quoted 9 lines
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 1187126609.15054.37.camel-wV29XY6ncz+I84jL4+POOYeT0m0igiSA0E9HWUfgJXw@public.gmane.org
Quoted 5 lines · Izik Eidus
this seems like you didnt load your new modules
try to do:
rmmodkvm_amd
rmmod kvm
Quoted 8 lines
and then load the moudles in your compiling dir:
like:
cd kvm-34/kernel
insmod kvm.ko
insmod kvm-amd.koand then try
That did help (a lot), now it is running on ubuntu 7.04 desktop with kvm-34 on kernel 2.6.20-16-generic. :) And what is more important, it feels a lot faster than the 'apt-get install' version.
I'll reinstall my entire desktop again some time this week and write up a tutorial on how to get KVM running with the latest version on your ubuntu 7.04 desktop installation (starting with the ubuntu cd).
Thanks,
Koen
Quoted 75 lines · Koen de Jonge
Quoted 74 lines
Quoted 10 lines · Glauber de Oliveira Costa
Quoted 6 lines
I even tried to compile the kvm bundle myself (i took the one that is recommended for kernel 2.6.20, as the wiki says), but alas, the ./configure shouted I don't have gcc 3.x (which is indeed true as an up-to-date system today have gcc 4.x).
It should be included in any up-to-date system as an alternative. Probably gcc-compat, or something like this.
I'm also trying exactly that:
- use ubuntu 7.04 desktop edition
- use ubuntu (updated) kernel (Linux kruimelvlaai 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux)Im using an AMD Athlon 64 X2 4800+ processor
These where the packages I installed to get me started (added the sudo part for possibly easy copy pasting):
sudo apt-get install libasound2-dev
sudo apt-get install libsdl-gfx1.2-dev
sudo apt-get install gcc-3.4
sudo apt-get install zlibc
sudo apt-get install lib64z1-dev
sudo apt-get install uuid-devWhich got me a compiled kvm-34 and an installed one.
But starting it gave me:
koen@kruimelvlaai:~$ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda images/ubuntu704-server.img -boot c -m 512 Password: kvm kernel version too old: KVM_GET_API_VERSION ioctl not supported Could not initialize KVM, will disable KVM supportThen I checked if it would be easy/possible to keep using ubuntu and install a self-compiled kernel (processing power to spend, so why not). But that proved to be not such a good idea, since 'recompile kernel - nividia dont work - Ubuntu Forums'
http://ubuntuforums.org/showthread.php?t=524411So while downloading the daily snapshot of gutsy
(http://cdimage.ubuntu.com/daily-live/current/) I tried version kvm-17.If you hit 'sudo apt-get install kvm' you'll get kvm-16 :
~$ zcat/usr/share/doc/kvm/changelog.Debian.gz| head kvm (1:16-1ubuntu2) feisty; urgency=low* Revert to kvm-16 to match released kernel.
* Add epoch.This page does not tell you what version will work with the ubuntu supported kernel (of course) http://kvm.qumranet.com/kvmwiki/Downloads
Can anyone tell me:
- what is the linux host OS flavour and version the developers use?
- what is the latest kvm-version that 'just works' on a ubuntu 7.04 desktop release?Quoted 5 lines
Quoted 5 lines
last question - the ./configure script has the option reflecting whether the kernel is patched or not. if i download the cutting edge rc3 kernel, should i add the --patched flag or not ?
I found out that using the --with-patched-kernel I did not get it compiled at all.
Quoted 12 lines
Quoted 10 lines
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Izik Eidus wrote:
<a reminder on how to remove and insert kernel modules>
Quoted 7 lines · Koen de Jonge
Quoted 6 lines
Can anyone tell me:
- what is the linux host OS flavour and version the developers use?
- what is the latest kvm-version that 'just works' on a ubuntu 7.04 desktop release?
I still like to know the answer to those questions though, that might also help in providing debug info once I get in a bit deeper.
Koen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 46C22325.3000403-OoqVcbiag8BWk0Htik3J/[email protected]
Quoted 7 lines · Koen de Jonge
Izik Eidus wrote:
<a reminder on how to remove and insert kernel modules>
Quoted 3 lines · Koen de Jonge
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Can anyone tell me:
- what is the linux host OS flavour and version the developers use?
- what is the latest kvm-version that 'just works' on a ubuntu 7.04 desktop release?I still like to know the answer to those questions though, that might also help in providing debug info once I get in a bit deeper.
Different developers use different distros. On my servers I use FC6 x86-64, with the kernel from kvm.git (all kvm changes, closely tracking mainline Linux); on my home machine I use F7 i386 with a similar kernel.
Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Quoted 9 lines · Koen de Jonge
Izik Eidus wrote:
<a reminder on how to remove and insert kernel modules>
Quoted 6 lines · Koen de Jonge
Quoted 5 lines
Can anyone tell me:
- what is the linux host OS flavour and version the developers use?
- what is the latest kvm-version that 'just works' on a ubuntu 7.04 desktop release?
I have a mix of Feisty and Gutsy hosts. I think it's as well supported as anything else for all KVM releases.
A few simple tips:
1) apt-get build-dep kvm will get you everything you need except gcc-3.4
2) the kvm that comes in Feisty is pretty old. Gutsy currently has kvm-28 which is relatively recent. Most importantly, it has a new enough version such that the ABI between kernel space and user space is stable.
Ubuntu users won't face these incompatibility issues once Gutsy is released.
Regards,
Anthony Liguori
Quoted 6 lines
Quoted 1 line
Quoted 1 line
I still like to know the answer to those questions though, that might also help in providing debug info once I get in a bit deeper.
Koen
Quoted 9 lines
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Quoted 5 lines · Slohm Gadaburi
I did apt-get installed kvm (which gave me the kvm-amd.ko module), and qemu packages.
I modprobed kvm-adm.ko with no hassle.
Quoted 7 lines
and then I followed the HOWTO page on the kvm wiki - created an qemu image and booted off a cd for installing RH9.0 (yeah, antique).
But the installation was sooooo slow. about 3 hours !
How can I know if the qemu I ran took advantage of the kvm module ?
If it cannot use hw virtualization it tells you:
Could not initialize KVM, will disable KVM support
Quoted 2 lines
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).
Under debian the executable is called kvm; I believe that it's the same under ubuntu. Run dpkg -L kvm and see what has been installed.
Luca
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
one easy way to check if the qemu binary you ran had kvm support at all is:
run /usr/bin/qemu --help | grep kvm
if you see there something like: -no-kvm disable KVM hardware... this is patched qemu with support to kvm.
after this run:
lsmod | grep kvm
and check if the kvm driver is loaded
if it is not do:
modprobe kvm-amd
if this fail please write the message it give you to this list.
after this try to run qemu again, and check if it say something like:
Could not initialize KVM, will disable KVM support
in that case if the module was loaded you probably dont have permission to use it
easy way would be trying as root, or adding yourself to the group.
hope i helped you
Quoted 42 lines · Slohm Gadaburi
Hello list.
I want to share my first kvm experience with you and ask for your advice.
I run up-to-date Ubuntu 7.04 (kernel 2.6.20) on AMD processor.
I did apt-get installed kvm (which gave me the kvm-amd.ko module), and qemu packages.
I modprobed kvm-adm.ko with no hassle.
and then I followed the HOWTO page on the kvm wiki - created an qemu image and booted off a cd for installing RH9.0 (yeah, antique).
But the installation was sooooo slow. about 3 hours !
How can I know if the qemu I ran took advantage of the kvm module ?
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).So maybe the qemu I ran was just plain qemu, without the kvm changes ?
if so, then how could I have the kvm-changed qemu binaires ?
I even tried to compile the kvm bundle myself (i took the one that is recommended for kernel 2.6.20, as the wiki says), but alas, the ./configure shouted I don't have gcc 3.x (which is indeed true as an up-to-date system today have gcc 4.x).
so was there another way to compile the kvm bundle ?
last question - the ./configure script has the option reflecting whether the kernel is patched or not. if i download the cutting edge rc3 kernel, should i add the --patched flag or not ?
thank you
hope u could help me
slohm
Quoted 9 lines
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Quoted 2 lines · Slohm Gadaburi
How can I know if the qemu I ran took advantage of the kvm module ?
No one mentioned my favorite: when kvm is in control, the title bar of the guest console window changes to "QEMU/KVM".
Quoted 3 lines
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).
Well, the HOWTO assumes you did all the previous steps. We should have a HOWTO/Ubuntu for distro users (but really, Ubuntu should have a gui for this).
Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 46C2688D.80505-atKUWr5tajBWk0Htik3J/[email protected]
Quoted 7 lines · Avi Kivity
Quoted 2 lines · Slohm Gadaburi
How can I know if the qemu I ran took advantage of the kvm module ?
No one mentioned my favorite: when kvm is in control, the title bar of the guest console window changes to "QEMU/KVM".
Quoted 7 lines
Quoted 3 lines
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).Well, the HOWTO assumes you did all the previous steps. We should have a HOWTO/Ubuntu for distro users (but really, Ubuntu should have a gui for this).
virt-manager isn't currently packaged for Ubuntu (even in Gutsy). If there any Ubuntu devs out there, please consider packaging it!
Regards,
Anthony Liguori
Quoted 1 line
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Quoted 13 lines · Anthony Liguori
Quoted 11 lines · Avi Kivity
Quoted 2 lines · Slohm Gadaburi
How can I know if the qemu I ran took advantage of the kvm module ?
No one mentioned my favorite: when kvm is in control, the title bar of the guest console window changes to "QEMU/KVM".
Quoted 3 lines
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).
Quoted 6 lines
Quoted 3 lines
Well, the HOWTO assumes you did all the previous steps. We should have a HOWTO/Ubuntu for distro users (but really, Ubuntu should have a gui for this).
virt-manager isn't currently packaged for Ubuntu (even in Gutsy). If there any Ubuntu devs out there, please consider packaging it!
There are virt-manager packages for Debian so it shouldn't be hard to port them.
Regards,
Dan.
Signature · 10 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 -=| ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 18 lines · Daniel P. Berrange
Quoted 17 lines · Anthony Liguori
Quoted 14 lines · Avi Kivity
Quoted 2 lines · Slohm Gadaburi
How can I know if the qemu I ran took advantage of the kvm module ?
No one mentioned my favorite: when kvm is in control, the title bar of the guest console window changes to "QEMU/KVM".
Quoted 3 lines
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).Well, the HOWTO assumes you did all the previous steps. We should have a HOWTO/Ubuntu for distro users (but really, Ubuntu should have a gui for this).
Quoted 5 lines
Quoted 2 lines
virt-manager isn't currently packaged for Ubuntu (even in Gutsy). If there any Ubuntu devs out there, please consider packaging it!
There are virt-manager packages for Debian so it shouldn't be hard to port them.
Just today I was trying virt-manager and libvirt. I got this error when creating a VM:
Unable to complete install: 'virDomainCreateLinux() failed Cannot find QEMU binary /usr/bin/qemu: No such file or directory'
I guess libvirt is confused by qemu-system-x86_64. ¿Any ideas? I'll try to prepare a patch.
Cheers,
Jorge
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 59abf66e0708142143s68acf009h2513fafe10bd9071-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 22 lines · Jorge Luc?ngeli Obes
Quoted 21 lines · Daniel P. Berrange
Quoted 19 lines · Anthony Liguori
Quoted 7 lines · Avi Kivity
Quoted 2 lines · Slohm Gadaburi
How can I know if the qemu I ran took advantage of the kvm module ?
No one mentioned my favorite: when kvm is in control, the title bar of the guest console window changes to "QEMU/KVM".
Quoted 7 lines
Quoted 3 lines
I ran
/usr/bin/qemuas I didn't have/usr/local/kvm/bin/qemulike the HOWTO mentioned (as I didn't compiled the kvm bundle myself...).Well, the HOWTO assumes you did all the previous steps. We should have a HOWTO/Ubuntu for distro users (but really, Ubuntu should have a gui for this).
virt-manager isn't currently packaged for Ubuntu (even in Gutsy). If there any Ubuntu devs out there, please consider packaging it!
Quoted 8 lines
Quoted 2 lines
There are virt-manager packages for Debian so it shouldn't be hard to port them.
Just today I was trying virt-manager and libvirt. I got this error when creating a VM:
Unable to complete install: '
virDomainCreateLinux()failed Cannot find QEMU binary/usr/bin/qemu: No such file or directory'
The KVM support in libvirt is just an extension to the generic QEMU support. So you have to have a plain QEMU installed, as well as the KVM-ified version. To avoid filename clashes it expects the KVM version of QEMU to be named /usr/bin/qemu-kvm.
Regards,
Dan.
Signature · 10 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 -=| ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Daniel P. Berrange
Quoted 4 lines · Jorge Luc?ngeli Obes
On 8/15/07, Daniel P. Berrange <[email protected]> wrote:
Just today I was trying virt-manager and libvirt. I got this error
when creating a VM:
Quoted 7 lines
Quoted 2 lines
Unable to complete install: '
virDomainCreateLinux()failed Cannot find QEMU binary/usr/bin/qemu: No such file or directory'The KVM support in libvirt is just an extension to the generic QEMU support. So you have to have a plain QEMU installed, as well as the KVM-ified version. To avoid filename clashes it expects the KVM version of QEMU to be named
/usr/bin/qemu-kvm.
Thanks. I had reached more or less that conclusion after looking at 'src/qemu_driver.c', but it's good to have confirmation.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
PATCH 1/1 hint your using kvm
In reply to a message not in the archive--- qemu/vnc.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-)
qemu/vnc.c +10 -2
@@ -1109,8 +1109,16 @@ static int protocol_client_init(VncState *vs, char *data, size_t len)vnc_write (vs, pad,3 );/* padding */ -vnc_write_u32 (vs,4 ); -vnc_write (vs,"QEMU" ,4 ); +#if USE_KVM +if (kvm_allowed) { +vnc_write_u32 (vs,8 ); +vnc_write (vs,"QEMU/KVM" ,8 ); + } else +#endif + { +vnc_write_u32 (vs,4 ); +vnc_write (vs,"QEMU" ,4 ); + }vnc_flush (vs);vnc_read_when (vs, protocol_client_msg,1 );
Signature · 8 lines
1.5.2.2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/