qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC V6 02/33] qmp: Add DedupStatus enum.


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC V6 02/33] qmp: Add DedupStatus enum.
Date: Wed, 6 Feb 2013 17:08:44 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Feb 06, 2013 at 01:31:35PM +0100, Benoît Canet wrote:
>  ##
> +# @DedupStatus
> +#
> +# An enumeration of a virtual block device deduplication status.
> +#
> +# @stopped:  The deduplication has been stopped
> +#
> +# @starting: The deduplication is starting
> +#
> +# @started:  The deduplication is started
> +#
> +# @stopping: The deduplication is stopping
> +#
> +# Since: 1.5.0
> +##
> +{ 'enum': 'DedupStatus', 'data': [ 'stopped', 'starting', 'started',
> +                                   'stopping' ] }

Makes me wonder if there is a more generic type here - seems almost like
BlockJob, which itself should have been a more generic abstraction for
long-running operations whose status can be queried and which can be
stopped.

Stefan



reply via email to

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