[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 0/2] Add support for 'raw' block driver to Qemu JSON backend parsing code



Hi,

gentle reminder.

Thanks,

    Tomas

On Mon, 13 Feb 2017 23:53:41 +0100
Tomáš Golembiovský <tgolembi redhat com> wrote:

> The raw driver is not very interesting on its own but it can be layered on top
> of other block drivers. New parameters that allow using only part of the
> underlying file/device were recently added to Qemu. This is useful e.g. to
> directly access partitions inside a disk image or disks inside an archive (like
> OVA).
> 
> This feature is utilised in OVA import in virt-v2v tool where we access the
> disks directly in OVA without needing to unpack the tar archive first. After
> implementing this in virt-v2v we noticed that it does not work when libguestfs
> uses libvirt as a backend because libvirt fails with error:
> 
>     internal error: missing parser implementation for JSON backing volume driver 'raw'
> 
> Tomáš Golembiovský (2):
>   util: storage: split function for JSON backing volume parsing in two
>   util: storage: add JSON backing volume parser 'raw' block driver
> 
>  src/util/virstoragefile.c | 51 +++++++++++++++++++++++++++++++++++++----------
>  tests/virstoragetest.c    |  6 ++++++
>  2 files changed, 47 insertions(+), 10 deletions(-)
> 
> -- 
> 2.11.1
> 


-- 
Tomáš Golembiovský <tgolembi redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]