From: Amos Kong <[email protected]>
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
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 | 143 ++++++++++++++++++++++++++++++++++----------------------
hw/virtio-net.h | 26 +++++++----
3 files changed, 109 insertions(+), 64 deletions(-)
--
1.7.11.7