[PATCH v2 0/5] Support keyboard device

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

 



From: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx>

This patchset is to add keyboard input device.

For PPC64, it doesn't support a default keyboard device when the graphic
is enabled. Libvirt supports QEMU command line as "-device VGA" which 
won't create any keyboard device for it. So it requires libvirt to add
a default USB keyboard device for it.

This patchset is to add keyboard input device and a default USB keyboard
for PPC64.

The related discussion in QEMU community:
http://lists.nongnu.org/archive/html/qemu-devel/2013-11/msg01734.html

Li Zhang (5):
  conf: Add a keyboard input device type
  qemu_cap: Add USB keyboard capability
  docs/schemas/domaincommon.rng: add keyboard input device type
  qemu: parse USB keyboard qemu command line.
  Add a default USB keyboard for PPC64

 v2 -> v1:
   * change ifs to switch clause.
   * reconstruct the patches

 docs/schemas/domaincommon.rng                      |  1 +
 src/conf/domain_conf.c                             | 62 ++++++++++++++++------
 src/conf/domain_conf.h                             |  5 ++
 src/libvirt_private.syms                           |  1 +
 src/qemu/qemu_capabilities.c                       |  2 +
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 18 +++++--
 src/qemu/qemu_domain.c                             | 14 ++++-
 tests/qemucapabilitiesdata/caps_1.2.2-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_1.3.1-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_1.4.2-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_1.5.3-1.caps       |  1 +
 tests/qemucapabilitiesdata/caps_1.6.0-1.caps       |  2 +
 tests/qemucapabilitiesdata/caps_1.6.50-1.caps      |  1 +
 tests/qemuhelptest.c                               |  8 +++
 .../qemuxml2argvdata/qemuxml2argv-pseries-disk.xml |  1 +
 .../qemuxml2argv-pseries-usb-kbd.args              |  9 ++++
 .../qemuxml2argv-pseries-usb-kbd.xml               | 19 +++++++
 tests/qemuxml2argvtest.c                           |  3 ++
 19 files changed, 130 insertions(+), 21 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-usb-kbd.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-usb-kbd.xml

-- 
1.8.2.1

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