[Qemu-devel] [PATCH 4/5] block/raw-posix: Strip protocol prefix on creation

2014-03-06 Thread Max Reitz
The hdev_create() implementation in block/raw-posix.c is used by the "host_device", "host_cdrom" and "host_floppy" protocol block drivers together. Thus, it any of the associated prefixes may occur and exactly one should be stripped, if it does (thus, "host_device:host_cdrom:/dev/cdrom" is not shor

[Qemu-devel] [PATCH 4/5] block/raw-posix: Strip protocol prefix on creation

2014-03-06 Thread Max Reitz
The hdev_create() implementation in block/raw-posix.c is used by the "host_device", "host_cdrom" and "host_floppy" protocol block drivers together. Thus, it any of the associated prefixes may occur and exactly one should be stripped, if it does (thus, "host_device:host_cdrom:/dev/cdrom" is not shor

Re: [Qemu-devel] [PATCH 4/5] block/raw-posix: Strip protocol prefix on creation

2014-03-06 Thread Max Reitz
Sorry for the duplicate 4/5 and the wrong in-reply-to for 5/5, but I deduced from the send-email output that 4/5 failed to send (and 5/5 wasn't even attempted) and forgot --no-thread for the resend of 4 and 5. Max On 06.03.2014 23:27, Max Reitz wrote: The hdev_create() implementation in bloc

Re: [Qemu-devel] [PATCH 4/5] block/raw-posix: Strip protocol prefix on creation

2014-03-06 Thread Benoît Canet
The Thursday 06 Mar 2014 à 23:25:38 (+0100), Max Reitz wrote : > The hdev_create() implementation in block/raw-posix.c is used by the > "host_device", "host_cdrom" and "host_floppy" protocol block drivers > together. Thus, it any of the associated prefixes may occur and exactly > one should be stri

Re: [Qemu-devel] [PATCH 4/5] block/raw-posix: Strip protocol prefix on creation

2014-03-06 Thread Eric Blake
On 03/06/2014 03:25 PM, Max Reitz wrote: > The hdev_create() implementation in block/raw-posix.c is used by the > "host_device", "host_cdrom" and "host_floppy" protocol block drivers > together. Thus, it any of the associated prefixes may occur and exactly s/it // > one should be stripped, if it