diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd index 186561c6a..11aa996d3 100644 --- a/misc/config_tools/schema/VMtypes.xsd +++ b/misc/config_tools/schema/VMtypes.xsd @@ -253,6 +253,108 @@ CLOSID 0 and the second is mapped to virtual CLOSID 1, etc. + + + + + + + + + + + + Specify the virtio framework for specific virtio network device implemented in the Service VM. + + + + + Specify the network interface name that will appear in the Service VM. Use the `ip a` command in the Service VM to display the network interface names. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specify device type in guest, ether HVC console when user config it as virtio console or /dev/vportXpY + device file when user config it as virtio serial port, which can be read and written from the user space. + + + + + Specify backend device type in service VM. + + + + + The output file path for the file backend type. + + + + + The sock file path for the sock server or client backend type. + + + + + The device path for the tty backend type. + + + + + + + + + + Specifying backend device in service vm with device description. + + + + + Specifying unique identifier to distinguish same devices in guest. + + + + + + + + + + diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd index c76110d66..628d8894f 100644 --- a/misc/config_tools/schema/config.xsd +++ b/misc/config_tools/schema/config.xsd @@ -434,35 +434,35 @@ argument and memory. - Enable virt-IO devices in post-launched VMs. + Enable virt-IO devices in post-launched VMs. - - - The virtio console device setting. Input format: -``[@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]`` + + + Virtio console device for data input and output. + The virtio console BE driver copies data from the frontend's transmitting virtqueue when it receives a kick on virtqueue (implemented as a vmexit). + The BE driver then writes the data to backend, and can be implemented as PTY, TTY, STDIO, and regular file. + For details, reference to https://projectacrn.github.io/latest/developer-guides/hld/virtio-console.html. - - - The virtio network device setting. -Input format: ``device_name[,vhost][,mac=XX:XX:XX:XX:XX:XX]``. -The ``device_name`` is the name of the TAP (or MacVTap) device. -It must include the keyword ``tap``. ``vhost`` specifies the -vhost backend; otherwise, the VBSU backend is used. The ``mac`` -address is optional. + + + The virtio network device emulates a virtual network interface card (NIC) for the VM. + The frontend is the virtio network driver, simulating the virtual NIC. The backend could be: + 1. ``tap`` device /dev/net/tun; 2. ``MacVTap`` device (/dev/tapx); 3. ``vhost`` device /dev/vhost-net. - - - The virtio input device setting. - - + + + The virtio input device creates a virtual human interface device such as a keyboard, mouse, and tablet. + It sends Linux input layer events over virtio. + + - - The virtio block device setting. -Format: ``[blk partition:][img path]``. Example: ``/dev/sda3:./a/b.img``. + + The virtio-blk device presents a block device to the VM. + Each virtio-blk device appears as a disk inside the VM.