<commit_before>NAME
iohyve(8) - bhyve manager/launcher v0.7.3 "Bear in a Datacenter Edition"

SYNOPSIS
iohyve version
iohyve setup pool=[poolname] kmod=[0/1] net=[interface]
iohyve list
iohyve info [-d]
iohyve isolist
iohyve fwlist
iohyve fetch [URL]
iohyve cpiso [path]
iohyve renameiso [ISO] [newname]
iohyve rmiso [ISO]
iohyve fetchfw [URL]
iohyve cpfw [path]
iohyve renamefw [firmware] [newname]
iohyve rmfw [firmware]
iohyve create [name] [size] [[pool]]
iohyve install [name] [ISO]
iohyve load [name]
iohyve boot [name] [ISO]
iohyve start [name] [-a | -s]
iohyve stop [name]
iohyve forcekill [name]
iohyve scram
iohyve destroy [name]
iohyve rename [name] [newname]
iohyve delete [name]
iohyve set [name] [prop1=value] [prop2=value]...
iohyve get [name] [prop]
iohyve rmpci [name] [pcidev:N]
iohyve getall [name]
iohyve add [name] [size] [[pool]]
iohyve remove [name] [diskN]
iohyve resize [name] [diskN] [size]
iohyve disks [name]
iohyve snap [name]@[snapshotname]
iohyve roll [name]@[snapshotname]
iohyve clone [name] [clonename]
iohyve snaplist
iohyve taplist
iohyve activetaps
iohyve conlist
iohyve console [name]
iohyve conreset
iohyve help
iohyve man

DESCRIPTION
The iohyve(8) shell script utilizes the FreeBSD hypervisor bhyve(8),
zfs(8), and nmdm(4) to make virtualization on FreeBSD easy and simple.
The basic idea is to store bhyve settings in zfs user properties of zfs
datasets that house important guest files like block devices and grub
configurations. iohyve(8) uses the virtio drivers built into the GENERIC
kernel for virtualization.


OPTIONS
version		Prints the current running version of iohyve

setup		Installs required zfs datasets and kernel modules for iohyve.
		Usage: 'iohyve setup pool=poolname kmod=0/1 net=[iface]' 
		where [poolname] is the pool you want to install iohyve on,
		kmod=[0/1] is if you want iohyve to load or unload the
		kernel modules required by iohyve. 1 is load. net=[iface]
		will set up the network bridge to the specified interface. 
		Multiple pools are supported, additional pools get mounted
		in /iohyve/poolname

list		Lists the zfs dataset directorys for iohyve.

info		Lists all the guests along with their RAM, CPU, Size,
		OS, Loader, and Description (if -d is passed)

isolist		List Lists the installed ISOs in the /iohyve/ISO directory.

fwlist		Lists the firmwares in the /iohyve/Firmware directory.

fetch		Fetches installation ISO or install image and creates a
		dataset for it.
		Usage: 'iohyve fetch [URL]' where [URL] is the HTTP or FTP URL to
		fetch from the internet.

cpiso		Copies installation ISO or install image from your host and
		creates a dataset for it.
		Usage: 'iohyve cpiso [path]' where [path] is the full path to
		ISO file on the host machine.

renameiso	Renames an ISO
		Usage: 'iohyve renameiso [ISO] [newname]' where [ISO] is the
		name of the ISO you would like to rename. [newname]
		is a new name.

rmiso		Removes installed ISO from /iohyve/ISO
		Usage: 'iohyve rmiso [ISO]' where [ISO] is the name of the ISO
		you would like to delete.

fetchfw		Fetches firmware and creates a dataset for it.
		Usage: 'iohyve fetchfw [URL]' where [URL] is the HTTP or FTP URL to
		fetch from the internet.

cpfw		Copies firmware from your host and creates a dataset for it.
		Usage: 'iohyve cpfw [path]' where [path] is the full path to
		firmware file on the host machine.

renamefw	Renames a Firmware
		Usage: 'iohyve renamefw [firmware] [newname]' where [firmware]
		is the name of the firmware you would like to rename.
		[newname] is a new name.

rmfw		Removes installed firmware from /iohyve/Firmware
		Usage: 'iohyve rmfw [firmware]' where [firmware] is the name of
		the firmware you would like to delete.

create		Creates new guest operating system.
		Usage: 'iohyve create [name] [size] [[pool]]' where [name] is
		the name you would like to use, [size] is the size of the
		virtual block device in '16G' format where the capital G
		signifies gigabytes. If you specify the pool, the first disk
		gets added on that pool.

install		Loads and boots into ISO for guest installation.
		Usage: 'iohyve install [name] [ISO]' where [name] is the name
		of the guest, and [ISO] is the name of the ISO you would
		like to boot from in the form of: 'instal.iso'

load		Loads the guest operating system bootloader and resources.
		Usage: 'iohyve load [name] [ISO]'
		where [name]is the name of the guest operating system.
		[bootimg] is the path to the boot medium

boot		Boots the guest into the operating system. 'iohyve run' needs
		to be run before this is done.
		Usage: 'iohyve boot [name] [runmode] [pci]'
		where [name]is the name of the guest operating system.
		[runmode] describes how to start the guest:
		0 = start only once
		1 = regular persist
		Stop if the guest is powering off
		2 = always persist
		Always restart the guest
		[pci] is a space separated list of pci devices
		based on slot-less bhyve -s commands.
		Example:
		"ahci-hd,/path/disk.img virtio-net,tap0"
		Note: hostbridge and lpc are automatically
		added

start		Starts the guest operating system. (Combines load & boot)
		Usage: 'iohyve start [name] [-s | -a]'
		where [name] is the name of the guest operating system.
		[-s] will cause the guest to be started once
		[-a] will cause the guest to always restart

stop		Gracefully stops guest operating system.
		Usage: 'iohyve stop [name]' where [name] is the name
		of the guest operating system.

forcekill	Forces the guest to stop. Runs kill -9 and destroys the guest
		in VMM. USE WITH EXTREME CAUTION AND AS A LAST RESORT. Can be
		used to kill guests stuck at the GRUB console that you 
		do not have access to.

scram		Gracefully stop all bhyve guests. Does not destroy resources.

destroy		Destroys guest resources.
		Usage: 'iohyve destroy [name]' where [name] is the name
		of the guest operating system.

rename		Renames the guest
		Usage: 'iohyve rename [name] [newname]' where [name] is the
		name of the guest and [newname] is the new name.

delete		Deletes all data for the guest.
		Usage: 'iohyve delete [name]' where [name] is the name
		of the guest operating system.

set		Sets ZFS properties for guests one at a time
		Usage: 'iohyve set [name] [prop1=value] [prop2=value]...' where
		[name] is the name of the guest operating system.
		Properties:
		ram=512M or ram=2G (M for megabytes, G for gigabtyes)
		cpu=1 (number of cpu cores)
		con=nmdm0 (where to attach null modem console)
		tap=tap0 (tap device for virtio-net)
		size=size of block device
		name=name of guest
		pcidev:[n]=[spec]
			Generic way to add devices to the guest.
			[n] is a generic random number or string
			[spec] defines a virtual device added to the guest
			by using a bhyve -s argument without the pcislot
			or function argument. PCI slot numbers are assigned
			automatically by iohyve.
				Examples: "pcidev:1=passthru,2/0/0"
				"pcidev:2=ahci-hd,/some/place/disk.img"

get		Gets ZFS properties for guests one at a time<commit_msg>stuff and junk<commit_after>NAME
iohyve(8) - bhyve manager/launcher v0.7.3 "Bear in a Datacenter Edition"

SYNOPSIS
iohyve version
iohyve setup pool=[poolname] kmod=[0/1] net=[interface]
iohyve list
iohyve info [-d]
iohyve isolist
iohyve fwlist
iohyve fetch [URL]
iohyve cpiso [path]
iohyve renameiso [ISO] [newname]
iohyve rmiso [ISO]
iohyve fetchfw [URL]
iohyve cpfw [path]
iohyve renamefw [firmware] [newname]
iohyve rmfw [firmware]
iohyve create [name] [size] [[pool]]
iohyve install [name] [ISO]
iohyve load [name]
iohyve boot [name] [ISO]
iohyve start [name] [-a | -s]
iohyve stop [name]
iohyve forcekill [name]
iohyve scram
iohyve destroy [name]
iohyve rename [name] [newname]
iohyve delete [name]
iohyve set [name] [prop1=value] [prop2=value]...
iohyve get [name] [prop]
iohyve rmpci [name] [pcidev:N]
iohyve getall [name]
iohyve add [name] [size] [[pool]]
iohyve remove [name] [diskN]
iohyve resize [name] [diskN] [size]
iohyve disks [name]
iohyve snap [name]@[snapshotname]
iohyve roll [name]@[snapshotname]
iohyve clone [name] [clonename]
iohyve snaplist
iohyve taplist
iohyve activetaps
iohyve conlist
iohyve console [name]
iohyve conreset
iohyve help
iohyve man

DESCRIPTION
The iohyve(8) shell script utilizes the FreeBSD hypervisor bhyve(8),
zfs(8), and nmdm(4) to make virtualization on FreeBSD easy and simple.
The basic idea is to store bhyve settings in zfs user properties of zfs
datasets that house important guest files like block devices and grub
configurations. iohyve(8) uses the virtio drivers built into the GENERIC
kernel for virtualization.


OPTIONS
version		Prints the current running version of iohyve

setup		Installs required zfs datasets and kernel modules for iohyve.
		Usage: 'iohyve setup pool=poolname kmod=0/1 net=[iface]' 
		where [poolname] is the pool you want to install iohyve on,
		kmod=[0/1] is if you want iohyve to load or unload the
		kernel modules required by iohyve. 1 is load. net=[iface]
		will set up the network bridge to the specified interface. 
		Multiple pools are supported, additional pools get mounted
		in /iohyve/poolname

list		Lists the zfs dataset directorys for iohyve.

info		Lists all the guests along with their RAM, CPU, Size,
		OS, Loader, and Description (if -d is passed)

isolist		List Lists the installed ISOs in the /iohyve/ISO directory.

fwlist		Lists the firmwares in the /iohyve/Firmware directory.

fetch		Fetches installation ISO or install image and creates a
		dataset for it.
		Usage: 'iohyve fetch [URL]' where [URL] is the HTTP or FTP URL to
		fetch from the internet.

cpiso		Copies installation ISO or install image from your host and
		creates a dataset for it.
		Usage: 'iohyve cpiso [path]' where [path] is the full path to
		ISO file on the host machine.

renameiso	Renames an ISO
		Usage: 'iohyve renameiso [ISO] [newname]' where [ISO] is the
		name of the ISO you would like to rename. [newname]
		is a new name.

rmiso		Removes installed ISO from /iohyve/ISO
		Usage: 'iohyve rmiso [ISO]' where [ISO] is the name of the ISO
		you would like to delete.

fetchfw		Fetches firmware and creates a dataset for it.
		Usage: 'iohyve fetchfw [URL]' where [URL] is the HTTP or FTP URL to
		fetch from the internet.

cpfw		Copies firmware from your host and creates a dataset for it.
		Usage: 'iohyve cpfw [path]' where [path] is the full path to
		firmware file on the host machine.

renamefw	Renames a Firmware
		Usage: 'iohyve renamefw [firmware] [newname]' where [firmware]
		is the name of the firmware you would like to rename.
		[newname] is a new name.

rmfw		Removes installed firmware from /iohyve/Firmware
		Usage: 'iohyve rmfw [firmware]' where [firmware] is the name of
		the firmware you would like to delete.

create		Creates new guest operating system.
		Usage: 'iohyve create [name] [size] [[pool]]' where [name] is
		the name you would like to use, [size] is the size of the
		virtual block device in '16G' format where the capital G
		signifies gigabytes. If you specify the pool, the first disk
		gets added on that pool.

install		Loads and boots into ISO for guest installation.
		Usage: 'iohyve install [name] [ISO]' where [name] is the name
		of the guest, and [ISO] is the name of the ISO you would
		like to boot from in the form of: 'instal.iso'

load		Loads the guest operating system bootloader and resources.
		Usage: 'iohyve load [name] [ISO]'
		where [name]is the name of the guest operating system.
		[bootimg] is the path to the boot medium

boot		Boots the guest into the operating system. 'iohyve run' needs
		to be run before this is done.
		Usage: 'iohyve boot [name] [runmode] [pci]'
		where [name]is the name of the guest operating system.
		[runmode] describes how to start the guest:
		0 = start only once
		1 = regular persist
		Stop if the guest is powering off
		2 = always persist
		Always restart the guest
		[pci] is a space separated list of pci devices
		based on slot-less bhyve -s commands.
		Example:
		"ahci-hd,/path/disk.img virtio-net,tap0"
		Note: hostbridge and lpc are automatically
		added

start		Starts the guest operating system. (Combines load & boot)
		Usage: 'iohyve start [name] [-s | -a]'
		where [name] is the name of the guest operating system.
		[-s] will cause the guest to be started once
		[-a] will cause the guest to always restart

stop		Gracefully stops guest operating system.
		Usage: 'iohyve stop [name]' where [name] is the name
		of the guest operating system.

forcekill	Forces the guest to stop. Runs kill -9 and destroys the guest
		in VMM. USE WITH EXTREME CAUTION AND AS A LAST RESORT. Can be
		used to kill guests stuck at the GRUB console that you 
		do not have access to.

scram		Gracefully stop all bhyve guests. Does not destroy resources.

destroy		Destroys guest resources.
		Usage: 'iohyve destroy [name]' where [name] is the name
		of the guest operating system. Destroying a guest does
		not [delete] a guest from the host, it destroys the guest in VMM.

rename		Renames the guest
		Usage: 'iohyve rename [name] [newname]' where [name] is the
		name of the guest and [newname] is the new name.

delete		Deletes all data for the guest.
		Usage: 'iohyve delete [name]' where [name] is the name
		of the guest operating system.

set		Sets ZFS properties for guests one at a time
		Usage: 'iohyve set [name] [prop1=value] [prop2=value]...' where
		[name] is the name of the guest operating system.
		Properties:
		ram=512M or ram=2G (M for megabytes, G for gigabtyes)
		cpu=1 (number of cpu cores)
		con=nmdm0 (where to attach null modem console)
		tap=tap0 (tap device for virtio-net)
		size=size of block device
		name=name of guest
		pcidev:[n]=[spec]
			Generic way to add devices to the guest.
			[n] is a generic random number or string
			[spec] defines a virtual device added to the guest
			by using a bhyve -s argument without the pcislot
			or function argument. PCI slot numbers are assigned
			automatically by iohyve.
				Examples: "pcidev:1=passthru,2/0/0"
				"pcidev:2=ahci-hd,/some/place/disk.img"

get		Gets ZFS properties for guests one at a time
{'fraction_non_alphanumeric': 0.07209650938682276, 'fraction_numerical': 0.005567849239774431, 'mean_word_length': 3.9452876809036357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6905599', 'n_tokens_mistral': 4974, 'n_tokens_neox': 4654, 'n_words': 2130}