[Bug 246121] [bhyve][PATCH] Append Keyboard Layout specified option for using VNC.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 4 15:48:46 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246121

Michael Reifenberger <mr at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mr at FreeBSD.org

--- Comment #17 from Michael Reifenberger <mr at FreeBSD.org> ---
Hi,
I'm currently testing the patches with FreeBSD 12.2 STABLE.

Using both patches:
cd /usr/src
patch < bhyve_qemu_ext_key_event_msg_fbsd121r.patch
patch < bhyve_kbdlayout_option_fbsd121r.patch
sh bhyve_kbdlayout_layoutfile.shar
ls -l bhyve/*.rej
-rw-r--r--  1 root  wheel   199  4 Nov. 16:15 bhyve/bhyve.8.rej
-rw-r--r--  1 root  wheel   273  4 Nov. 16:15 bhyve/bhyverun.c.rej
-rw-r--r--  1 root  wheel  1167  3 Nov. 21:52 bhyve/ps2kbd.c.rej

If only using bhyve_qemu_ext_key_event_msg_fbsd121r.patch:
This seems to work as I can switch to a german layout (Windows10 VM) and use
umlauts.

If only using bhyve_kbdlayout_option_fbsd121r.patch:
The patch doesn't apply cleanly:
-rw-r--r--  1 root  wheel  199  4 Nov. 16:35 bhyve/bhyve.8.rej
-rw-r--r--  1 root  wheel  273  4 Nov. 16:35 bhyve/bhyverun.c.rej

make install doesn't call kbdlayout/Makefile BTW.

If applying bhyverun.c.rej by hand I can start bhyve with 'bhyve_options="-k
de"' but doesn't seem to work like the first patch.
(I can select the german keyboard in Windows but no umlauts are printed)

So it seems that for me only bhyve_qemu_ext_key_event_msg_fbsd121r.patch is
working as expected.

Thanks for your work in this area BTW!

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


More information about the freebsd-virtualization mailing list