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)
Feb 15 2024, 6:14 AM
Unknown Object (File)
Feb 15 2024, 6:14 AM
Unknown Object (File)
Feb 15 2024, 6:14 AM
Unknown Object (File)
Feb 15 2024, 3:54 AM
Unknown Object (File)
Dec 24 2023, 3:23 AM
Unknown Object (File)
Dec 23 2023, 12:45 AM
Unknown Object (File)
Dec 12 2023, 6:04 AM
Unknown Object (File)
Oct 31 2023, 8:18 AM

Diff Detail

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

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
2635–2636

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
2635–2636

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
2635–2636

Oh sry, haven't seen it.