Re: [Qemu-block] [PATCH] raw-posix: add 'offset' and 'size' options

2016-10-04 Thread Kevin Wolf
Am 04.10.2016 um 12:12 hat Paolo Bonzini geschrieben: > > > On 04/10/2016 11:24, Kevin Wolf wrote: > > You also need to update the options for the blockdev-add QMP command in > > qapi/block-core.json. The relevant type is BlockdevOptionsFile. > > Is it? Or should he define a new

Re: [Qemu-block] [PATCH] raw-posix: add 'offset' and 'size' options

2016-10-04 Thread Kevin Wolf
Am 02.10.2016 um 21:13 hat Tomáš Golembiovský geschrieben: > Added two new options 'offset' and 'size'. This makes it possible to use > only part of the file as a device. This can be used e.g. to limit the > access only to single partition in a disk image or use a disk inside a > tar archive (like

[Qemu-block] [PATCH] raw-posix: add 'offset' and 'size' options

2016-10-02 Thread Tomáš Golembiovský
Added two new options 'offset' and 'size'. This makes it possible to use only part of the file as a device. This can be used e.g. to limit the access only to single partition in a disk image or use a disk inside a tar archive (like OVA). For now this is only possible for files in read-only mode.