qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] libqblock OOM issue


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC] libqblock OOM issue
Date: Wed, 14 Nov 2012 09:45:09 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 14, 2012 at 11:50:06AM +0800, Wenchao Xia wrote:
>   In order to resolve OOM issue, I am trying wrap all APIs using
> sunrpc, need some suggestion before coding.

Is the client/server approach really necessary or can you write a
library that invokes qemu-nbd/qemu-img?

If there is a startup cost problem with qemu-img it may be possible to
add an interactive mode (like qemu-io) where qemu-img stays open and
responds to commands (maybe in JSON encoding).

The difference between this and the RPC approach is that you can write a
relatively thin NBD and qemu-img library with the tools that already
exist today.

Stefan



reply via email to

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