mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 00:25:23 +00:00
8151b300fb
A simpe getopt-based argument parser is added for the /usr/sbin/bhyve command, loosely based on its argument parser, which reads the following from the bhyve command line string: * vm name * number of vcpus * memory size * the time offset (UTC or localtime) * features: * acpi * ioapic: While this flag is deprecated in FreeBSD r257423, keep checking for it for backwards compatibiility. * the domain UUID; if not explicitely given, one will be generated. * lpc devices: for now only the com1 and com2 are supported. It is required for these to be /dev/nmdm[\d+][AB], and the slave devices are automatically inferred from these to be the corresponding end of the virtual null-modem cable: /dev/nmdm<N>A <-> /dev/nmdm<N>B * PCI devices: * Disks: these are numbered in the order they are found, for virtio and ahci disks separately. The destination is set to sdX or vdX with X='a'+index; therefore only 'z'-'a' disks are supported. Disks are considered to be block devices if the path starts with /dev, otherwise they are considered to be files. * Networks: only tap devices are supported. Since it isn't possible to tell the type of the network, VIR_DOMAIN_NET_TYPE_ETHERNET is assumed, since it is the most generic. If no mac is specified, one will be generated. Signed-off-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de> |
||
---|---|---|
.. | ||
bhyve_capabilities.c | ||
bhyve_capabilities.h | ||
bhyve_command.c | ||
bhyve_command.h | ||
bhyve_device.c | ||
bhyve_device.h | ||
bhyve_domain.c | ||
bhyve_domain.h | ||
bhyve_driver.c | ||
bhyve_driver.h | ||
bhyve_monitor.c | ||
bhyve_monitor.h | ||
bhyve_parse_command.c | ||
bhyve_parse_command.h | ||
bhyve_process.c | ||
bhyve_process.h | ||
bhyve_utils.h |