]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Fix handling of -r
authorMark Johnston <markj@FreeBSD.org>
Mon, 29 Apr 2024 14:13:50 +0000 (10:13 -0400)
committerMark Johnston <markj@FreeBSD.org>
Mon, 29 Apr 2024 14:13:50 +0000 (10:13 -0400)
commit390e44988aeaa824a9ea4f0e352f9a252093c170
tree1c61f452399407f84bbd496c54bb4d07482b5ddf
parent9e8618276fada5c68cc64676fba2ae2abd0544f5
bhyve: Fix handling of -r

Just make "restore_file" a global variable so that it can be set by the
MD option handler.

Reviewed by: corvink
Reported by: bdrewery
Fixes: 981f9f7495bb ("bhyve: Push option parsing down into bhyverun_machdep.c")
Differential Revision: https://reviews.freebsd.org/D44974
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/bhyverun.h