Page MenuHomeFreeBSD

bhyve: Remove some no-op code for setting RIP.
ClosedPublic

Authored by jhb on Dec 9 2022, 12:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 19, 11:32 AM
Unknown Object (File)
Sat, Oct 19, 11:32 AM
Unknown Object (File)
Sat, Oct 19, 11:32 AM
Unknown Object (File)
Sat, Oct 19, 11:16 AM
Unknown Object (File)
Sep 30 2024, 2:33 AM
Unknown Object (File)
Sep 30 2024, 12:35 AM
Unknown Object (File)
Sep 28 2024, 7:13 AM
Unknown Object (File)
Sep 23 2024, 8:16 PM
Subscribers

Details

Summary

fbsdrun_addcpu() read the current vCPU's RIP register from the kernel
via vm_get_register() to pass along through some layers to vm_loop()
which then set the register via vm_set_register(). However, this is
just always setting the value back to itself.

Diff Detail

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