Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144570371
D4773.1775510424.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
948 B
Referenced Files
None
Subscribers
None
D4773.1775510424.diff
View Options
Index: stable/10/usr.sbin/bhyve/bhyverun.c
===================================================================
--- stable/10/usr.sbin/bhyve/bhyverun.c
+++ stable/10/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
Mon, Apr 6, 9:20 PM (12 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28281406
Default Alt Text
D4773.1775510424.diff (948 B)
Attached To
Mode
D4773: MFC 292982 and 292981
Attached
Detach File
Event Timeline
Log In to Comment