Skip to contentSkip to conversation

KVM on Debian

DISCUSSION Baruch Even 2 participants 4 messages Nov 13, 2006 – Nov 14, 2006 2 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

Hi,

I got KVM to work on Debian just now with a few problems:

To install all needed dependencies:
apt-get install libuuid-dev gcc-3.4 libsdl1.2-dev zlib1g-dev

./configure didn't work for me as it didn't find the gcc-3.4 and uname -i failed to work:

sed -i -e 's/$(uname -i)/i386/' configure ./configure --prefix=/usr/local/kvm --qemu-cc=gcc-3.4

kvm.ko wasn't installed into /lib/modules/uname -r

other than that things look good, this is on kernel 2.6.17-2-686 on an Intel Core Duo. So far I only tried to run the Debian LiveCD and it run very nicely.

What are the plans with regard to merging the needed qemu changes upstream? It would be nice to be able to package the kernel module and know that everything else will just work.

And for a temporary package for Debian, is there anything else that is needed besides the qemu executable and the kernel module? I noticed there is a library and some include files, anything uses them?

Cheers,
Baruch

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · Baruch Even

Hi,

I got KVM to work on Debian just now with a few problems:

To install all needed dependencies:
apt-get install libuuid-dev gcc-3.4 libsdl1.2-dev zlib1g-dev

I believe there are documented in the HOWTO, though with generic names.

Quoted 5 lines

./configure didn't work for me as it didn't find the gcc-3.4 and uname -i failed to work:

sed -i -e 's/$(uname -i)/i386/' configure

I already have a fix for this in my local tree.

Quoted 4 lines

./configure --prefix=/usr/local/kvm --qemu-cc=gcc-3.4

kvm.ko wasn't installed into /lib/modules/uname -r

Yes. I'll fix that.

Quoted 10 lines

other than that things look good, this is on kernel 2.6.17-2-686 on an Intel Core Duo. So far I only tried to run the Debian LiveCD and it run very nicely.

What are the plans with regard to merging the needed qemu changes upstream? It would be nice to be able to package the kernel module and know that everything else will just work.

And for a temporary package for Debian, is there anything else that is needed besides the qemu executable and the kernel module?

the qemu executable needs files in /usr/share/qemu. I suggest adding a dependency on the qemu package (and calling the executable /usr/bin/kvm).

Quoted 4 lines

I noticed
there is a library and some include files, anything uses them?

Not at this time.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#3 lore raw
In reply to a message not in the archive
Quoted 4 lines · Baruch Even

What are the plans with regard to merging the needed qemu changes upstream? It would be nice to be able to package the kernel module and know that everything else will just work.

Forgot to answer that. My plans are to submit the qemu changes once the userspace interface is stabilized.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

A message that is not in the archive (sent off-list or not yet received): 4559824A.4010500-atKUWr5tajBWk0Htik3J/[email protected]

#5 lore raw
Quoted 7 lines · Avi Kivity
Quoted 4 lines · Baruch Even

What are the plans with regard to merging the needed qemu changes upstream? It would be nice to be able to package the kernel module and know that everything else will just work.

Forgot to answer that. My plans are to submit the qemu changes once the userspace interface is stabilized.

Sounds good. I'll do my package seperately from qemu and depend on qemu as suggested by you in another mail, hopefully it won't take long before I can drop my qemu-kvm package.

Cheers,
Baruch

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642