bhyve: Remove an unneeded vm_get_register() call in main()
At one point the RIP value was passed to fbsdrun_addcpu(), but this is no longer the case. No functional change intended. Reviewed by: jhb, corvink Sponsored by: Innovate UK MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D40988
This commit is contained in:
parent
0855749d29
commit
af20d58ef1
@ -1218,7 +1218,6 @@ main(int argc, char *argv[])
|
||||
struct vcpu *bsp;
|
||||
struct vmctx *ctx;
|
||||
struct qemu_fwcfg_item *e820_fwcfg_item;
|
||||
uint64_t rip;
|
||||
size_t memsize;
|
||||
const char *optstr, *value, *vmname;
|
||||
#ifdef BHYVE_SNAPSHOT
|
||||
@ -1539,9 +1538,6 @@ main(int argc, char *argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
error = vm_get_register(bsp, VM_REG_GUEST_RIP, &rip);
|
||||
assert(error == 0);
|
||||
|
||||
/*
|
||||
* build the guest tables, MP etc.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user