net: Fix -net socket,listen (Jan Kiszka)
commite724bcfa71e34e1a1bd7afe916552dde5d4b5c68
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 21 Apr 2009 19:56:11 +0000 (21 19:56 +0000)
committerMark McLoughlin <markmc@redhat.com>
Wed, 24 Jun 2009 16:39:34 +0000 (24 17:39 +0100)
tree337bdfe8789b637f9f19fc36f420a63e21468f48
parentcce43b87ec8ea11a769ac37995464fb4db6d263b
net: Fix -net socket,listen (Jan Kiszka)

In case no symbolic name is provided when requesting VLAN connection via
listening TCP socket ('-net socket,listen=...'), qemu crashes. This
fixes the cause.

(cherry picked from commit ea053add700d8abe203cd79a9ffb082aee4eabc0)

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
net.c