Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164824052
D4773.id11896.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
918 B
Referenced Files
None
Subscribers
None
D4773.id11896.diff
View Options
Index: usr.sbin/bhyve/bhyverun.c
===================================================================
--- usr.sbin/bhyve/bhyverun.c
+++ usr.sbin/bhyve/bhyverun.c
@@ -307,14 +307,13 @@
vmexit_inout(struct vmctx *ctx, struct vm_exit *vme, int *pvcpu)
{
int error;
- int bytes, port, in, out, string;
+ int bytes, port, in, out;
int vcpu;
vcpu = *pvcpu;
port = vme->u.inout.port;
bytes = vme->u.inout.bytes;
- string = vme->u.inout.string;
in = vme->u.inout.in;
out = !in;
@@ -596,7 +595,7 @@
static void
vm_loop(struct vmctx *ctx, int vcpu, uint64_t startrip)
{
- int error, rc, prevcpu;
+ int error, rc;
enum vm_exitcode exitcode;
cpuset_t active_cpus;
@@ -617,8 +616,6 @@
if (error != 0)
break;
- prevcpu = vcpu;
-
exitcode = vmexit[vcpu].exitcode;
if (exitcode >= VM_EXITCODE_MAX || handler[exitcode] == NULL) {
fprintf(stderr, "vm_loop: unexpected exitcode 0x%x\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 5, 5:31 AM (4 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36000069
Default Alt Text
D4773.id11896.diff (918 B)
Attached To
Mode
D4773: MFC 292982 and 292981
Attached
Detach File
Event Timeline
Log In to Comment