[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implement
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added. |
Date: |
Thu, 12 Apr 2012 09:35:02 +0100 |
On Wed, Apr 11, 2012 at 9:45 PM, Paolo Bonzini <address@hidden> wrote:
> Il 11/04/2012 21:10, Anthony Liguori ha scritto:
>> On 04/11/2012 02:08 PM, Paolo Bonzini wrote:
>>> Il 11/04/2012 19:25, Anthony Liguori ha scritto:
>>>>>
>>>>> 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.
>>>
>>> I think as things stand it is a bit too much to request this. You're
>>> basically asking to write a libos.
>>
>> The only functionality you need is PCI device enumeration which is
>> pretty much dead simple.
>>
>> What other functions would you need a libos for?
>
> You need mocks for a network device.
Starting to get off-topic but net/socket.c already provides an easy
packet injection/capture interface that can be used for testing.
Stefan
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Izik Eidus, 2012/04/04
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Michael S. Tsirkin, 2012/04/04
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Anthony Liguori, 2012/04/11
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Yan Vugenfirer, 2012/04/15
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Anthony Liguori, 2012/04/16
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Paolo Bonzini, 2012/04/16
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Anthony Liguori, 2012/04/16
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Paolo Bonzini, 2012/04/16
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Anthony Liguori, 2012/04/16
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Anthony Liguori, 2012/04/16
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Paolo Bonzini, 2012/04/17
- Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Anthony Liguori, 2012/04/16
Re: [Qemu-devel] [PATCH 7/7 v5] VMXNET3 paravirtualized device implementation Interface type "vmxnet3" added., Gerhard Wiesinger, 2012/04/05