diff options
| author | Jason King <jason.king@joyent.com> | 2020-04-17 16:49:26 +0000 |
|---|---|---|
| committer | Jason King <jason.king@joyent.com> | 2020-09-16 17:32:44 +0000 |
| commit | 515a5a9d5c6c3f7a700fe5d7e3a39b3d69e80db1 (patch) | |
| tree | d35588e8bc81b2d73c58bee4f20873620b5b292f | |
| parent | dafb23e97ef0510df02bd4e6d8bf9bda8e126734 (diff) | |
| download | illumos-joyent-515a5a9d5c6c3f7a700fe5d7e3a39b3d69e80db1.tar.gz | |
Make reservation failure exit
| -rw-r--r-- | usr/src/cmd/bhyve/bhyverun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/bhyve/bhyverun.c b/usr/src/cmd/bhyve/bhyverun.c index a1091b35a1..061e5eaab2 100644 --- a/usr/src/cmd/bhyve/bhyverun.c +++ b/usr/src/cmd/bhyve/bhyverun.c @@ -1419,8 +1419,9 @@ main(int argc, char *argv[]) #else err = vm_arc_resv(ctx, memsize); if (err != 0) { - (void) fprintf(stderr, "Warning: could not shrink ARC: %s\n", + (void) fprintf(stderr, "Could not shrink ARC: %s\n", strerror(err)); + exit(4); } do { |
