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)
Fri, Dec 27, 2:45 AM
Unknown Object (File)
Tue, Dec 24, 11:35 PM
Unknown Object (File)
Dec 2 2024, 10:10 PM
Unknown Object (File)
Nov 17 2024, 8:43 PM
Unknown Object (File)
Oct 19 2024, 11:32 AM
Unknown Object (File)
Oct 19 2024, 11:32 AM
Unknown Object (File)
Oct 19 2024, 11:32 AM
Unknown Object (File)
Oct 19 2024, 11:16 AM
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 Not Applicable
Unit
Tests Not Applicable