qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Yaodong Yang <yaodong.yangy@icloud.com>
Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org
Subject: Re: [Qemu-devel] virtio virt-queue and virt-ring
Date: Tue, 3 Dec 2013 16:24:42 +0100	[thread overview]
Message-ID: <20131203152442.GI24604@stefanha-thinkpad.muc.redhat.com> (raw)
In-Reply-To: <f62d62c2-4a44-416c-8782-e0f5f0982b7c@me.com>

On Sun, Dec 01, 2013 at 05:12:52AM +0000, Yaodong Yang wrote:
> Inside file ./hw/virtio/virtio.c, The following structs are defined. I understood that for each virtual disk, there is a corresponding queue and this queue is implemented by a ring. My questions is what is the meaning of each element inside struct VRing?

Please see the virtio specification:
https://github.com/rustyrussell/virtio-spec

It defines the virtio-blk device.

Stefan

      reply	other threads:[~2013-12-03 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01  5:12 [Qemu-devel] virtio virt-queue and virt-ring Yaodong Yang
2013-12-03 15:24 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131203152442.GI24604@stefanha-thinkpad.muc.redhat.com \
    --to=stefanha@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.org \
    --cc=yaodong.yangy@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).