[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD dri
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v3] Error on O_DIRECT for physical CDROM/DVD drives |
Date: |
Wed, 21 Jul 2010 11:20:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
address@hidden writes:
> From: Jes Sorensen <address@hidden>
>
> O_DIRECT (cache=none) requires sector alignment, however the physical
> sector size of CDROM/DVD drives is 2048, as opposed to most disk
> devices which use 512. QEMU is hard coding 512 all over the place, so
> allowing O_DIRECT for CDROM/DVD devices does not work.
>
> Return -ENOTSUP from cdrom_open() in this case.
Good short-term fix.