[libvirt] [PATCH] fix typo in qemu_monitor

Peter Krempa pkrempa at redhat.com
Fri Jul 24 11:50:18 UTC 2015


On Fri, Jul 24, 2015 at 17:26:36 +0800, Cao jin wrote:
> Signed-off-by: Cao jin <caoj.fnst at cn.fujitsu.com>
> ---
>  src/qemu/qemu_monitor.c | 2 +-
>  src/qemu/qemu_monitor.h | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
> index 15ba39b..beaf585 100644
> --- a/src/qemu/qemu_monitor.c
> +++ b/src/qemu/qemu_monitor.c
> @@ -3345,7 +3345,7 @@ qemuMonitorVMStatusToPausedReason(const char *status)
>      case QEMU_MONITOR_VM_STATUS_WATCHDOG:
>          return VIR_DOMAIN_PAUSED_WATCHDOG;
>  
> -    case QEMU_MONITOR_VM_STATUS_GUEST_PANICKED:

NACK, panicked is the correct way to spell it.

> +    case QEMU_MONITOR_VM_STATUS_GUEST_PANICED:
>          return VIR_DOMAIN_PAUSED_CRASHED;
>  
>      /* unreachable from this point on */

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150724/4e5905f2/attachment-0001.sig>


More information about the libvir-list mailing list