From: Jason Wang <jasowang@redhat.com>
To: mst@redhat.com
Cc: yang.zhong@intel.com, tiwei.bie@intel.com,
Jason Wang <jasowang@redhat.com>,
qemu-devel@nongnu.org, maxime.coquelin@redhat.com,
jfreimann@redhat.com, weiyshay@gmail.com
Subject: [Qemu-devel] [PATCH V5 6/6] virtio: add property to enable packed virtqueue
Date: Fri, 2 Aug 2019 00:06:06 -0400 [thread overview]
Message-ID: <20190802040606.22573-7-jasowang@redhat.com> (raw)
In-Reply-To: <20190802040606.22573-1-jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
include/hw/virtio/virtio.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 226c94078f..3a4ed3ab34 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -285,7 +285,9 @@ typedef struct VirtIORNGConf VirtIORNGConf;
DEFINE_PROP_BIT64("any_layout", _state, _field, \
VIRTIO_F_ANY_LAYOUT, true), \
DEFINE_PROP_BIT64("iommu_platform", _state, _field, \
- VIRTIO_F_IOMMU_PLATFORM, false)
+ VIRTIO_F_IOMMU_PLATFORM, false), \
+ DEFINE_PROP_BIT64("packed", _state, _field, \
+ VIRTIO_F_RING_PACKED, false)
hwaddr virtio_queue_get_desc_addr(VirtIODevice *vdev, int n);
bool virtio_queue_enabled(VirtIODevice *vdev, int n);
--
2.18.1
next prev parent reply other threads:[~2019-08-02 4:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 4:06 [Qemu-devel] [PATCH V5 0/6] Packed virtqueue for virtrio Jason Wang
2019-08-02 4:06 ` [Qemu-devel] [PATCH V5 1/6] virtio: basic structure for packed ring Jason Wang
2019-08-02 9:01 ` Jens Freimann
2019-08-02 4:06 ` [Qemu-devel] [PATCH V5 2/6] virtio: device/driverr area size calculation refactor for split ring Jason Wang
2019-08-02 9:03 ` Jens Freimann
2019-08-02 9:43 ` Jason Wang
2019-08-02 4:06 ` [Qemu-devel] [PATCH V5 3/6] virtio: basic packed virtqueue support Jason Wang
2019-08-02 4:06 ` [Qemu-devel] [PATCH V5 4/6] virtio: event suppression support for packed ring Jason Wang
2019-08-02 4:06 ` [Qemu-devel] [PATCH V5 5/6] vhost_net: enable packed ring support Jason Wang
2019-08-02 9:03 ` Jens Freimann
2019-08-02 4:06 ` Jason Wang [this message]
2019-08-02 9:04 ` [Qemu-devel] [PATCH V5 6/6] virtio: add property to enable packed virtqueue Jens Freimann
2019-08-02 4:43 ` [Qemu-devel] [PATCH V5 0/6] Packed virtqueue for virtrio no-reply
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=20190802040606.22573-7-jasowang@redhat.com \
--to=jasowang@redhat.com \
--cc=jfreimann@redhat.com \
--cc=maxime.coquelin@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=tiwei.bie@intel.com \
--cc=weiyshay@gmail.com \
--cc=yang.zhong@intel.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).