[libvirt RFC 0/2] qemu: handle 'raw' format options 'size' and 'offset'

Peter Krempa posted 2 patches 4 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1579193759.git.pkrempa@redhat.com
src/conf/domain_conf.c    | 19 +++++++++++++++++++
src/qemu/qemu_block.c     | 10 ++++------
src/util/virstoragefile.c | 21 +++++++++++++++++----
src/util/virstoragefile.h |  4 ++++
tests/virstoragetest.c    | 15 +++++++++++++++
5 files changed, 59 insertions(+), 10 deletions(-)
[libvirt RFC 0/2] qemu: handle 'raw' format options 'size' and 'offset'
Posted by Peter Krempa 4 years, 3 months ago
See patch 2 please.

Peter Krempa (2):
  tests: storage: Add test data for json specified raw image with
    offset/size
  qemu: Handle 'offset' and 'size' parameters of 'raw' driver

 src/conf/domain_conf.c    | 19 +++++++++++++++++++
 src/qemu/qemu_block.c     | 10 ++++------
 src/util/virstoragefile.c | 21 +++++++++++++++++----
 src/util/virstoragefile.h |  4 ++++
 tests/virstoragetest.c    | 15 +++++++++++++++
 5 files changed, 59 insertions(+), 10 deletions(-)

-- 
2.24.1

Re: [libvirt RFC 0/2] qemu: handle 'raw' format options 'size' and 'offset'
Posted by Richard W.M. Jones 4 years, 3 months ago
On Thu, Jan 16, 2020 at 05:56:38PM +0100, Peter Krempa wrote:
> See patch 2 please.
> 
> Peter Krempa (2):
>   tests: storage: Add test data for json specified raw image with
>     offset/size
>   qemu: Handle 'offset' and 'size' parameters of 'raw' driver
> 
>  src/conf/domain_conf.c    | 19 +++++++++++++++++++
>  src/qemu/qemu_block.c     | 10 ++++------
>  src/util/virstoragefile.c | 21 +++++++++++++++++----
>  src/util/virstoragefile.h |  4 ++++
>  tests/virstoragetest.c    | 15 +++++++++++++++
>  5 files changed, 59 insertions(+), 10 deletions(-)

Can confirm that this fixes the issue in the virt-v2v test suite.

Tested-by: Richard W.M. Jones <rjones@redhat.com>

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html

Re: [libvirt RFC 0/2] qemu: handle 'raw' format options 'size' and 'offset'
Posted by Richard W.M. Jones 4 years, 3 months ago
On Thu, Jan 16, 2020 at 05:17:43PM +0000, Richard W.M. Jones wrote:
> On Thu, Jan 16, 2020 at 05:56:38PM +0100, Peter Krempa wrote:
> > See patch 2 please.
> > 
> > Peter Krempa (2):
> >   tests: storage: Add test data for json specified raw image with
> >     offset/size
> >   qemu: Handle 'offset' and 'size' parameters of 'raw' driver
> > 
> >  src/conf/domain_conf.c    | 19 +++++++++++++++++++
> >  src/qemu/qemu_block.c     | 10 ++++------
> >  src/util/virstoragefile.c | 21 +++++++++++++++++----
> >  src/util/virstoragefile.h |  4 ++++
> >  tests/virstoragetest.c    | 15 +++++++++++++++
> >  5 files changed, 59 insertions(+), 10 deletions(-)
> 
> Can confirm that this fixes the issue in the virt-v2v test suite.

Actually I'm sorry to say it didn't fix it.  I'm not sure what exactly
happened there.  I might have missed the error message or I ran the
test suite in the wrong way, or perhaps the error is intermittent.

Anyway I have to withdraw the "Tested-by" until I can take a closer
look at this.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html