Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-26 Thread Nir Soffer
On Fri, Jun 26, 2020 at 11:34 PM Richard W.M. Jones wrote: > > On Fri, Jun 26, 2020 at 10:42:02PM +0300, Nir Soffer wrote: > > Can we have better support in qemu-img/qemu-nbd for accessing images > > in a tar file? > > > > Maybe something like: > > > > qemu-img info

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-26 Thread Richard W.M. Jones
On Fri, Jun 26, 2020 at 10:42:02PM +0300, Nir Soffer wrote: > Can we have better support in qemu-img/qemu-nbd for accessing images > in a tar file? > > Maybe something like: > > qemu-img info tar://vm.ova?member=fedora-32.qcow2 Isn't this exactly a case where nbdkit-tar-plugin would work

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-26 Thread Nir Soffer
On Tue, Jun 23, 2020 at 1:21 AM Nir Soffer wrote: > > I'm trying to export qcow2 images from ova format using qemu-nbd. > > I create 2 compressed qcow2 images, with different data: > > $ qemu-img info disk1.qcow2 > image: disk1.qcow2 > file format: qcow2 > virtual size: 200 MiB (209715200 bytes)

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-26 Thread Nir Soffer
On Tue, Jun 23, 2020 at 1:47 PM Richard W.M. Jones wrote: > > On Tue, Jun 23, 2020 at 01:14:43PM +0300, Nir Soffer wrote: > > On Tue, Jun 23, 2020 at 12:47 PM Richard W.M. Jones > > wrote: > > > Here you go: > > > > > >

Re: Exporting qcow2 images as raw data from ova file with qemu-nbd

2020-06-26 Thread Nir Soffer
On Tue, Jun 23, 2020 at 5:08 PM Richard W.M. Jones wrote: > > On Tue, Jun 23, 2020 at 08:47:52AM -0500, Eric Blake wrote: > > On 6/22/20 5:21 PM, Nir Soffer wrote: > > >And it works, but it exposes the qcow2 data. I want to raw data so I > > >can upload the guest > > >data to ovirt, where is may

Re: User mode emulation: hooking shared libraries to host implementations

2020-06-26 Thread Lukas Straub
On Thu, 25 Jun 2020 23:05:05 +0200 ardi wrote: > Hi, > > I'd like to know if there's any functionality in the QEMU user mode > emulation that lets you replace, in the emulated program, function > calls to shared libraries into host implementations (note: when I say > "host implementations", I

Re: User mode emulation: hooking shared libraries to host implementations

2020-06-26 Thread Peter Maydell
On Thu, 25 Jun 2020 at 22:06, ardi wrote: > I'd like to know if there's any functionality in the QEMU user mode > emulation that lets you replace, in the emulated program, function > calls to shared libraries into host implementations (note: when I say > "host implementations", I don't mean that