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