Re: [Qemu-devel] [RFC PATCH 1/5] block: separate raw images from the file protocol

2010-04-14 Thread Stefan Hajnoczi
On Wed, Apr 14, 2010 at 4:50 PM, Kevin Wolf wrote: > +static int raw_set_locked(BlockDriverState *bs, int locked) > +{ > +    RAWState *s = bs->opaque; > +    bdrv_set_locked(s->hd, locked); > +    return 0; > +} Not something for this patch, but it's odd that BlockDriver->bdrv_set_locked() has a

[Qemu-devel] [RFC PATCH 1/5] block: separate raw images from the file protocol

2010-04-14 Thread Kevin Wolf
From: Christoph Hellwig We're running into various problems because the "raw" file access, which is used internally by the various image formats is entangled with the "raw" image format, which maps the VM view 1:1 to a file system. This patch renames the raw file backends to the file protocol wh