[Top][All Lists]

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

Re: [Qemu-devel] [qemu-img] support for XVA

From: Gandalf Corvotempesta
Subject: Re: [Qemu-devel] [qemu-img] support for XVA
Date: Wed, 15 Nov 2017 18:44:59 +0100

XVA is a tar archive.
I don't think would be possible to directly use the image stored inside
without extracting and merging each chunks

Any random reads would be impossible to do, only a huge sequential dump to
build the raw image

Il 15 nov 2017 6:33 PM, "Eric Blake" <address@hidden> ha scritto:

[adding libguestfs]

On 11/15/2017 09:52 AM, Gandalf Corvotempesta wrote:
> I'm thinking if support for XVA files could be added to qemu-img
> The file-format is well known (it's just a tar archive) and there are
> that are able to convert an XVA file to a RAW image. (ie:
> https://gist.github.com/miebach/0433947bcf053de23159)
> Running these script on their own is very time consuming, as you have to
> extract the XVA, convert any disk image from "single chunks" to a raw
> and then use qemu-img to convert from raw to qcow.
> Maybe a native support will be able to skip some steps. (like the
> conversion from
> "single chunks" to raw and raw to qcow2)

Another possibility might be writing an nbdkit plugin that can directly
read XVA, then you can connect qemu to the NBD server provided by
nbdkit, without having to teach qemu proper how to read the file.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]