[PATCH 0/2]add usb-serial virtual device support for qemu

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

 



This two patches are trying to add support for qemu virtual device
usb-serial.

Add an optional 'type' attribute to <target> element of serial port
device. There are two choices for its value, 'isa-serial' and
'usb-serial'. For backward compatibility, when attribute 'type' is
missing the 'isa-serial' will be chose as before.

Libvirt XML sample

    <serial type='pty'>
      <target type='usb-serial' port='0'/>
      <address type='usb' bus='0' port='1'/>
    </serial>

qemu commandline:

qemu ${other_vm_args}              \
    -chardev pty,id=charserial0    \
    -device usb-serial,chardev=charserial0,id=serial0,bus=usb.0,port=1

Guannan Ren(2)
  [PATCH 1/2] qemu: add usb-serial caps flag
  [PATCH 2/2] qemu: add usb-serial support

 docs/formatdomain.html.in     |  9 ++++++++-
 docs/schemas/domaincommon.rng | 20 +++++++++++++++++---
 src/conf/domain_conf.c        | 42 +++++++++++++++++++++++++++++++++++++++---
 src/conf/domain_conf.h        | 10 ++++++++++
 src/libvirt_private.syms      |  2 ++
 src/qemu/qemu_capabilities.c  |  2 ++
 src/qemu/qemu_capabilities.h  |  1 +
 src/qemu/qemu_command.c       | 24 ++++++++++++++++++++++--
 tests/qemuhelptest.c          | 21 ++++++++++++++-------
 9 files changed, 115 insertions(+), 16 deletions(-)

--
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]