[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] help!
From: |
address@hidden |
Subject: |
[Qemu-devel] help! |
Date: |
Wed, 28 Sep 2016 09:09:24 +0800 |
Hello,recently I study qemu source code ,and I have some questions ,can you
help me ?
> 1、what is the meaning of queues in structure NICConf ? I think it is the
> number of queues to a NIC,and I do not where it is.
> 2、In NICConf init Function,I do not found it initulize the queues of
> NICConf,relative code is
>
> #define DEFINE_NIC_PROPERTIES(_state, _conf) \
> DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \
> DEFINE_PROP_VLAN("vlan", _state, _conf.peers), \
> DEFINE_PROP_NETDEV("netdev", _state, _conf.peers), \
> DEFINE_PROP_INT32("bootindex", _state, _conf.bootindex, -1)
>
> 3、when new a NIC,I found conf->peers.ncs is a pointer which point a
> NetClientState array,I want to know what the array stand for?hub ports?
address@hidden
- [Qemu-devel] help!,
address@hidden <=