[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state |
Date: |
Fri, 04 May 2012 18:39:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0 |
Il 04/05/2012 17:02, Luiz Capitulino ha scritto:
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 0166ec2..4dbcb26 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -116,12 +116,14 @@
> #
> # @shutdown: guest is shut down (and -no-shutdown is in use)
> #
> +# @suspended: guest is suspended (ACPI S3)
> +#
> # @watchdog: the watchdog action is configured to pause and has been
> triggered
> ##
> { 'enum': 'RunState',
> 'data': [ 'debug', 'inmigrate', 'internal-error', 'io-error', 'paused',
> 'postmigrate', 'prelaunch', 'finish-migrate', 'restore-vm',
> - 'running', 'save-vm', 'shutdown', 'watchdog' ] }
> + 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog' ] }
>
This breaks QAPI ABI.
Not really a breaker for this series, but it shows how we are not yet
ready to keep a stable ABI (as opposed to API), and thus any
restrictions on adding optional arguments to commands are premature.
(And IMO wrong, there are plenty of ways to have versioned symbols in C
without breaking the ABI---not talking about ELF symbol versioning).
Paolo
- [Qemu-devel] [PATCH v2 0/4]: runstate: introduce 'suspended' state, Luiz Capitulino, 2012/05/04
- [Qemu-devel] [PATCH 4/4] vl: prop is_suspended variable, Luiz Capitulino, 2012/05/04
- [Qemu-devel] [PATCH 1/4] wakeup on migration, Luiz Capitulino, 2012/05/04
- [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Eric Blake, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/04
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Paolo Bonzini, 2012/05/05
- Re: [Qemu-devel] [PATCH 3/4] runstate: introduce suspended state, Luiz Capitulino, 2012/05/06
[Qemu-devel] [PATCH 2/4] qapi-schema.json: fix RunState enums alphabetical order, Luiz Capitulino, 2012/05/04