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

(cherry picked from commit ceb0d0b0f184d72f31ebdaa4edc752aed78a5807)

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
rGe57a5e80e913: bhyve: Simplify setting vCPU capabilities.
Branches
Unknown
Tags
Unknown