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?
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.
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?
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.
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.
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!
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