qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implement


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added.
Date: Wed, 11 Apr 2012 12:25:59 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0

On 04/04/2012 02:39 PM, Michael S. Tsirkin wrote:
On Wed, Apr 04, 2012 at 02:44:01PM +0300, Izik Eidus wrote:
Hi,

What about this patch?, everything that was asked from Dmitry was
accomplished...
What prevent us from progressing with merging this patch?

Thanks.

Off the top of my head: issues with v5:
polluting global namespace, must scope names
appropriately with vmxnet_ VMXNET_ unless they have file scope.
Don't use names with _ followed by an upper case letter
or that star with two underscores. Don't mix underscores and mixed case.
Don't stick any new types in net.c/pci.c - new devices should use -device
not -net. Global stuff like ethernet header size
should move to central place instead of copy paste.

I'd like to see qtest test cases for this too.

Regards,

Anthony Liguori



On 18/03/2012 11:27, Dmitry Fleytman wrote:
Signed-off-by: Dmitry Fleytman<address@hidden>
Signed-off-by: Yan Vugenfirer<address@hidden>
---
  Makefile.objs           |    1 +
  default-configs/pci.mak |    1 +
  hw/pci.c                |    2 +
  hw/pci.h                |    1 +
  hw/vmxnet3.c            | 2454 +++++++++++++++++++++++++++++++++++++++++++++++
  hw/vmxnet3.h            |  757 +++++++++++++++
  net.c                   |    2 +-
  7 files changed, 3217 insertions(+), 1 deletions(-)
  create mode 100644 hw/vmxnet3.c
  create mode 100644 hw/vmxnet3.h






reply via email to

[Prev in Thread] Current Thread [Next in Thread]