qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu virtIO blocking operation - question
@ 2011-09-10  0:45 Sinha, Ani
  2011-09-11 13:34 ` Stefan Hajnoczi
  0 siblings, 1 reply; 9+ messages in thread
From: Sinha, Ani @ 2011-09-10  0:45 UTC (permalink / raw)
  To: qemu-devel@nongnu.org; +Cc: Sinha, Ani

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
============================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-15 22:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-10  0:45 [Qemu-devel] qemu virtIO blocking operation - question Sinha, Ani
2011-09-11 13:34 ` Stefan Hajnoczi
2011-09-12 18:31   ` Sinha, Ani
2011-09-13  9:13     ` Stefan Hajnoczi
2011-09-13 17:35       ` Sinha, Ani
2011-09-15 11:42         ` Stefan Hajnoczi
2011-09-15 22:03           ` Sinha, Ani
2011-09-12 21:05   ` Sinha, Ani
2011-09-13  9:12     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).