Page MenuHomeFreeBSD

bhyve: namescope virtio_msix to virtio.msix
AcceptedPublic

Authored by njain15_protonmail.com on Wed, Jul 22, 1:01 AM.
Tags
None
Referenced Files
F165305021: D58390.id183360.diff
Fri, Aug 7, 1:17 PM
Unknown Object (File)
Thu, Aug 6, 6:29 PM
Unknown Object (File)
Thu, Aug 6, 6:18 PM
Unknown Object (File)
Thu, Aug 6, 6:08 PM
Unknown Object (File)
Thu, Aug 6, 11:49 AM
Unknown Object (File)
Wed, Aug 5, 7:34 PM
Unknown Object (File)
Tue, Aug 4, 2:23 AM
Unknown Object (File)
Mon, Aug 3, 2:03 PM

Details

Reviewers
andrew
markj
ziaee
Group Reviewers
bhyve
manpages
Summary

The bhyve_config(5) variable virtio_msix is namescoped to virtio.msix. Any configurations that have the old variable will automatically be mapped to the new one, with a warning message printed out.

Relnotes: yes

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

markj added a subscriber: markj.
markj added inline comments.
usr.sbin/bhyve/riscv/bhyverun_machdep.c
188

Extra newline here.

This revision is now accepted and ready to land.Thu, Jul 23, 4:42 PM
jhb added inline comments.
usr.sbin/bhyve/bhyverun.c
250

I think you can actually get rid of msg as a separate argument and instead just use new. I would also split this into two commits: one to add bhyve_cfg_warn() and to use it in place of the existing checks, and a second to just do virtio.msix.

Updated per reviewer comments. D58636 is the parent revision, adding the deprecation warning function.

I am not sure how to get Phabricator to only show the diff relative to the parent revision.

This revision now requires review to proceed.Tue, Aug 4, 3:06 AM

Should we put something in UPDATING?

@ziaee Yes I think this should be noted in UPDATING.

@ziaee Yes I think this should be noted in UPDATING.

RELNOTES would be more appropriate. UPDATING is for users tracking main.

This revision is now accepted and ready to land.Tue, Aug 4, 8:45 PM
ziaee added a reviewer: manpages.

@ziaee Yes I think this should be noted in UPDATING.

RELNOTES would be more appropriate. UPDATING is for users tracking main.

LGTM with Relnotes: yes.

njain15_protonmail.com marked an inline comment as done.

@ziaee Yes I think this should be noted in UPDATING.

RELNOTES would be more appropriate. UPDATING is for users tracking main.

LGTM with Relnotes: yes.

I edited the summary with a message and this tag. Is this the right way?