Skip to contentSkip to conversation

Help for backport virtio to older kernel 2.6.18

Qemu-devel Halsey Pian 2 participants 5 messages Mar 30, 2015 – Apr 2, 2015

lore
Share & tools
lore
#0 lore raw

Hi All,

It seems that virtio disk driver is included in kernel version started from 2.6.32, but for 2.6.18 (using redhat5 as VM), we have to backport the virtio driver. And I found that there is a link in link below, but cannot be opened. Could you provide help on it? Thanks!

http://www.linux-kvm.org/page/Virtio

* Backport and instructions can be found in <http://www.kernel.org/pub/scm/virt/kvm/kvm-guest-drivers-linux.git>
kvm-guest-drivers-linux.git

Best Regards

Halsey Pian

#1 lore raw
Quoted 2 lines · Halsey Pian

It seems that virtio disk driver is included in kernel version started from 2.6.32, but for 2.6.18 (using redhat5 as VM), we have to backport the virtio driver. And I found that there is a link in link below, but cannot be opened. Could you provide help on it?

Red Hat Enterprise Linux 5 guests support virtio devices. You should not need to compile or backport anything for virtio-net or virtio-blk.

Please refer to the official documentation and support channels:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/index.html

Stefan

#2 lore raw
Quoted 10 lines

-----Original Message-----
From: Stefan Hajnoczi [mailto:[email protected]]
Sent: 2015年3月30日 23:33
To: Halsey Pian
Cc: [email protected]
Subject: Re: [Qemu-devel] Help for backport virtio to older kernel 2.6.18

Quoted 2 lines · Halsey Pian

It seems that virtio disk driver is included in kernel version started
from 2.6.32, but for 2.6.18 (using redhat5 as VM), we have to backport the virtio driver. And I found that there is a link in

link below,

Quoted 3 lines

but cannot be opened. Could you provide help on it?

Red Hat Enterprise Linux 5 guests support virtio devices. You should not need to compile or backport anything for virtio-net or

virtio-

Quoted 6 lines

blk.

Please refer to the official documentation and support channels:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/index.html

Stefan

[Halsey] thanks for your info, Stefan. I would check it.

Halsey

#3 lore raw

Best Regards
Halsey Pian

Quoted 31 lines

-----Original Message-----
From: Halsey Pian [mailto:[email protected]]
Sent: 2015年3月31日 19:48
To: 'Stefan Hajnoczi'
Cc: [email protected]; [email protected]
Subject: RE: [Qemu-devel] Help for backport virtio to older kernel 2.6.18

Quoted 8 lines

-----Original Message-----
From: Stefan Hajnoczi [mailto:[email protected]]
Sent: 2015年3月30日 23:33
To: Halsey Pian
Cc: [email protected]
Subject: Re: [Qemu-devel] Help for backport virtio to older kernel 2.6.18

Quoted 4 lines
Quoted 3 lines · Halsey Pian

It seems that virtio disk driver is included in kernel version started from 2.6.32, but for 2.6.18 (using redhat5 as VM), we have to backport the virtio driver. And I found that there is a link in

link below,

Quoted 4 lines

but cannot be opened. Could you provide help on it?

Red Hat Enterprise Linux 5 guests support virtio devices. You should not need to compile or backport anything for virtio-net or

virtio-

Quoted 5 lines

blk.

Please refer to the official documentation and support channels:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux
/5/html/Virtualization/index.html

Quoted 5 lines
Quoted 1 line

Stefan

[Halsey] thanks for your info, Stefan. I would check it.

Halsey

Stefan, Redhat 5 does support virtio block, but for other Linux distributions with kernel < 2.6.25 no virtio support, we also need backport virtio if we want to use it.
I checked the link for backport it in KVM website, still cannot be found. Would you have some info for it? Thanks!

[Halsey]

#4 lore raw
Quoted 3 lines · Halsey Pian

Stefan, Redhat 5 does support virtio block, but for other Linux distributions with kernel < 2.6.25 no virtio support, we also need backport virtio if we want to use it.
I checked the link for backport it in KVM website, still cannot be found. Would you have some info for it? Thanks!

The kernels you are looking at are very old. I'm afraid I don't have the information. You will have to search around yourself and maybe check git.kernel.org for old repos.

However, I suggest you get in touch with the distros you are using. Maybe they have already done the work of backporting virtio drivers.

Stefan