diff options
| author | Vlad Yasevich <vyasevic@redhat.com> | 2013-11-07 21:13:09 -0500 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-11-22 09:47:00 +0100 |
| commit | 30c367ed446b6ea53245589a5cf373578ac075d7 (patch) | |
| tree | ec3803f73d5d69c6f888ad63f65b8f34514d939e /tests/test-string-output-visitor.c | |
| parent | 607bb022f2a44797cbf40e85e84da4134e2f0e01 (diff) | |
| download | focaccia-qemu-30c367ed446b6ea53245589a5cf373578ac075d7.tar.gz focaccia-qemu-30c367ed446b6ea53245589a5cf373578ac075d7.zip | |
qdev-properties-system.c: Allow vlan or netdev for -device, not both
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 <vyasevic@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions