qemu-block
[Top][All Lists]
Advanced

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

Re: Integration of qemu-img


From: Stefan Hajnoczi
Subject: Re: Integration of qemu-img
Date: Wed, 22 Apr 2020 17:18:13 +0100

On Thu, Apr 16, 2020 at 09:50:48AM +0200, Markus Armbruster wrote:
> Cc: qemu-block
> 
> <address@hidden> writes:
> 
> > Dear Sir or Madam,
> >
> >  
> >
> > I am a PhD student at the Friedrich-Alexander-University Erlangen-Nürnberg
> > in Bavaria Germany and I am currently working on an open-source forensic
> > analysis tool. I would like to use qemu-img for converting virtual discs to
> > raw files and to get virtual disc information. By now I tried to create a
> > qemu-img DLL with the qemu source code you provide on your website, but I am
> > unable to compile it properly. Therefore, I would like to ask you if there
> > is a simple solution to integrate qemu-img to other C++ projects? Or is
> > there a precompiled qemu-img DLL which I could use? Thank you very much for
> > your support.

Can you simply spawn a qemu-img process from your application?  That
would be much easier than trying to build it as a library and link it
into your application.

qemu-img has --output=json exactly for this case.  It will let you parse
the output as JSON.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

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