git: 3ebe1109348f - main - bhyve: sweep MAX_VMNAME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Mar 2022 05:57:31 UTC
The branch main has been updated by rew:
URL: https://cgit.FreeBSD.org/src/commit/?id=3ebe1109348f53f64b395293578416abedef4090
commit 3ebe1109348f53f64b395293578416abedef4090
Author: Robert Wing <rew@FreeBSD.org>
AuthorDate: 2022-03-18 05:55:52 +0000
Commit: Robert Wing <rew@FreeBSD.org>
CommitDate: 2022-03-18 05:55:52 +0000
bhyve: sweep MAX_VMNAME
MAX_VMNAME is no longer used.
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D34292
---
usr.sbin/bhyve/snapshot.c | 2 --
usr.sbin/bhyvectl/bhyvectl.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/usr.sbin/bhyve/snapshot.c b/usr.sbin/bhyve/snapshot.c
index 585fc2bc6f47..7b72aaf765bd 100644
--- a/usr.sbin/bhyve/snapshot.c
+++ b/usr.sbin/bhyve/snapshot.c
@@ -116,8 +116,6 @@ static sig_t old_winch_handler;
#define SNAPSHOT_CHUNK (4 * MB)
#define PROG_BUF_SZ (8192)
-#define MAX_VMNAME 100
-
#define SNAPSHOT_BUFFER_SIZE (20 * MB)
#define JSON_STRUCT_ARR_KEY "structs"
diff --git a/usr.sbin/bhyvectl/bhyvectl.c b/usr.sbin/bhyvectl/bhyvectl.c
index e4de6da1803c..06ab05cd48e1 100644
--- a/usr.sbin/bhyvectl/bhyvectl.c
+++ b/usr.sbin/bhyvectl/bhyvectl.c
@@ -74,8 +74,6 @@ __FBSDID("$FreeBSD$");
#define NO_ARG no_argument
#define OPT_ARG optional_argument
-#define MAX_VMNAME 100
-
static const char *progname;
static void