[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qdev-properties-system.c: Allow vlan or netdev
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] qdev-properties-system.c: Allow vlan or netdev for -device, not both |
Date: |
Fri, 22 Nov 2013 09:50:45 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Nov 07, 2013 at 09:13:09PM -0500, Vlad Yasevich wrote:
> It is currently possible to specify things like:
> -device e1000,netdev=foo,vlan=1
> With this usage, whichever argument was specified last (vlan or netdev)
> overwrites what was previousely set and results in a non-working
> configuration. Even worse, when used with multiqueue devices,
> it causes a segmentation fault on exit in qemu_free_net_client.
>
> That patch treates the above command line options as invalid and
> generates an error at start-up.
>
> Signed-off-by: Vlad Yasevich <address@hidden>
> ---
> hw/core/qdev-properties-system.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
Thanks, applied to my net tree:
https://github.com/stefanha/qemu/commits/net
Stefan