Page MenuHomeFreeBSD

bhyve: use fbuf defaults when config parsing fails
ClosedPublic

Authored by rew on Nov 21 2023, 1:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 5:01 PM
Unknown Object (File)
Sun, Jan 12, 1:15 AM
Unknown Object (File)
Wed, Jan 8, 1:26 AM
Unknown Object (File)
Dec 11 2024, 11:09 AM
Unknown Object (File)
Nov 20 2024, 1:13 PM
Unknown Object (File)
Sep 27 2024, 5:09 PM
Unknown Object (File)
Sep 21 2024, 2:12 AM
Unknown Object (File)
Sep 20 2024, 3:02 AM

Details

Summary

Fallback to the framebuffer defaults if atoi() fails to convert the user
provided values for height/width.

..and also remove a couple unused macros that were nearby

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54534
Build 51423: arc lint + arc unit

Event Timeline

rew requested review of this revision.Nov 21 2023, 1:41 AM
This revision is now accepted and ready to land.Nov 21 2023, 7:37 AM

Hmm, should also reject values smaller than MIN?

TBH, I think it would also be nicer to use strtol and reject values that don't parse cleanly with an error.

address feedback from jhb

This revision now requires review to proceed.Dec 19 2023, 2:09 AM
This revision is now accepted and ready to land.Dec 19 2023, 7:34 AM