[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one dev
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev |
Date: |
Fri, 26 Feb 2010 15:41:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Gerd Hoffmann <address@hidden> writes:
> On 02/26/10 10:30, Markus Armbruster wrote:
>> This made a lot of sense if each parser threw largely different errors.
>> Which isn't the case: we have one so far ("failed to parse"), and we
>> just encountered a use for a second.
>
> There are actually three: parse error, not found
> (netdev=<does-not-exist>) and busy (netdev=<already-in-use>).
>
> But, yes, given the small number of error cases it makes sense to
> generate the error one layer up and not in the parsers themself.
Okay, I'll cook up v2.
- [Qemu-devel] [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Markus Armbruster, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Michael S. Tsirkin, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Markus Armbruster, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Michael S. Tsirkin, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Markus Armbruster, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Markus Armbruster, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Gerd Hoffmann, 2010/02/25
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Markus Armbruster, 2010/02/26
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev, Gerd Hoffmann, 2010/02/26
- [Qemu-devel] Re: [PATCH] qdev: Catch attempt to attach more than one device to a netdev,
Markus Armbruster <=