Parameter | Type | Required | Description |
---|---|---|---|
--add-backend | TTY Backend | true | A specification of the TTY device backend to add |
--comment | String | false | A comment describing the new device |
--configuration | Path | false | The path to the configuration file (environment variable: $WAXMILL_CONFIGURATION_FILE) |
--device-slot | Device Slot | true | The slot to which the device will be attached. |
--machine | UUID | true | The ID of the virtual machine |
--verbose | Log Level | false | Set the minimum logging verbosity level. |
--replace | Boolean | false | true if an existing device in the given slot should be replaced. |
bus = ? [0 .. 255] ? ; slot = ? [0 .. 31] ? ; function = ? [0 .. 7] ? ; deviceSlot = bus , ":" , slot , ":" , function ; Examples: 0:0:0 255:31:7
path = ? Any unix-like path ? ; port = "com1" | "com2" | "bootrom" ; stdioBackend = "stdio" , ";" , port ; fileBackend = "file" , ";" , port , ";" , path ; nmdmBackend = "nmdm" , ";" , port ; ttyBackend = stdioBackend | fileBackend | nmdmBackend ; Examples: stdio;com1 file;bootrom;/tmp/xyz nmdm;com2
$ waxmill vm-add-lpc-device \ --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \ --device-slot 0:4:0 \ --add-backend stdio;com1 $ waxmill vm-add-lpc-device \ --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \ --device-slot 0:4:0 \ --add-backend file;bootrom;/usr/local/share/uefi-firmware/BHYVE_UEFI.fd $ waxmill vm-add-lpc-device \ --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \ --device-slot 0:4:0 \ --add-backend nmdm;com1