On 02.05.2018 09:45, Samuel Thibault wrote: > Fam Zheng, le mer. 02 mai 2018 15:29:36 +0800, a ecrit: >> On Tue, 05/01 22:41, Samuel Thibault wrote: >>> I'm sorry I didn't find the time to have a look at it before. >>> >>> In general it looks good, just a few things: >>> >>> Samuel >>> >>> Fam Zheng, le ven. 16 mars 2018 14:28:21 +0800, a ecrit: >>>> + if (!net_hub_id_for_client(&s->nc, &vlan)) { >>> >>> That makes me think that IIUC, we shouldn't call them vlan, as mentioned >>> in the recent vlan->hub renaming patches. >>> >>>> +{ 'struct': 'UsernetInfo', >>>> + 'data': { >>>> + 'id': 'str', >>>> + 'vlan': 'int', >>> >>> and here as well, I guess. >> >> OK, so rename this to hub? (I'm not familiar with the naming issue you >> pointed >> out). > > I am not either :)
The problem is that when people read the term "vlan", they think automatically of some kind of wrapped IP packets like in IEEE 802.1Q. But that's not what QEMU is doing here, it rather simulates a virtual hub. So to avoid this confusion, we should use the term "hub" in QEMU instead. Thomas