Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2017 00:26:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223531] Instant kernel panic on 'kldload virtio_console' on oVirt 3.5 VM
Message-ID:  <bug-223531-8-lKriUKBp43@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223531-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223531-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223531

Conrad Meyer <cem@freebsd.org> changed:

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

--- Comment #5 from Conrad Meyer <cem@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=
.=20
(prep_devname rejects names with spaces, double quotes, and trailing slashe=
s,
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223531-8-lKriUKBp43>