[Bug 223531] Instant kernel panic on 'kldload virtio_console' on oVirt 3.5 VM

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 9 00:26:41 UTC 2017


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

Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cem at freebsd.org

--- Comment #5 from Conrad Meyer <cem at freebsd.org> ---
The problem is that `name` in vtcon_ctrl_port_name_event (via `payload` in
vtcon_ctrl_process_event, via vtcon_ctrl_task_cb) has a leading space in it. 
(prep_devname rejects names with spaces, double quotes, and trailing slashes,
as well as . and .. components.)

virtio_console isn't prepared to create a device name for host
VIRTIO_CONSOLE_PORT_NAME strings that prep_devname will reject.  It would be
relatively easy to replace bad characters with underscores, or strip
leading/trailing spaces.

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


More information about the freebsd-bugs mailing list