Page MenuHomeFreeBSD

vmm vmx: Add VMX_CTR* wrapper macros.
ClosedPublic

Authored by jhb on Oct 27 2022, 3:03 PM.
Tags
None
Referenced Files
F145628400: D37154.id112263.diff
Sun, Feb 22, 9:14 AM
Unknown Object (File)
Wed, Feb 18, 12:34 PM
Unknown Object (File)
Thu, Feb 12, 9:22 PM
Unknown Object (File)
Sun, Feb 8, 1:19 PM
Unknown Object (File)
Sat, Feb 7, 4:07 PM
Unknown Object (File)
Sat, Jan 31, 12:14 PM
Unknown Object (File)
Dec 14 2025, 7:22 AM
Unknown Object (File)
Dec 5 2025, 3:23 AM
Subscribers

Details

Summary

These macros are similar to VCPU_CTR* but accept a single vmx_vcpu
pointer as the first argument instead of separate vm and vcpuid.

Diff Detail

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

Event Timeline

jhb requested review of this revision.Oct 27 2022, 3:03 PM
markj added inline comments.
sys/amd64/vmm/intel/vmx.c
1238

Are these ifdefs needed?

This revision is now accepted and ready to land.Nov 4 2022, 2:51 PM
sys/amd64/vmm/intel/vmx.c
1238

Hmm, no.

jhb marked an inline comment as done.Nov 4 2022, 9:15 PM
jhb added inline comments.
sys/amd64/vmm/intel/vmx.c
1238

I added a followup commit to trim them.

This revision was automatically updated to reflect the committed changes.