Skip to content

VIRTWINKVM-2898: Exclude usb-tablet if virtio-mouse/virtio-tablet is attached - #1135

Merged
kostyanf14 merged 1 commit into
HCK-CI:masterfrom
harshapa-rh:usb-tablet-virtio-mouse
Sep 14, 2026
Merged

kostyanf14 merged 1 commit into
HCK-CI:masterfrom
harshapa-rh:usb-tablet-virtio-mouse

Conversation

@harshapa-rh

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/setupmanagers/qemuhck/qemu_machine.rb Fixed
@harshapa-rh
harshapa-rh force-pushed the usb-tablet-virtio-mouse branch from cf1fad2 to 4f0679f Compare September 10, 2026 06:40

@kostyanf14 kostyanf14 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing "signoff-by" in commit

…attached

Signed-off-by: Harshal Patil <harshapa@redhat.com>
@harshapa-rh
harshapa-rh force-pushed the usb-tablet-virtio-mouse branch from 4f0679f to 4b310e3 Compare September 10, 2026 08:12
@kostyanf14
kostyanf14 requested a balanced review from Copilot September 10, 2026 08:18
@kostyanf14

Copy link
Copy Markdown
Contributor

ok to test

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new default-device selection branches lack regression coverage in the existing QemuMachine RSpec suite.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Moves the default USB tablet into device selection so it is omitted when a VirtIO pointing device is attached.

Changes:

  • Adds configurable usb-tablet fallback behavior.
  • Classifies VirtIO mouse/tablet devices as pointing devices.
  • Removes the unconditional USB tablet command.
File summaries
File Description
qemu_machine.rb Conditionally adds the default tablet.
qemu_machine.json Configures the default tablet device.
virtio-tablet-pci.json Marks the device as a mouse.
virtio-mouse-pci.json Marks the device as a mouse.
usb-tablet.json Defines the default USB tablet.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/setupmanagers/qemuhck/qemu_machine.rb
@kostyanf14
kostyanf14 merged commit 48f6826 into HCK-CI:master Sep 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants