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)
Tue, Dec 17, 4:24 PM
Unknown Object (File)
Fri, Dec 13, 1:42 PM
Unknown Object (File)
Dec 2 2024, 3:03 PM
Unknown Object (File)
Nov 29 2024, 11:23 AM
Unknown Object (File)
Nov 25 2024, 3:39 AM
Unknown Object (File)
Nov 24 2024, 7:07 PM
Unknown Object (File)
Nov 19 2024, 6:32 PM
Unknown Object (File)
Nov 18 2024, 2:03 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.