Am 21.03.2018 um 21:26 hat Eric Blake geschrieben: > On 03/21/2018 03:01 PM, John Snow wrote: > > Adjust each caller of raw_open_common to specify if they are expecting > > host and character devices or not. Tighten expectations of file types upon > > open in the common code and refuse types that are not expected. > > > > This has two effects: > > > > (1) Character and block devices are now considered deprecated for the > > 'file' driver, which expects only S_IFREG, and > > Which may have interesting effects on v2v's attempt to use qemu-img on > /dev/null as a quick feature probe of qemu-img... > https://lists.gnu.org/archive/html/qemu-devel/2018-03/msg05753.html > > but we may want to special-case that one in a separate patch.
Do we know the exact check is performs? I doubt it explicitly specifies the file driver, and the automatic detection already returned the right protocol driver. Kevin