Skip to content

virtio-net: fix of ctrl commands

Amos Kong kvm virtualization 2 versions – Applied

Status from this message: Applied all three, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 3 repliesApplied
  2. v43 patches 7 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3virtio-net: remove layout assumptions for ctrl vqhw/virtio-net.c+75 -541 reply
2/3virtio-net: introduce a new macaddr controlhw/pc_piix.c hw/virtio-net.c hw/virtio-net.h+26 -30 replies
3/3virtio-net: rename ctrl rx commandshw/virtio-net.c hw/virtio-net.h+14 -140 replies
3/3virtio-net: rename ctrl rx commandshw/virtio-net.c hw/virtio-net.h+14 -140 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan Hajnoczi
SeriesR-b R-b
1/3
2/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [QEMU PATCH v5 0/3] virtio-net: fix of ctrl commands

Currently virtio-net code relys on the layout of descriptor, this patchset removed the assumptions and introduced a control command to set mac address. Last patch is a trivial renaming.

V2: check guest's iov_len
V3: fix of migration compatibility
make mac field in config space read-only when new feature is acked
V4: add fix of descriptor layout assumptions, trivial rename
V5: fix endianness after iov_to_buf copy

Amos Kong (2):
virtio-net: introduce a new macaddr control
virtio-net: rename ctrl rx commands

Michael S. Tsirkin (1):
virtio-net: remove layout assumptions for ctrl vq

 hw/pc_piix.c    |    4 ++
 hw/virtio-net.c |  142 +++++++++++++++++++++++++++++++++---------------------
 hw/virtio-net.h |   26 +++++++----
 3 files changed, 108 insertions(+), 64 deletions(-)