From: "Tomáš Golembiovský" <tgolembi@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Daniel P. Berrange" <berrange@redhat.com>,
Kevin Wolf <kwolf@redhat.com>,
qemu-devel@nongnu.org, qemu-block@nongnu.org,
Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] raw-posix: add 'offset' and 'size' options
Date: Mon, 3 Oct 2016 12:47:37 +0200 [thread overview]
Message-ID: <20161003124737.2da311cf@fiorina> (raw)
In-Reply-To: <dabb927b-0047-4ed4-b66d-f5545a9422ca@redhat.com>
On Mon, 3 Oct 2016 11:20:44 +0200
Paolo Bonzini <pbonzini@redhat.com> wrote:
> On 03/10/2016 10:52, Daniel P. Berrange wrote:
> > On Sun, Oct 02, 2016 at 09:13:29PM +0200, Tomáš Golembiovský wrote:
> >> 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. It should be
> >> possible to extend it later to allow read-write mode, but would probably
> >> require that the size of the device is kept constant (i.e. no resizing).
> >>
> >> Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
> >> ---
> >> block/raw-posix.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++----
> >> 1 file changed, 91 insertions(+), 6 deletions(-)
> >
> > An equivalent change is needed to raw-win32.c
>
> Actually, it should be done _only_ in block/raw_bsd.c.
You mean in raw-posix.c and in raw_bsd.c, or just raw_bsd.c?
Tomas
--
Tomáš Golembiovský <tgolembi@redhat.com>
next prev parent reply other threads:[~2016-10-03 10:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-02 19:13 [Qemu-devel] [PATCH] raw-posix: add 'offset' and 'size' options Tomáš Golembiovský
2016-10-03 8:52 ` Daniel P. Berrange
2016-10-03 9:20 ` Paolo Bonzini
2016-10-03 10:47 ` Tomáš Golembiovský [this message]
2016-10-03 11:20 ` Paolo Bonzini
2016-10-03 10:45 ` Tomáš Golembiovský
2016-10-03 10:52 ` Daniel P. Berrange
2016-10-03 11:07 ` Tomáš Golembiovský
2016-10-03 11:11 ` Daniel P. Berrange
2016-10-04 8:57 ` Kevin Wolf
2016-10-04 9:15 ` Daniel P. Berrange
2016-10-04 13:58 ` Eric Blake
2016-10-04 11:48 ` Tomáš Golembiovský
2016-10-03 15:28 ` Eric Blake
2016-10-04 9:24 ` Kevin Wolf
2016-10-04 10:12 ` Paolo Bonzini
2016-10-04 11:59 ` Kevin Wolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161003124737.2da311cf@fiorina \
--to=tgolembi@redhat.com \
--cc=berrange@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.