Page MenuHomeFreeBSD

vmm: Pass vcpu instead of vm and vcpuid to APIs used from CPU backends.
ClosedPublic

Authored by jhb on Oct 27 2022, 3:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 25, 3:03 AM
Unknown Object (File)
Sat, Feb 22, 2:19 PM
Unknown Object (File)
Sat, Feb 22, 1:55 PM
Unknown Object (File)
Sat, Feb 22, 1:49 PM
Unknown Object (File)
Sat, Feb 15, 2:37 AM
Unknown Object (File)
Jan 26 2025, 6:06 PM
Unknown Object (File)
Jan 26 2025, 5:53 PM
Unknown Object (File)
Jan 24 2025, 5:38 PM

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:04 PM
corvink added a subscriber: corvink.
corvink added inline comments.
sys/amd64/vmm/amd/svm.c
2628–2629

Nit: You've changed the return type of svm_get_tsc_offset to void. So, this could be void too.

This revision is now accepted and ready to land.Nov 11 2022, 11:42 AM
sys/amd64/vmm/amd/svm.c
2628–2629

This is a vmmop function, so the signature is shared with VT-x. The vmx version of this can return errors.

sys/amd64/vmm/amd/svm.c
2628–2629

Oh sry, haven't seen it.