Re: [Qemu-devel] [PATCH 15/15] tap: Improve -netdev/netdev_add/-net/... tap error reporting

2015-05-15 Thread Markus Armbruster
Eric Blake writes: > On 05/12/2015 06:03 AM, Markus Armbruster wrote: >> When -netdev tap fails, it first reports a specific error, then a >> generic one, like this: >> >> $ qemu-system-x86_64 -netdev tap,id=foo >> qemu-system-x86_64: -netdev tap,id=foo: could not configure >> /dev/net/t

Re: [Qemu-devel] [PATCH 15/15] tap: Improve -netdev/netdev_add/-net/... tap error reporting

2015-05-14 Thread Eric Blake
On 05/12/2015 06:03 AM, Markus Armbruster wrote: > When -netdev tap fails, it first reports a specific error, then a > generic one, like this: > > $ qemu-system-x86_64 -netdev tap,id=foo > qemu-system-x86_64: -netdev tap,id=foo: could not configure /dev/net/tun: > Operation not permitted

[Qemu-devel] [PATCH 15/15] tap: Improve -netdev/netdev_add/-net/... tap error reporting

2015-05-12 Thread Markus Armbruster
When -netdev tap fails, it first reports a specific error, then a generic one, like this: $ qemu-system-x86_64 -netdev tap,id=foo qemu-system-x86_64: -netdev tap,id=foo: could not configure /dev/net/tun: Operation not permitted qemu-system-x86_64: -netdev tap,id=foo: Device 'tap' coul