All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Kevin Wolf" <kwolf@redhat.com>,
	qemu-block@nongnu.org, "Michael S. Tsirkin" <mst@redhat.com>,
	qemu-trivial@nongnu.org, "Jason Wang" <jasowang@redhat.com>,
	"Max Reitz" <mreitz@redhat.com>,
	"Stefan Hajnoczi" <stefanha@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: [PATCH 0/3] hw/virtio: Constify VirtIOFeature
Date: Tue, 11 May 2021 12:41:54 +0200	[thread overview]
Message-ID: <20210511104157.2880306-1-philmd@redhat.com> (raw)

Trivial patches to keep VirtIOFeature arrays read-only
(better safe than sorry).

Philippe Mathieu-Daudé (3):
  hw/virtio: Pass virtio_feature_get_config_size() a const argument
  virtio-blk: Constify VirtIOFeature feature_sizes[]
  virtio-net: Constify VirtIOFeature feature_sizes[]

 include/hw/virtio/virtio.h | 2 +-
 hw/block/virtio-blk.c      | 2 +-
 hw/net/virtio-net.c        | 2 +-
 hw/virtio/virtio.c         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.26.3




             reply	other threads:[~2021-05-11 10:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 10:41 Philippe Mathieu-Daudé [this message]
2021-05-11 10:41 ` [PATCH 1/3] hw/virtio: Pass virtio_feature_get_config_size() a const argument Philippe Mathieu-Daudé
2021-05-12  2:55   ` Jason Wang
2021-05-11 10:41 ` [PATCH 2/3] virtio-blk: Constify VirtIOFeature feature_sizes[] Philippe Mathieu-Daudé
2021-05-12  2:56   ` Jason Wang
2021-05-11 10:41 ` [PATCH 3/3] virtio-net: " Philippe Mathieu-Daudé
2021-05-12  2:57   ` Jason Wang
2021-05-11 16:54 ` [PATCH 0/3] hw/virtio: Constify VirtIOFeature Richard Henderson
2021-05-12  7:13 ` Stefano Garzarella
2021-05-12 15:54 ` Stefan Hajnoczi
2021-05-13 15:46 ` Laurent Vivier

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=20210511104157.2880306-1-philmd@redhat.com \
    --to=philmd@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=stefanha@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.