Re: [PATCHv3 2/5] conf: add debugcon chardev guest interface

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

 




On 14.02.2019 14:32, Ján Tomko wrote:
> From: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
> 
> This interface can be used for example by firmware to print
> debug messages. Here is domain xml example:
> 
>     <serial type='pty'>
>       <target type='isa-serial' port='0'>
>         <model name='debugcon'/>
>       </target>
>       <address type='isa' iobase='0x402'/>
>     </serial>
> 
> Add checks to make sure this new serial type won't be reported
> as back-compat console.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
> Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
> ---
>  docs/formatdomain.html.in                     |  3 +-
>  docs/schemas/domaincommon.rng                 |  1 +
>  src/conf/domain_conf.c                        |  5 ++++
>  src/conf/domain_conf.h                        |  1 +
>  src/qemu/qemu_command.c                       |  3 ++
>  src/qemu/qemu_domain.c                        |  3 ++
>  .../qemuxml2argvdata/isa-serial-debugcon.xml  | 22 ++++++++++++++
>  .../isa-serial-debugcon.xml                   | 30 +++++++++++++++++++
>  tests/qemuxml2xmltest.c                       |  2 ++
>  9 files changed, 69 insertions(+), 1 deletion(-)
>  create mode 100644 tests/qemuxml2argvdata/isa-serial-debugcon.xml
>  create mode 100644 tests/qemuxml2xmloutdata/isa-serial-debugcon.xml
> 
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index 2ae5006849..a6d5346d46 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -7089,7 +7089,8 @@ qemu-kvm -net nic,model=? /dev/null
>        <span class="since">Since 3.10.0</span>, the <code>target</code>
>        element can have an optional <code>model</code> subelement;
>        valid values for its <code>name</code> attribute are:
> -      <code>isa-serial</code> (usable with the <code>isa-serial</code> target
> +      <code>isa-serial</code> and <span class="since">since 5.1.0</span>,
> +      <code>debugcon</code>(usable with the <code>isa-serial</code> target

Now it is 5.2.0

Nikolay

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux