Page MenuHomeFreeBSD

Ignore kern.vt.splash_cpu on bhyve
ClosedPublic

Authored by vangyzen on Jul 7 2019, 10:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 9 2024, 5:23 AM
Unknown Object (File)
Dec 23 2023, 12:22 AM
Unknown Object (File)
Dec 15 2023, 7:52 PM
Unknown Object (File)
Aug 27 2023, 6:11 AM
Unknown Object (File)
Jul 4 2023, 5:11 PM
Unknown Object (File)
Jul 4 2023, 5:10 PM
Unknown Object (File)
Jul 3 2023, 6:05 AM
Unknown Object (File)
Jul 2 2023, 6:09 AM
Subscribers

Details

Summary

If kern.vt.splash_cpu is set on a machine without graphics, such as bhyve
in some configurations, do not panic. Simply ignore splash_cpu and keep
booting.

Test Plan
OK set kern.vt.splash_cpu="1"
OK boot
...
VT: init without driver.
...
vt_init_logos: vd 0xffffffff81ae6c40 not initialized

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vangyzen added inline comments.
sys/dev/vt/vt_cpulogos.c
233 ↗(On Diff #59525)

Is the printf valuable? I would be happy to remove it.

This revision is now accepted and ready to land.Jul 8 2019, 5:57 AM

I would change the commit summary/title, though. Really we're just disabling a feature when it is unsupported by some particular configuration; it's not bhyve-specific.

dumbbell added inline comments.
sys/dev/vt/vt_cpulogos.c
233 ↗(On Diff #59525)

Probably no, now that this is not an assert anymore. Feel free to remove it.

This revision was automatically updated to reflect the committed changes.