[Qemu-devel] [PATCH 1/8] virtio-net: replace redundant config_size field with config_len

2013-02-19 Thread Jesse Larrew
Commit 14f9b664b34bbd37a488cb5c762aa278c60e1fb6 added a config_size field to struct VirtIONet. However, struct VirtIONet has an embedded struct VirtIODevice that already contains a config_len field for this purpose, so config_size is unnecessary. This patch simply replaces it with vdev->config_len

Re: [Qemu-devel] [PATCH 1/8] virtio-net: replace redundant config_size field with config_len

2013-02-19 Thread Anthony Liguori
Jesse Larrew writes: > Commit 14f9b664b34bbd37a488cb5c762aa278c60e1fb6 added a config_size field > to struct VirtIONet. However, struct VirtIONet has an embedded struct > VirtIODevice that already contains a config_len field for this purpose, so > config_size is unnecessary. This patch simply rep

[Qemu-devel] [PATCH 1/8] virtio-net: replace redundant config_size field with config_len

2013-02-18 Thread Jesse Larrew
Commit 14f9b664b34bbd37a488cb5c762aa278c60e1fb6 added a config_size field to struct VirtIONet. However, struct VirtIONet has an embedded struct VirtIODevice that already contains a config_len field for this purpose, so config_size is unnecessary. This patch simply replaces it with vdev->config_len