Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109794587
D48811.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
560 B
Referenced Files
None
Subscribers
None
D48811.diff
View Options
diff --git a/usr.sbin/bhyve/riscv/vmexit.c b/usr.sbin/bhyve/riscv/vmexit.c
--- a/usr.sbin/bhyve/riscv/vmexit.c
+++ b/usr.sbin/bhyve/riscv/vmexit.c
@@ -47,6 +47,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <vmmapi.h>
@@ -135,6 +136,12 @@
struct vm_run *vmrun __unused)
{
+ /*
+ * XXX-MJ sleep for a short period to avoid chewing up the CPU in the
+ * window between activation of the vCPU thread and the
+ * SBI_HSM_HART_START request.
+ */
+ usleep(1000);
return (VMEXIT_CONTINUE);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 10, 3:13 PM (1 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16454213
Default Alt Text
D48811.diff (560 B)
Attached To
Mode
D48811: bhyve: Sleep for a short period after VM_EXITCODE_DEBUG exits
Attached
Detach File
Event Timeline
Log In to Comment