Commit Graph

135 Commits

Author SHA1 Message Date
Koichiro Iwao
dee359d551 Document updates for injecting multiple SSH pubkeys 2025-02-13 09:13:13 +09:00
Chuck Tuffli
85d916fd00 fix: Restore verbose option to list command
Commit 378d95e ("Add option to only list running VMs") removed the call
to cmd::parse_args which supported the -v ("verbose") option. Add back
the ability to pass the -v option directly instead of using the utility
function itself.

While here, also update the man page to document the verbose option.

Reported-by: drTr0jan
2025-01-16 10:47:16 -08:00
Tom J. Marcoen
d0c5a61c40 Update vm.8 with img command info 2024-02-02 13:41:23 +01:00
Mateusz Kwiatkowski
e45b81d72e Merge pull request #517 from ctuffli/list-running
Add option to only list running VMs
2023-11-28 11:32:09 +01:00
Chuck Tuffli
378d95e946 Add option to only list running VMs 2023-07-05 14:13:05 -07:00
Antranig Vartanian
8c67332178 Fix typo in vm.8 2023-02-28 14:07:39 +04:00
Guido Falsi
9073190604 Correct name of option. 2022-09-19 17:35:32 +02:00
Guido Falsi
4f8357df24 Update man page with information about sound recording device configuration. 2022-09-19 11:18:12 +02:00
benoitc
d940e51c49 add netgraph switch support
This change add simiular support to VALE for netgraph switches. Switches
must be configured manually. Devices will be added using the bhyve
support of netgraph.

Link Num of a peer in the bridge is found by iterrating all devices
already setup in. (Similiar hack is found in jail example).
2022-04-18 06:17:19 +02:00
Matt Churchyard
8be5f5fcb4 Merge pull request #451 from driesmp/Update-manpage-for-issue-251
Update manpage for issue 251
2022-02-28 10:51:56 +00:00
Matt Churchyard
be2203540f Add documentation for uefi_vars setting 2022-02-25 09:56:52 +00:00
Dries Michiels
1e8b79442b Fix formatting 2022-02-24 13:58:03 +01:00
Dries Michiels
81cd2d5767 Improve usage 2022-02-24 13:50:49 +01:00
Dries Michiels
e09cd8720f Add usage 2022-02-24 13:43:12 +01:00
Dries Michiels
27591076c8 Add header entry 2022-02-24 13:40:52 +01:00
Mateusz Kwiatkowski
a4d64064c0 Merge pull request #379 from tingox/master
fixed a couple of typos in the man page
2022-02-23 13:22:27 +01:00
Mateusz Kwiatkowski
f75d41f48d Merge pull request #422 from cgull/document-bhyveload_args
Document new bhyveload_args configuration option introduced in 678832df94
2022-02-23 13:06:36 +01:00
Mateusz Kwiatkowski
b7b40789f4 Merge pull request #430 from brd/fix-grammar
Fix grammar
2022-02-23 13:03:07 +01:00
Daniel Dowse
10d726ebbe Add HD Audio device to guest via config 2022-01-28 03:37:31 +01:00
Brad Davis
3f2f46f656 Fix grammar 2021-08-04 16:22:57 -06:00
John Hood
0ec8c91a3f Document new bhyveload_args configuration option. 2021-05-19 00:05:46 -04:00
Matt Churchyard
55dd860070 Fix #399 documentation is not clear that specifying 'template.conf' will cause an error 2021-03-12 14:51:36 +00:00
Matt Churchyard
0d5905bd69 Reimplement the send/recv code as migrate
I believe some people did use this, but I had intermittent problems getting it to work reliably.
It has now been re-implemented as a single "migrate" command using ssh.

A guest can now be transferred completely from the source host using a single command.
See the man page for more details

vm migrate -s guest-name new-host

Ideally passwordless key-auth should be used, although not strictly necessary.
2021-03-12 14:48:01 +00:00
Torfinn Ingolfsen
6f9780898a fixed typo: acrd -> card 2020-07-27 17:11:33 +02:00
Torfinn Ingolfsen
e42ecc7796 fixed typo: byhve -> bhyve 2020-07-27 17:10:45 +02:00
Matt Churchyard
8385695edf Merge pull request #320 from WanpengQian/nvme
Add nvme description since 12.0R support nvme emulation.
2019-11-05 09:40:56 +00:00
Wanpeng Qian
f7c0c13c2f add nvme description since 12.0R support nvme emulation. 2019-07-02 12:03:46 +09:00
Eric A. Borisch
09b89a973a Add (existing session) iSCSI support. 2019-06-25 17:08:14 -05:00
Jason Tubnor
bf1d6211a5 Update for uefi-custom usage
Change adds the uefi-custom option so $vm_dir/.config/BHYVE_UEFI.fd works again after regression between 1.2.x and 1.3
2019-04-24 11:47:04 +10:00
Jov
73e95b3b02 fix missing name for switch address/private cmd 2018-10-15 15:07:38 +08:00
Matt Churchyard
5df10f2408 Add a "vm restart guest" command
This causes a guest shutdown but then restarts the guest without requiring a full
reload or destroying/re-creating network devices.
2018-10-09 11:09:09 +01:00
Matt Churchyard
edbcf6eed3 Remove uefi setting entirely and use loader=bhyveload/grub/uefi/uefi-csm
This provides a single, consistent way to configure boot method. the guest listing
now shows uefi and uefi-csm guests without having to fudge the uefi setting into loader column.
2018-10-09 10:34:25 +01:00
Matt Churchyard
0cf424198c Allow guests to have a system priority using renice 2018-10-08 15:43:59 +01:00
Matt Churchyard
f235a8ebbd Change loader="" to support bhyveload/grub/uefi
Makes some sense as we display "uefi" under "Loader" when listing guests and only one can be set.
Old uefi="" setting can still be set to "csm" to choose the csm firmware.
2018-10-08 11:39:49 +01:00
Eric van Gyzen
a7a020f583 Fix a few man page typos; no content change 2018-08-27 10:56:36 -05:00
Matt Churchyard
d4532f6da3 Config option for vga=on/off/io and support for ahci-hd install media
Also force install media to be opened read-only
2018-08-14 11:53:50 +01:00
Matt Churchyard
8bc51d4397 Add ability to configure CPU topology 2018-08-13 10:48:19 +01:00
Matt Churchyard
a44d6be56b Add "wired_memory" option to control the -S argument to bhyveload/bhyve
Note that this removes the ability to use bhyve_options="-S"
2018-08-13 09:32:24 +01:00
Matt Churchyard
3deb348668 Various style changes 2018-07-02 13:53:35 +01:00
Matt Churchyard
a8e3b1c5cc Change all option handling to be "vm subcommand <opts>"
To reduce code we originally parsed some options globally, such as "vm -f start ...".
However this was confusing and inconsistent, especially in relation to other commands
such as zfs(8).
2018-06-29 09:03:27 +00:00
Matt Churchyard
8c117b33a5 Change prestart to pass ZFS dataset instead of filesystem path
Dataset is only of use if running on ZFS, but in that case it is very
useful if the script wants to create snapshots/etc, and the path can
be retrieved from pwd/cwd if needed.
2018-06-28 09:31:42 +00:00
Matt Churchyard
151a2f375c Add a prestart option to allow user code to run before guest starts 2018-06-28 09:17:45 +00:00
Matt Churchyard
6b4b97584e Tidy some functions up and limit switch names to 12 chars 2018-06-27 08:34:12 +00:00
Matt Churchyard
9a908b95fc Add bhyveload_loader and also vtcon list to "vm info" 2018-06-21 12:22:35 +00:00
Matt Churchyard
ea58aaf6d7 Rewrite virtio-console support
Guest "virt_consoleX" option now supports both numbered & named ports.
Up to 16 can be added to a guest.
2018-06-21 11:12:20 +00:00
Matt Churchyard
b4c24b33e8 Finally address #110
Use the -f option to force commands such as reset/destroy/poweroff.
Unfortunately this same option is used for foreground mode when running a vm,
but -f ties up with the force option for many other commands.
2018-06-20 11:59:09 +00:00
Matt Churchyard
2382826f8c Remove docs for send/recv for now
This feature requires a lot more testing/development
2018-06-19 07:53:08 +00:00
Matt Churchyard
15c383fa9c Few changes to the manpage 2018-06-18 08:31:44 +00:00
Matt Churchyard
b4f2aa68f0 Merge branch 'master' into doc 2018-06-12 17:01:56 +01:00
Mateusz Piotrowski
221440b95b Use .Lk for hyperlinks 2018-05-26 02:19:21 +02:00