RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1232087 - Suggest to set default bus type to usb when add a tablet device by "--input"
Summary: Suggest to set default bus type to usb when add a tablet device by "--input"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.2
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-16 03:45 UTC by Xiaodai Wang
Modified: 2016-11-04 01:57 UTC (History)
4 users (show)

Fixed In Version: virt-manager-1.3.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 01:57:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2269 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2016-11-03 13:34:19 UTC

Description Xiaodai Wang 2015-06-16 03:45:27 UTC
Description of problem:
Suggest to set default bus type to usb when add a tablet device by "--input".

Version-Release number of selected component (if applicable):
virt-manager-1.2.0-4.el7.noarch
virt-install-1.2.0-4.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Run virt-install command with --input type=tablet, but not set bus type for it.
#virt-install --name demotest --memory 1024 --disk path=/var/lib/libvirt/images/demo.img,size=2 --input type=tablet -l http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-6/6.6/Server/x86_64/os --debug


Actual results:
[Mon, 15 Jun 2015 23:29:55 virt-install 1090] ERROR (cli:296) internal error: unsupported input bus xen

Expected results:
Because ps2 and xen are not supported, it's better to set the default bus type to usb for tablet device, so that the guest can install a tablet device without specify the bus type.

Additional info:
1. if set bus to ps2, "ERROR (cli:296) internal error: ps2 bus does not support tablet input device" occurs.
2. if set bus to xen, "ERROR (cli:296) internal error: unsupported input bus xen"

Comment 3 Cole Robinson 2015-11-22 02:08:55 UTC
Fixed upstream now:

commit 6d3b5e283804770dae945a5e79c46fd182d39881
Author: Cole Robinson <crobinso>
Date:   Sat Nov 21 20:26:50 2015 -0500

    cli: Have '--input tablet' default to bus=usb (bz 1232087)
    
    Make the default a little smarter in other ways too

Comment 4 Mike McCune 2016-03-28 23:17:33 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 XiaoyunHu 2016-07-19 03:45:02 UTC
I can reproduce this bug with package:
virt-manager-1.2.1-8.el7.noarch
virt-install-1.2.1-8.el7.noarch

Steps are the same as description above.

Then try to verify with new build:
virt-manager-1.4.0-1.el7.noarch
virt-install-1.4.0-1.el7.noarch

Steps:
1.Run virt-install command with --input type=tablet, but not set bus type for it.
#virt-install --name demotest --memory 1024 --disk path=/var/lib/libvirt/images/demo.img,size=2 --input type=tablet -l http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-6/6.6/Server/x86_64/os --debug

Results:
1. The guest can be installed successfully.
2. After installation,Run "virsh dumpxml demotest |grep input -A10"
    <input type='tablet' bus='usb'>
      <alias name='input0'/>

According to the result above in the latest version of virt-manager, move this bug from ON_QA to VERIFIED.

Comment 8 errata-xmlrpc 2016-11-04 01:57:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2269.html


Note You need to log in before you can comment on or make changes to this bug.