[Bug 213734] bhyve revision 307779 - atkbd data buffer full - windows guest doesnt receive key strokes

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Oct 2025 17:40:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213734

Roman Bogorodskiy <novel@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |novel@FreeBSD.org

--- Comment #3 from Roman Bogorodskiy <novel@FreeBSD.org> ---
(In reply to Ryan Moeller from comment #1)

> Windows requires the hostdev device to be in slot 1 and lpc device in slot 31.

I think hostdev "1" is a typo? I think normally "0" is used. The VM will not
even start for me with "-s 1:0,hostbridge".

Would be nice to get it clarified because a few forum threads related to the
issue link to this issue.

Anyway, the issue also relevant for me. I've tried various suggests, but I
cannot get keyboard working neither on Windows 10 nor Windows 11.

The command I'm using is:

bhyve \
  -c 2 -m 8192 -A -I -u -H -P \
  -s 0:0,hostbridge \
  -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
  -s 30:0,xhci,tablet \
  -s 3:0,ahci,hd:/data/img/windows10.img,cd:/data/img/null.iso \
  -s 30:1,fbuf,tcp=127.0.0.1:5944,vga=off \
  -s 31:0,lpc \
  windows10

When connecting via VNC mouse works, keyboard does not, and I get:

atkbd data buffer full

messages from bhyve.

Am I doing something obviously wrong, or that a bug in bhyve after all?

-- 
You are receiving this mail because:
You are the assignee for the bug.