Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtio Keyboard regression #1198

Open
ChristophSchmidpeter opened this issue Nov 20, 2024 · 6 comments
Open

Virtio Keyboard regression #1198

ChristophSchmidpeter opened this issue Nov 20, 2024 · 6 comments

Comments

@ChristophSchmidpeter
Copy link

ChristophSchmidpeter commented Nov 20, 2024

Describe the bug
Regression in virt-input driver:

With a current virtio driver the virtio keyboard device does not work any more. The regression has come in some update. (Don't remember which one)

To Reproduce

  • Install the virtio setup including the virtinput driver
  • Ensure the VM has a virtio keyboard device
  • Start the VM and notice that the keyboard does not work in Windows

Expected behavior
Keyboard works

Screenshots
If applicable, add screenshots to help explain your problem.

Host:

  • Disto: Arch Linux
  • Kernel version: 6.10.0-zen1-2-zen
  • QEMU version: 9.1.1
  • QEMU command line: (add virtio keyboard)
  • libvirt version: 10.9.0
  • libvirt XML file

VM:

  • Windows version: 11
  • Which driver has a problem: virtio-input
  • Driver version or commit hash that was used to build the driver

Additional context
Add any other context about the problem here.

@YanVugenfirer
Copy link
Collaborator

YanVugenfirer commented Nov 25, 2024

@ChristophSchmidpeter Do you have IOMMU device in the system? Is virtio-input device configured with ats=on and iommu_platform=on?

@ChristophSchmidpeter
Copy link
Author

@YanVugenfirer No, I have no IOMMU device in the VM, and I don't see any ats=on setting in my libvirt xml. Attached is the VM's libvirt XML:
Windows.txt

@leidwang
Copy link

Hi @ChristophSchmidpeter Would you please share the driver version?Thanks.

@ybendito
Copy link
Collaborator

ybendito commented Nov 25, 2024

@ChristophSchmidpeter Under HKLM\Ssystem\CurrentControlSet\Services\VirtioInput\Parameters remove DmaRemappingCompatible value and reboot. Does this help?
If does - this is strange and unexpected effect of #1140

@leidwang
Copy link

Hi @ChristophSchmidpeter
I didn't reproduce the issue in my env, could you please provide more info? Such like driver version that you used.You can find the driver version via "Device Manager" -> "Virtio Input Driver" -> "Properties" -> "Driver".

@YanVugenfirer
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants