[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 1/4] Add 'set_link' monitor command
From: |
Mark McLoughlin |
Subject: |
[Qemu-devel] Re: [PATCH 1/4] Add 'set_link' monitor command |
Date: |
Fri, 12 Dec 2008 14:45:36 +0000 |
On Tue, 2008-12-09 at 09:01 -0600, Anthony Liguori wrote:
> > + for(vc = vlan->first_client; vc != NULL; vc = vc->next)
> > + if (i++ == device_idx)
> > + break;
> >
>
> I think a better way would be to allow a user to specify an id for the
> nic that gets saved early on. info nics should print the id and a
> default id should be assigned. I think you could argue either way as to
> whether the ids should be vlan local or global.
>
> I sort of think that making them global has a number of advantages. You
> could also use a string to identify the nics globally, it's up to you.
Okay, here's a few patches to add a vlan client name.
I'll repost the set_link patches once we agree on this part.
Cheers,
Mark.
- [Qemu-devel] [PATCH 0/4] Add nic link up/down emulation to e1000, Mark McLoughlin, 2008/12/09
- [Qemu-devel] [PATCH 1/4] Add 'set_link' monitor command, Mark McLoughlin, 2008/12/09
- [Qemu-devel] Re: [PATCH 1/4] Add 'set_link' monitor command, Anthony Liguori, 2008/12/09
- [Qemu-devel] Re: [PATCH 1/4] Add 'set_link' monitor command,
Mark McLoughlin <=
- [Qemu-devel] [PATCH 1/5] Add a model string to VLANClientState, Mark McLoughlin, 2008/12/12
- [Qemu-devel] [PATCH 2/5] Assign a name to each VLAN client, Mark McLoughlin, 2008/12/12
- [Qemu-devel] [PATCH 3/5] Fixup info_str formatting, Mark McLoughlin, 2008/12/12
- [Qemu-devel] [PATCH 4/5] Add qemu_format_nic_info_str(), Mark McLoughlin, 2008/12/12
- [Qemu-devel] [PATCH 5/5] Add a -net name=foo parameter, Mark McLoughlin, 2008/12/12
- Re: [Qemu-devel] [PATCH 5/5] Add a -net name=foo parameter, Aurelien Jarno, 2008/12/14
Re: [Qemu-devel] [PATCH 0/4] Add nic link up/down emulation to e1000, Daniel P. Berrange, 2008/12/09
[Qemu-devel] Re: [PATCH 0/4] Add nic link up/down emulation to e1000, Anthony Liguori, 2008/12/09