[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/5] igd-passthrough-i440FX: convert to realize(
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 2/5] igd-passthrough-i440FX: convert to realize() |
Date: |
Mon, 11 Jan 2016 15:32:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Cao jin <address@hidden> writes:
> On 12/19/2015 05:18 AM, Markus Armbruster wrote:
>> One short remark in addition to Eduardo's review.
>>
>> Eduardo Habkost <address@hidden> writes:
>>
> [...]
>>>>
>>>> config_fd = open(path, O_RDWR);
>>>> if (config_fd < 0) {
>>>> + error_setg(errp, "No such device");
>>>> return -ENODEV;
>>>> }
>>
>> Can we come up with nicer error messages?
>>
>
> Ok...will change the error msg to strerror(errno)
There's also error_setg_file_open(), not sure it fits here, but check it
out.
- Re: [Qemu-devel] [PATCH 2/5] igd-passthrough-i440FX: convert to realize(),
Markus Armbruster <=