[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 2/3] qcow2: add option to clean unused cache ent

From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 2/3] qcow2: add option to clean unused cache entries after some time
Date: Tue, 26 May 2015 13:15:36 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 05/26/2015 01:10 PM, Alberto Garcia wrote:
> On Tue 26 May 2015 08:52:41 PM CEST, Eric Blake <address@hidden> wrote:
>>> +# @cache-clean-interval:  #optional clean unused entries in the L2 and 
>>> refcount
>>> +#                         caches. The interval is in seconds (since 2.4)
>>> +#
>>>  # Since: 1.7
>> Is there any QMP command that can query the current interval?  I'm not
>> a big fan of write-only interfaces.
> That's a good suggestion, thanks.
> Do we have any API where we could add this? I would rather not have a
> separate command just for this option, if possible.

I agree that a new command is not necessary, and that the best is to
modify an existing command.  It looks like ImageInfoSpecificQCow2 is the
corresponding struct to edit, at which point ImageInfo (part of
query-block) will automatically expose it.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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