Usage of /usr/bin/virt-launcher:
--allow-cross-arch-emulation Allow cross-architecture software emulation via QEMU TCG
--allow-emulation Allow use of software emulation as fallback
--container-disk-dir string Base directory for container disk data (default "/var/run/kubevirt/container-disks")
--disk-memory-limit int Memory limit for disk verification (default 2097152000)
--ephemeral-disk-dir string Base directory for ephemeral disk data (default "/var/run/kubevirt-ephemeral-disks")
--firmware-auto-selection Use libvirt firmware auto-selection for EFI Secure Boot
--grace-period-seconds int Grace period to observe before sending SIGTERM to vmi process (default 30)
--hook-sidecars uint Number of requested hook sidecars, virt-launcher will wait for all of them to become available
--hotplug-disk-dir string Base directory for hotplug disk data (default "/var/run/kubevirt/hotplug-disks/")
--hypervisor string Hypervisor to be used by the VMI (default "kvm")
--image-volume Generated with ImageVolume instead of containerDisk
--kubevirt-share-dir string Shared directory between virt-handler and virt-launcher (default "/var/run/kubevirt")
--libvirt-hook-server-and-client Enable pre-migration hooks on the target virt-launcher pod
--libvirt-log-filters string Set custom log filters for libvirt
--name string Name of the VirtualMachineInstance
--namespace string Namespace of the VirtualMachineInstance
--ovmf-path string The directory that contains the EFI roms (like OVMF_CODE.fd) (default "/usr/share/edk2/ovmf")
--qemu-agent-file-interval duration Interval between consecutive qemu agent calls for file command (default 5m0s)
--qemu-agent-sys-interval duration Interval between consecutive qemu agent calls for sys commands (default 2m0s)
--qemu-agent-user-interval duration Interval between consecutive qemu agent calls for user command (default 10s)
--qemu-agent-version-interval duration Interval between consecutive qemu agent calls for version command (default 5m0s)
--qemu-fsfreeze-status-interval duration Interval between consecutive qemu agent calls for fsfreeze status command (default 5s)
--qemu-timeout duration Amount of time to wait for qemu (default 3m0s)
--run-as-nonroot Run virtqemud with the 'virt' user
--simulate-crash Causes virt-launcher to immediately crash. This is used by functional tests to simulate crash loop scenarios.
--uid string UID of the VirtualMachineInstance
--upgrade-ordinal-ifaces Enable upgrade of ordinal ifaces naming scheme
-v, --v int log level for V logs (default 2)
--vgpu-dedicated-hook Enable target mdev UUID mutation for vGPU live migration
--vm-stats-collector Enable additional guest agent polling workers for VMStats monitoring data collection
Options (30)
| Option | Description | Source |
|---|---|---|
--allow-cross-arch-emulation | Allow cross-architecture software emulation via QEMU TCG | help |
--allow-emulation | Allow use of software emulation as fallback | help |
--container-disk-dir string | Base directory for container disk data (default "/var/run/kubevirt/container-disks") | help |
--disk-memory-limit int | Memory limit for disk verification (default 2097152000) | help |
--ephemeral-disk-dir string | Base directory for ephemeral disk data (default "/var/run/kubevirt-ephemeral-disks") | help |
--firmware-auto-selection | Use libvirt firmware auto-selection for EFI Secure Boot | help |
--grace-period-seconds int | Grace period to observe before sending SIGTERM to vmi process (default 30) | help |
--hook-sidecars uint | Number of requested hook sidecars, virt-launcher will wait for all of them to become available | help |
--hotplug-disk-dir string | Base directory for hotplug disk data (default "/var/run/kubevirt/hotplug-disks/") | help |
--hypervisor string | Hypervisor to be used by the VMI (default "kvm") | help |
--image-volume | Generated with ImageVolume instead of containerDisk | help |
--kubevirt-share-dir string | Shared directory between virt-handler and virt-launcher (default "/var/run/kubevirt") | help |
--libvirt-hook-server-and-client | Enable pre-migration hooks on the target virt-launcher pod | help |
--libvirt-log-filters string | Set custom log filters for libvirt | help |
--name string | Name of the VirtualMachineInstance | help |
--namespace string | Namespace of the VirtualMachineInstance | help |
--ovmf-path string | The directory that contains the EFI roms (like OVMF_CODE.fd) (default "/usr/share/edk2/ovmf") | help |
--qemu-agent-file-interval duration | Interval between consecutive qemu agent calls for file command (default 5m0s) | help |
--qemu-agent-sys-interval duration | Interval between consecutive qemu agent calls for sys commands (default 2m0s) | help |
--qemu-agent-user-interval duration | Interval between consecutive qemu agent calls for user command (default 10s) | help |
--qemu-agent-version-interval duration | Interval between consecutive qemu agent calls for version command (default 5m0s) | help |
--qemu-fsfreeze-status-interval duration | Interval between consecutive qemu agent calls for fsfreeze status command (default 5s) | help |
--qemu-timeout duration | Amount of time to wait for qemu (default 3m0s) | help |
--run-as-nonroot | Run virtqemud with the 'virt' user | help |
--simulate-crash | Causes virt-launcher to immediately crash. | help |
--uid string | UID of the VirtualMachineInstance | help |
--upgrade-ordinal-ifaces | Enable upgrade of ordinal ifaces naming scheme | help |
-v, --v int | log level for V logs (default 2) | help |
--vgpu-dedicated-hook | Enable target mdev UUID mutation for vGPU live migration | help |
--vm-stats-collector | Enable additional guest agent polling workers for VMStats monitoring data collection | help |