aboutsummaryrefslogtreecommitdiff
path: root/sysconfigs/target/target-x86_64.conf
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-05-15 13:58:51 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2015-05-27 09:51:05 +0100
commit6630886863d4a9b3b7bcb3b0e2895d83eb269c75 (patch)
treed0808d5f8560c2f6538ed748a9ccc43df41db2cb /sysconfigs/target/target-x86_64.conf
parenta30ecde6e795682d1473c45acae66a60a76fca2f (diff)
net: Improve -net nic error reporting
When -net nic fails, it first reports a specific error, then a generic one, like this: $ qemu-system-x86_64 -net nic,netdev=nonexistent qemu-system-x86_64: -net nic,netdev=nonexistent: netdev 'nonexistent' not found qemu-system-x86_64: -net nic,netdev=nonexistent: Device 'nic' could not be initialized Convert net_init_nic() to Error to get rid of the unwanted second error message. While there, tidy up an Overcapitalized Error Message. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1431691143-1015-4-git-send-email-armbru@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'sysconfigs/target/target-x86_64.conf')
0 files changed, 0 insertions, 0 deletions