On Tue, Apr 16, 2013 at 12:53:22PM +0800, [email protected] wrote:
> From: Xiaoqing Wei <[email protected]>
> 
> both HMP and QMP
> Changlog:
> use self.cmd() on QMP monitor
> 
> Signed-off-by: Xiaoqing Wei <[email protected]>
> ---
>  virttest/qemu_monitor.py |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)
> 
> diff --git a/virttest/qemu_monitor.py b/virttest/qemu_monitor.py
> index d58aabf..2cd3ff6 100644
> --- a/virttest/qemu_monitor.py
> +++ b/virttest/qemu_monitor.py
> @@ -697,6 +697,13 @@ class HumanMonitor(Monitor):
>          return self.cmd("getfd %s" % name, fd=fd)
>  
>  
> +    def nmi(self):
> +        """
> +        inject a NMI into VM

           "inject an NMI on all guest's CPUs" is clearer

> +        """
> +        return self.cmd("nmi")
> +
..

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to