KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

a question about VirtIO

3 replies [Last post]
sihu123
Offline
Joined: Apr 15 2009
Points: 0

as far as I know , in VirtIO backend driver for kvm is in host OS. What I want to know is that if backend driver can be moved into guest OS? or is there a possibility to do so?

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 487
Re: question on VirtIO

sihu123,

I'm not sure what you're asking. Virtio is an api between guest and host. Why would you want the backend in the guest? That would seem to defeat the whole purpose.

tester (not verified)
I would like to ask a

I would like to ask a differentiated question in similar context (I am a different user). I am searching for the virtio-net source of KVM backend driver (in the host). The frontend is in drivers/net/virtio_net.c of the kernel source tree. Where is the respective backend one for kvm?

I have found a relative file in qemu source (in hw/virtio-net.c), but that runs in userspace. Shouldn't exist a respective file in the kernel source tree, in order to be loaded as a module in the host?

Thanks in advance!

Abhinav (not verified)
Some Help

Hello
I am new to virtio and I want to know how the back end drivers communicate to the front end drivers. I have read a lot on virtio but still I am unclear how exactly they are done. I know there is a kick back function which is invoked in order to inform Back end driver. Can yu give me some links. Also now how front end drivers commmunicate virtual devices emulated in Qemu. I am using KVM-Qemu . My host machine is Ubuntu 11.04 and host is Ubuntu 10.04.

Thanks
Regards,
Abhinav Pundir

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.