Skip to contentSkip to conversation

kvm-driver-disc-20080318

ANNOUNCE Avi Kivity 5 participants 9 messages Mar 18, 2008 – Mar 19, 2008 KVM

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

This is the first release of the kvm drivers disc -- a collection of kvm guest drivers packaged as an ISO 9660 CD-ROM for easy installation.

The driver disc can be obtained from the kvm download page, below.

Initial release:
- kvm-guest-drivers-linux-1
- kvm-guest-drivers-windows-1

http://kvm.qumranet.com

Signature · 7 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#1 lore raw

Are you interested in collecting ports of the drivers for various distributions?

I have the virtio drivers working with RHEL4. The virtio_net appears to be working better than e1000 for the workload I am testing with (though I still the need the noapic boot option). The virtio_blk driver mostly works (the VM freezes from time and time which gdb and strace seem to clear); its performance so far lags the scsi driver.

david

Quoted 11 lines · Avi Kivity

This is the first release of the kvm drivers disc -- a collection of kvm guest drivers packaged as an ISO 9660 CD-ROM for easy installation.

The driver disc can be obtained from the kvm download page, below.

Initial release:
- kvm-guest-drivers-linux-1
- kvm-guest-drivers-windows-1

http://kvm.qumranet.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#2 lore raw
Quoted 2 lines · david ahern

Are you interested in collecting ports of the drivers for various distributions?

What we would like to do, is have the kvm-guest-drivers-linux.git tree autogenerate backports for as far back as we need them. Posting what you needed to do for RHEL4 would be helpful. What would be most helpful is actually submitting a patch to that repo that did the awk/cpp magic to generate the backport.

Regards,

Anthony Liguori

Quoted 27 lines

I have the virtio drivers working with RHEL4. The virtio_net appears to be working better than e1000 for the workload I am testing with (though I still the need the noapic boot option). The virtio_blk driver mostly works (the VM freezes from time and time which gdb and strace seem to clear); its performance so far lags the scsi driver.

david

Quoted 12 lines · Avi Kivity

This is the first release of the kvm drivers disc -- a collection of kvm guest drivers packaged as an ISO 9660 CD-ROM for easy installation.

The driver disc can be obtained from the kvm download page, below.

Initial release:
- kvm-guest-drivers-linux-1
- kvm-guest-drivers-windows-1

http://kvm.qumranet.com

Quoted 9 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

author
#3 lore raw
Quoted 11 lines · Anthony Liguori
Quoted 3 lines · david ahern

Are you interested in collecting ports of the drivers for various distributions?

What we would like to do, is have the kvm-guest-drivers-linux.git tree autogenerate backports for as far back as we need them. Posting what you needed to do for RHEL4 would be helpful. What would be most helpful is actually submitting a patch to that repo that did the awk/cpp magic to generate the backport.

It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the magic required is more that 500 millithaums, then an independent driver would be better.

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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#4 lore raw
Quoted 3 lines · Avi Kivity

It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the magic required is more that 500 millithaums, then an independent driver would be better.

RHEL4 is based on 2.6.9.

What do you mean by "magic required is more that 500 millithaums"?

david

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#5 lore raw
Quoted 11 lines · david ahern
Quoted 4 lines · Avi Kivity

It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the magic required is more that 500 millithaums, then an independent driver would be better.

RHEL4 is based on 2.6.9.

What do you mean by "magic required is more that 500 millithaums"?

I believe that was a joke :-)

Right now, we use an awk script to automatically insert a bunch of #ifdef COMPAT_xxx into the virtio drivers. Combined with a special include header, this automatically creates a new source tree from the upstream bits that can be compiled on many different kernel versions. Right now we support roughly 2.6.18-2.6.25.

The question is how far can we push this before it gets ridiculous. I'd like to try going back to 2.6.9. Posting what you have now would be helpful. If it gets too difficult, we may just have to have independent source trees for things like RHEL4.

Regards,

Anthony Liguori

Quoted 11 lines

david

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#6 lore raw

I cringed a bit when you suggested the awk script route. It's quite likely that drivers for older distributions have to be manually updated as needed. I'll post my RHEL4 version in the next couple of days for comments.

thanks,
david

Quoted 21 lines · Anthony Liguori
Quoted 11 lines · david ahern
Quoted 4 lines · Avi Kivity

It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the magic required is more that 500 millithaums, then an independent driver would be better.

RHEL4 is based on 2.6.9.

What do you mean by "magic required is more that 500 millithaums"?

I believe that was a joke :-)

Right now, we use an awk script to automatically insert a bunch of #ifdef COMPAT_xxx into the virtio drivers. Combined with a special include header, this automatically creates a new source tree from the upstream bits that can be compiled on many different kernel versions. Right now we support roughly 2.6.18-2.6.25.

Quoted 22 lines

The question is how far can we push this before it gets ridiculous. I'd like to try going back to 2.6.9. Posting what you have now would be helpful. If it gets too difficult, we may just have to have independent source trees for things like RHEL4.

Regards,

Anthony Liguori

Quoted 11 lines

david

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

author
#7 lore raw
In reply to david ahern
Quoted 12 lines · david ahern
Quoted 4 lines · Avi Kivity

It might be difficult for RHEL 4, which is 2.6.5 based IIRC. If the magic required is more that 500 millithaums, then an independent driver would be better.

RHEL4 is based on 2.6.9.

What do you mean by "magic required is more that 500 millithaums"?

A Thaum is the amount of magic required to conjure one standard white pigeon.

I meant that the amount of changes needed to port the driver to 2.6.9 is too large, the script to do automatic backporting might turn out to be less maintainable than keeping an independent source tree. We're not far from that point even for 2.6.18; for example running the script against 2.6.25-current will produce an unbuildable driver.

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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#8 lore raw
In reply to Avi Kivity

Initial release:
- kvm-guest-drivers-linux-1
- kvm-guest-drivers-windows-1

Out of the bunch only Win2000 drivers work.

1. kvm-guest-drivers-linux-1 fail to configure themselves, while
2. XP drivers halt the VM.
I think Yan has newer XP drivers.

-Alexey, 19.3.2008

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel