[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] block/vdi: Improved return values from vdi_
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] block/vdi: Improved return values from vdi_open and other small fixes |
Date: |
Thu, 17 Jan 2013 13:08:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Am 15.12.2012 15:09, schrieb Stefan Weil:
> vdi_open returned -1 in case of any error, but it should return an
> error code (negative value of errno or BDRV_WRONG_FORMAT).
>
> vdi_open did not check for a bad signature. This check was only in vdi_probe.
>
> The signature is a 32 bit value and needs up to 8 hex digits for printing.
>
> Signed-off-by: Stefan Weil <address@hidden>
Sounds like three independent changes and should be three patches therefore.
Kevin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 4/4] block/vdi: Improved return values from vdi_open and other small fixes,
Kevin Wolf <=