Page MenuHomeFreeBSD

vmm vmx: Add VMX_CTR* wrapper macros.
ClosedPublic

Authored by jhb on Oct 27 2022, 3:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 27, 6:30 PM
Unknown Object (File)
Thu, Nov 20, 2:50 AM
Unknown Object (File)
Mon, Nov 17, 11:03 PM
Unknown Object (File)
Sun, Nov 2, 5:06 AM
Unknown Object (File)
Wed, Oct 29, 10:30 PM
Unknown Object (File)
Oct 29 2025, 6:29 PM
Unknown Object (File)
Oct 26 2025, 4:27 PM
Unknown Object (File)
Oct 24 2025, 7:11 PM
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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
1243

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
1243

I added a followup commit to trim them.

This revision was automatically updated to reflect the committed changes.