qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Patch for qemu-project/qemu#2247 issue
@ 2024-04-01  9:43 liu.dayu
  2024-04-01 16:52 ` Michael Tokarev
  0 siblings, 1 reply; 5+ messages in thread
From: liu.dayu @ 2024-04-01  9:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, jiang.xuexin

hmp: Add help information for watchdog action: inject-nmi

virsh qemu-monitor-command --hmp help information of watchdog_action missing inject-nmi which already supported in Commit 795dc6e4

Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>

---
 hmp-commands.hx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hmp-commands.hx b/hmp-commands.hx
index 772ab996a..bc7e6d1dc 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1412,7 +1412,7 @@ ETEXI
     {
         .name       = "watchdog_action",
         .args_type  = "action:s",
-        .params     = "[reset|shutdown|poweroff|pause|debug|none]",
+        .params     = "[reset|shutdown|poweroff|pause|debug|none|inject-nmi]",
         .help       = "change watchdog action",
         .cmd        = hmp_watchdog_action,
         .command_completion = watchdog_action_completion,
--


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: Patch for qemu-project/qemu#2247 issue
  2024-04-01  9:43 Patch for qemu-project/qemu#2247 issue liu.dayu
@ 2024-04-01 16:52 ` Michael Tokarev
  2024-04-02  9:50   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Tokarev @ 2024-04-01 16:52 UTC (permalink / raw)
  To: liu.dayu, qemu-devel; +Cc: qemu-trivial, jiang.xuexin

01.04.2024 12:43, liu.dayu@zte.com.cn wrote:
> hmp: Add help information for watchdog action: inject-nmi
> 
> virsh qemu-monitor-command --hmp help information of watchdog_action missing inject-nmi which already supported in Commit 795dc6e4
> 
> Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>

Applied to trivial-patches tree, in the following form:

Author: Dayu Liu <liu.dayu@zte.com.cn>
Date:   Mon Apr 1 17:43:55 2024 +0800

     hmp: Add help information for watchdog action: inject-nmi

     virsh qemu-monitor-command --hmp help information of
     watchdog_action missing inject-nmi which already supported
     in Commit 795dc6e4

     Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2247
     Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
     Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
     Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
     [Mjt: decode and word-wrap commit message and add Resolves: tag]

Thanks,

/mjt


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Patch for qemu-project/qemu#2247 issue
  2024-04-01 16:52 ` Michael Tokarev
@ 2024-04-02  9:50   ` Philippe Mathieu-Daudé
  2024-04-02  9:59     ` Michael Tokarev
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-04-02  9:50 UTC (permalink / raw)
  To: Michael Tokarev, liu.dayu, qemu-devel; +Cc: qemu-trivial, jiang.xuexin

On 1/4/24 18:52, Michael Tokarev wrote:
> 01.04.2024 12:43, liu.dayu@zte.com.cn wrote:
>> hmp: Add help information for watchdog action: inject-nmi
>>
>> virsh qemu-monitor-command --hmp help information of watchdog_action 
>> missing inject-nmi which already supported in Commit 795dc6e4
>>
>> Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
> 
> Applied to trivial-patches tree, in the following form:
> 
> Author: Dayu Liu <liu.dayu@zte.com.cn>
> Date:   Mon Apr 1 17:43:55 2024 +0800
> 
>      hmp: Add help information for watchdog action: inject-nmi
> 
>      virsh qemu-monitor-command --hmp help information of
>      watchdog_action missing inject-nmi which already supported
>      in Commit 795dc6e4
> 

Fixes: 795dc6e46d ("watchdog: Add new Virtual Watchdog action INJECT-NMI")

>      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2247
>      Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
>      Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
>      Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
>      [Mjt: decode and word-wrap commit message and add Resolves: tag]
> 
> Thanks,
> 
> /mjt
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Patch for qemu-project/qemu#2247 issue
  2024-04-02  9:50   ` Philippe Mathieu-Daudé
@ 2024-04-02  9:59     ` Michael Tokarev
  2024-04-02 13:30       ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Tokarev @ 2024-04-02  9:59 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, liu.dayu, qemu-devel
  Cc: qemu-trivial, jiang.xuexin

02.04.2024 12:50, Philippe Mathieu-Daudé пишет:
> On 1/4/24 18:52, Michael Tokarev wrote:
>> 01.04.2024 12:43, liu.dayu@zte.com.cn wrote:
>>> hmp: Add help information for watchdog action: inject-nmi
>>>
>>> virsh qemu-monitor-command --hmp help information of watchdog_action missing inject-nmi which already supported in Commit 795dc6e4
>>>
>>> Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
>>
>> Applied to trivial-patches tree, in the following form:
>>
>> Author: Dayu Liu <liu.dayu@zte.com.cn>
>> Date:   Mon Apr 1 17:43:55 2024 +0800
>>
>>      hmp: Add help information for watchdog action: inject-nmi
>>
>>      virsh qemu-monitor-command --hmp help information of
>>      watchdog_action missing inject-nmi which already supported
>>      in Commit 795dc6e4
>>
> 
> Fixes: 795dc6e46d ("watchdog: Add new Virtual Watchdog action INJECT-NMI")

I don't think that commit is broken and needs Fixing.
I see your point though - to have more formal way to
mark "related" commits, it isn't always fixing something.

I sent a pullreq for this a couple hours ago anyway.

/mjt


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Patch for qemu-project/qemu#2247 issue
  2024-04-02  9:59     ` Michael Tokarev
@ 2024-04-02 13:30       ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-04-02 13:30 UTC (permalink / raw)
  To: Michael Tokarev, liu.dayu, qemu-devel; +Cc: qemu-trivial, jiang.xuexin

On 2/4/24 11:59, Michael Tokarev wrote:
> 02.04.2024 12:50, Philippe Mathieu-Daudé пишет:
>> On 1/4/24 18:52, Michael Tokarev wrote:
>>> 01.04.2024 12:43, liu.dayu@zte.com.cn wrote:
>>>> hmp: Add help information for watchdog action: inject-nmi
>>>>
>>>> virsh qemu-monitor-command --hmp help information of watchdog_action 
>>>> missing inject-nmi which already supported in Commit 795dc6e4
>>>>
>>>> Signed-off-by: Dayu Liu <liu.dayu@zte.com.cn>
>>>
>>> Applied to trivial-patches tree, in the following form:
>>>
>>> Author: Dayu Liu <liu.dayu@zte.com.cn>
>>> Date:   Mon Apr 1 17:43:55 2024 +0800
>>>
>>>      hmp: Add help information for watchdog action: inject-nmi
>>>
>>>      virsh qemu-monitor-command --hmp help information of
>>>      watchdog_action missing inject-nmi which already supported
>>>      in Commit 795dc6e4
>>>
>>
>> Fixes: 795dc6e46d ("watchdog: Add new Virtual Watchdog action 
>> INJECT-NMI")
> 
> I don't think that commit is broken and needs Fixing.
> I see your point though - to have more formal way to
> mark "related" commits, it isn't always fixing something.
> 
> I sent a pullreq for this a couple hours ago anyway.

No worries ;)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-02 13:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-01  9:43 Patch for qemu-project/qemu#2247 issue liu.dayu
2024-04-01 16:52 ` Michael Tokarev
2024-04-02  9:50   ` Philippe Mathieu-Daudé
2024-04-02  9:59     ` Michael Tokarev
2024-04-02 13:30       ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).