qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu virtIO blocking operation - question


From: Sinha, Ani
Subject: [Qemu-devel] qemu virtIO blocking operation - question
Date: Fri, 9 Sep 2011 19:45:17 -0500

Hey guys,

So I am writing a virtIO driver for a device that supports blocking calls like 
poll() etc. Now the front end paravirtualized driver mirrors the request to the 
backend "host" qemu process that then does the actual call on the host kernel 
on behalf of the guest. Now my question is, when I do a blocking call from 
within the callback that I have registered when I created the virtqueue, does 
it block the entire vcpu? If it does, do I have to create an async context for 
it? Looking at virtio-net and virtio-block, I can see the concept of bottom 
halves but I am not sure if this helps me in any way.

Sorry guys, I am just starting to hack on QEMU, so some of my questions might 
be newbie-ish.

Any help, pointers will be much appreciated.

Cheers,
Ani


============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]