]> xenbits.xensource.com Git - osstest/qemu.git/commit
net: raise an error if -net type is invalid
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 May 2015 16:16:50 +0000 (17:16 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 24 Jun 2015 15:33:20 +0000 (16:33 +0100)
commitd139e9a6cf01b8c31f5904b4ba40521d7224f7de
treef25bd114074ebe3b4804a2c355ac0de256075685
parent1322629b4f25730aed973d51983e7a3b021fe9c9
net: raise an error if -net type is invalid

When a -net type is used that was not compiled into the binary there
should be an error message.

Note the special case for -net none, which is a no-op.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1432743412-15943-4-git-send-email-stefanha@redhat.com
net/net.c