HomeFreeBSD

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

Description

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

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.

Reviewed by: corvink
Differential Revision: https://reviews.freebsd.org/D37643

Details

Provenance
jhbAuthored on Dec 21 2022, 6:32 PM
Reviewer
corvink
Differential Revision
D37643: bhyve: Remove some no-op code for setting RIP.
Parents
rG461663ddbad0: bhyve: Simplify setting vCPU capabilities.
Branches
Unknown
Tags
Unknown