Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137363421
D29109.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
D29109.diff
View Options
diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c
--- a/lib/libvmmapi/vmmapi.c
+++ b/lib/libvmmapi/vmmapi.c
@@ -133,7 +133,7 @@
return (vm);
err:
- vm_destroy(vm);
+ free(vm);
return (NULL);
}
diff --git a/usr.sbin/bhyvectl/bhyvectl.c b/usr.sbin/bhyvectl/bhyvectl.c
--- a/usr.sbin/bhyvectl/bhyvectl.c
+++ b/usr.sbin/bhyvectl/bhyvectl.c
@@ -1950,7 +1950,9 @@
if (!error) {
ctx = vm_open(vmname);
if (ctx == NULL) {
- printf("VM:%s is not created.\n", vmname);
+ fprintf(stderr,
+ "vm_open: %s could not be opened: %s\n",
+ vmname, strerror(errno));
exit (1);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 23, 7:38 PM (11 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26028915
Default Alt Text
D29109.diff (617 B)
Attached To
Mode
D29109: bhyvectl: print a better error message when vm_open fails
Attached
Detach File
Event Timeline
Log In to Comment