[libvirt] [PATCH] Rename VIR_DOMAIN_PAUSED_GUEST_PANICKED to VIR_DOMAIN_PAUSED_CRASHED
Eric Blake
eblake at redhat.com
Mon Jul 29 16:59:07 UTC 2013
On 07/29/2013 10:56 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The VIR_DOMAIN_PAUSED_GUEST_PANICKED constant is badly named,
> leaking the QEMU event name. Elsewhere in the API we use
> 'CRASHED' rather than 'PANICKED', and the addition of 'GUEST'
> is redundant since all events are guest related.
>
> Thus rename it to VIR_DOMAIN_PAUSED_CRASHED, which matches
> with VIR_DOMAIN_RUNNING_CRASHED and VIR_DOMAIN_EVENT_CRASHED.
>
> It was added in commit 14e7e0ae8db9843aea80245a3d9e6cf5f2ef720d
> which post-dates v1.1.0, so is safe to rename before 1.1.1
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> include/libvirt/libvirt.h.in | 2 +-
> src/qemu/qemu_monitor.c | 2 +-
> src/qemu/qemu_process.c | 2 +-
> tools/virsh-domain-monitor.c | 4 ++--
> 4 files changed, 5 insertions(+), 5 deletions(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130729/f484a93e/attachment-0001.sig>
More information about the libvir-list
mailing list