qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Add chardev-send-break monitor command


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] Add chardev-send-break monitor command
Date: Tue, 6 Jun 2017 16:17:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0


On 05/06/2017 14:24, Eric Blake wrote:
> On 06/05/2017 03:52 AM, Stefan Fritsch wrote:
>> Sending a break on a serial console can be useful for debugging the
>> guest. But not all chardev backends support sending breaks (only telnet
>> and mux do). The chardev-send-break command allows to send a break even
>> if using other backends.
>>
>> Signed-off-by: Stefan Fritsch <address@hidden>
>> ---
>>  chardev/char.c   | 12 ++++++++++++
>>  hmp-commands.hx  | 16 ++++++++++++++++
>>  hmp.c            |  8 ++++++++
>>  hmp.h            |  1 +
>>  qapi-schema.json | 20 ++++++++++++++++++++
>>  5 files changed, 57 insertions(+)
> 
> Is there an obvious test that we can enhance to add coverage of the new
> QMP command?

You could have a new test covering hw/char/serial.c, but I wouldn't let
that hold the patch.

Paolo

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]