]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce 16550A serial console model
authorAndrea Bolognani <abologna@redhat.com>
Mon, 27 Aug 2018 08:25:17 +0000 (10:25 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 28 Aug 2018 15:57:38 +0000 (17:57 +0200)
commit9610eaa48dbc303ba74cba97e77594398998cbb8
treee98378dbf3576981985a3e62db00d135f33ec57a
parent3a5e6cf688ffca68a7553f21c929dcdb892b0644
qemu: Introduce 16550A serial console model

None of the existing models is suitable for use with
RISC-V virt guests, and we don't want information about
the serial console to be missing from the XML.

The name is based on comments in qemu/hw/riscv/virt.c:

  RISC-V machine with 16550a UART and VirtIO MMIO

and in qemu/hw/char/serial.c:

  QEMU 16550A UART emulation

along with the output of dmesg in the guest:

  Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13,
    base_baud= 230400) is a 16550A

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
tests/qemuxml2xmloutdata/riscv64-virt.xml