Matt Churchyard
d22917d69c
Merge pull request #441 from runhyve/wait-zvol
...
Wait for storage device to appear when creating a VM
2022-02-15 16:26:34 +00:00
Daniel Dowse
10d726ebbe
Add HD Audio device to guest via config
2022-01-28 03:37:31 +01:00
Mateusz Kwiatkowski
c1d720d62c
Wait for zvol to appear
2021-11-13 20:26:19 +01:00
Matt Churchyard
678832df94
Fix #403 add config option to allow passing bhyveload arguments (bhyveload_args)
2021-03-18 13:17:57 +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
Matt Churchyard
79f44430d7
Allow auto interfaces to be given a specific name
2021-01-06 10:47:38 +00:00
Matt Churchyard
52a504e409
fix #382 . change interface description to use delimiter not used in guest names
2021-01-05 09:47:58 +00:00
Matt Churchyard
3b7560cba6
fix #392 zvol device may not be available immediately
2021-01-05 09:23:28 +00:00
gloumps
3c6831e236
add uefi-devel option
2020-04-14 14:02:21 -04:00
Matt Churchyard
3d4d6a3a6c
Fix #355 - auto mode always setting on with 'auto' mode
2020-02-26 10:30:20 +00:00
Michael Gmelin
355aa13ef7
Set interface name to vxlan switch name if name is short enough (<=12 chars)
...
when creating bridge interfaces, just like it's done for standard switches.
2020-02-13 18:45:33 +01:00
Matt Churchyard
6a6d3cb40f
Get correct stats for virtual interface in 'vm info'. more work would be required to support ip6
2020-02-05 16:02:22 +00:00
Matt Churchyard
30eea9f3c1
Fix maximum name length in core::rename
2020-02-04 14:59:34 +00:00
Matt Churchyard
55a31bbeb2
only add null.iso if nulliso_fix is not off/no../false/0
2020-02-04 14:54:10 +00:00
Matt Churchyard
6e90fc9143
Create config::yesno to reduce clutter and vars in run functions just to check config file yes/no flags
2020-02-04 14:47:34 +00:00
Matt Churchyard
d06ee4132d
Remove checks for old uefi config setting
2020-02-04 14:25:16 +00:00
Matt Churchyard
392a640b24
Fix get_part whitespace handling and add uptime to vm list -v
2020-02-04 10:13:26 +00:00
Matt Churchyard
21db926695
VSZ seems to be fairly useless as it simply matches configured memory
2020-01-31 14:00:53 +00:00
Matt Churchyard
c5250b8097
ps output appears to use K by default, not bytes
2020-01-29 14:50:13 +00:00
Matt Churchyard
7fcf2c1d92
Provide a verbose list option to include cpu and memory usage from ps(1)
2020-01-29 14:45:26 +00:00
Matt Churchyard
495a62c671
Pull in bootdisk change from 1.4 - issue #344
2020-01-14 10:23:03 +00:00
John Hood
07536b0b73
Fix UART console on FreeBSD 12.1 and CURRENT.
...
bhyve was doing UART console emulation on fd 0 for both reads and
writes. Commits r346550 and r352720 changed it to use fd 0 for input
and fd 1 for output on console.
Fix vm-bhyve to not redirect fd 1.
Fixes #332 .
2019-11-25 17:01:09 -05:00
Matt Churchyard
555af6a97e
sort info snapshots by creation
2019-11-05 09:55:33 +00:00
Matt Churchyard
b215760b3b
reformat if_tuntap code slightly
2019-11-05 09:52:49 +00:00
Matt Churchyard
261e63b473
Merge pull request #318 from vangyzen/switch-remove-success
...
fix switch::remove status
2019-11-05 09:42:08 +00:00
Matt Churchyard
43849310f9
Merge pull request #310 from mwestza/patch-1
...
Fix config variable typo
2019-11-05 09:41:48 +00:00
Matt Churchyard
de1a32d322
Merge pull request #319 from eborisch/iscsi
...
Add (existing session) iSCSI support.
2019-11-05 09:40:21 +00:00
Mateusz Kwiatkowski
7148594463
Include all files from cloud-init dir in seed.iso
2019-09-03 15:23:31 +02:00
Mateusz Kwiatkowski
fe0e1151ed
Move cloud-init bits to separate function
2019-08-30 21:11:05 +02:00
Mateusz Kwiatkowski
9dfa3e1f0c
Generate mac and pass to cloud-init
2019-08-21 23:38:59 +02:00
Eric A. Borisch
09b89a973a
Add (existing session) iSCSI support.
2019-06-25 17:08:14 -05:00
Eric van Gyzen
415aba6cd9
fix switch::remove status
...
Make sure the vm comand's exit status indicates success,
even if config::core::remove did not.
2019-06-21 09:50:51 -05:00
Matt Churchyard
c2027a4fd3
Merge pull request #305 from skunkwerks/fix/handle-tuntap
...
handle unified tuntap(4) after r347241
2019-06-13 09:51:59 +01:00
Eric A. Borisch
2ffabaa92e
vm-rctl: match bhyve command before name update
...
It takes about two seconds (on my 12.0-p5 system, at least) between bhyve launch (when the process is born) and when it updates its command name to from 'bhyve -c NCPU -m MEM ... ${_name}' to 'bhyve: ${_name}'. Change the pgrep pattern in vm-rctl to catch either state rather than fail and exit out.
2019-06-05 15:35:20 -05:00
Matthew West
7bce34e3a0
Fix config variable typo
...
Should be "cpu_threads" plural. Matches other variables, and the wiki docs.
2019-05-30 23:30:39 +01:00
Dave Cottlehuber
16214543d2
handle unified tuntap(4) after r347241
...
In r347241 in FreeBSD HEAD, tun(4) and tap(4) have been merged.
We need to detect and handle which kernel module has to be loaded,
using the closest kernel ABI change in FreeBSD 13.0-CURRENT.
2019-05-22 13:09:31 +00:00
Jason Tubnor
27c48353cf
Add uefi-custom option
...
Modified the deprecation check to advise of the uefi-custom option.
2019-04-24 11:17:40 +10:00
Jason Tubnor
dfb8f0e865
Add option for custom UEFI loader
...
Allows for users to continue to use custom UEFI loaders as well as fixes regression introduced between 1.2.x and 1.3 where users maintained the loader within /vm/.config/BHYVE_UEFI.fd and guests no longer boot after upgrade (even though man page still stated /vm/.config/BHYVE_UEFI.fd was valid).
2019-04-23 20:21:58 +10:00
Olivier Cochard-Labbé
36e35ff899
Fixing destroying vm in non-ZFS mode
...
Fixing issue https://github.com/churchers/vm-bhyve/issues/300
2019-04-16 17:26:18 +02:00
Olivier Cochard-Labbé
816ac135af
No more disks limitation with latest UEFI firmware
...
It seems we don't need to limit the number of disks since UEFI firmware version 0.2.
Tested with this setup: 2 ahci-hd, 2 nvme and 1 virtio-blk disks at the same time and no UEFI boot problem:
# kenv efi-version
2.40
# kenv smbios.system.product
BHYVE
# sysctl kern.disks
kern.disks: ada7 ada6 nda1 nda0 cd0 vtbd0
2019-03-02 01:10:06 +01:00
Matt Churchyard
d885a79ebd
Fix #283 we shouldn't try to create a sparse file if template specifies a custom disk
2019-02-08 14:22:15 +00:00
Matt Churchyard
a9030484a9
Fix #276 vxlan switch might not hae a user provided address
2019-02-08 14:20:21 +00:00
Matt Churchyard
b98045d884
Bump version number with cloud-init support
2019-02-08 09:51:02 +00:00
Mateusz Kwiatkowski
76ae90be71
Make cloud-init optional and add pre-flight checks
2019-01-28 12:20:11 +01:00
Mateusz Kwiatkowski
6df1c74a7d
Add support for injecting public key with cloud-init
...
Ref. https://github.com/churchers/vm-bhyve/issues/289
2019-01-28 11:52:06 +01:00
Mateusz Kwiatkowski
9e561ac284
Check qemu-img exit code
2018-12-05 00:31:04 +01:00
Mateusz Kwiatkowski
48a2a518cc
Add missing options to getopts in core::create
2018-11-29 14:29:01 +01:00
Matt Churchyard
b32f6826ef
Merge branch 'master' into vm-parameters
2018-11-29 11:18:59 +00:00
Matt Churchyard
36ad50e907
Merge pull request #262 from runhyve/feature/virtual-images
...
Initial support for cloud images
2018-11-29 11:17:43 +00:00
Mateusz Kwiatkowski
c76ae38bd2
Ability to override CPU and memory during VM creation
...
Fixes #273
2018-11-28 21:36:20 +01:00