Skip to content

mac programming over macvtap

Amos Kong qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 44 repliesIn review
  2. v22 patches 43 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: introduce RX_FILTER_CHANGED eventQMP/qmp-events.txt include/monitor/monitor.h monitor.c+16 -010 replies
2/2net: introduce command to query rx-filter informationhmp-commands.hx hmp.c hmp.h +6 more+330 -034 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] mac programming over macvtap

This patchset introduces a QMP event and a monitor command. The event is used to notify management when rx-filter configuration is changed by guest. Management can use the new monitor command to query rx-filter information, and sync the changes to macvtap devices.

There maybe exist an uncontrollable delay, guests normally expect rx-mode updates immediately, but it's another separate issue, we can investigate it after Libvirt work is done.

Patches are based on Michael's patchset [1], you can also find patches in my github [2].

[1] [PATCH v3 00/11] qapi: add support for lists of native types
[2] https://github.com/kongove/qemu/tree/01-query-rxfilter

v2: add argument to filter mac-table info of single nic (Stefan)
update the document
add event notification
V3: rename to rx-filter, add main mac, avoid event flooding (MST)
fix error process (Stefan)
fix qmp interface (Eric)

Amos Kong (2):
net: introduce RX_FILTER_CHANGED event
net: introduce command to query rx-filter information

 QMP/qmp-events.txt        | 14 +++++++
 hmp-commands.hx           |  2 +
 hmp.c                     | 49 +++++++++++++++++++++++++
 hmp.h                     |  1 +
 hw/net/virtio-net.c       | 93 +++++++++++++++++++++++++++++++++++++++++++++++
 include/monitor/monitor.h |  1 +
 include/net/net.h         |  2 +
 monitor.c                 |  9 +++++
 net/net.c                 | 47 ++++++++++++++++++++++++
 qapi-schema.json          | 73 +++++++++++++++++++++++++++++++++++++
 qmp-commands.hx           | 55 ++++++++++++++++++++++++++++
 11 files changed, 346 insertions(+)
Signature · 1 line
1.8.1.4