export LANG=C

export LIBVIRT_URI=qemu:///system

export QEMU_PROTOCOL=qemu+ssh

export LIBVIRT_MD_URI=http://opennebula.org/xmlns/libvirt/1.0
export LIBVIRT_MD_KEY=one

# Seconds to wait after shutdown until timeout
export SHUTDOWN_TIMEOUT=180

# Instruct QEMU guest agent to synchronize the guest time from RTC
export SYNC_TIME=yes

# Uncomment this line to force VM cancellation after shutdown timeout
export FORCE_DESTROY=yes

# Default number of "virsh" command retries when required
# currently used in detach-interface, restore
export VIRSH_RETRIES=3

# Default "virsh" timeout for operations which might block indefinitely
export VIRSH_TIMEOUT=60

# Compact memory before running the VM
#CLEANUP_MEMORY_ON_START=yes

# Compact memory after VM stops
CLEANUP_MEMORY_ON_STOP=no

# Uncomment this line to force VM's without ACPI enabled to be destroyed
# on shutdown
#CANCEL_NO_ACPI=yes

# This parameter will set the default cache type for new attached disks. It
# will be used in case the attached disk does not have an specific cache
# method set (can be set using templates when attaching a disk).
DEFAULT_ATTACH_CACHE=none

# Uncomment this line to set options for the virsh migrate command
#MIGRATE_OPTIONS=--unsafe

# IDE and SCSI disks always have the ability to issue "discard"
# (aka TRIM or UNMAP) commands. However, by default "discard" commands are
# silently ignored as they can cause performance degradation and fragmentation.
# To enable them, the "-drive" option now supports a "discard" suboption; the
# default value is "ignore" (or its synonym "off"), and the other valid value
# is "unmap" (or "on").
DEFAULT_ATTACH_DISCARD=unmap

# The default DISK I/O policy for new attached disks.
#DEFAULT_ATTACH_IO=

# The default number of queues for virtio-blk driver.
#DEFAULT_ATTACH_VIRTIO_BLK_QUEUES=

# These parameters set the default DISK I/O throttling attributes
# for the new attached disk in case they aren't set.
#DEFAULT_ATTACH_TOTAL_BYTES_SEC=
#DEFAULT_ATTACH_TOTAL_BYTES_SEC_MAX=
#DEFAULT_ATTACH_TOTAL_BYTES_SEC_MAX_LENGTH=
#DEFAULT_ATTACH_READ_BYTES_SEC=
#DEFAULT_ATTACH_READ_BYTES_SEC_MAX=
#DEFAULT_ATTACH_READ_BYTES_SEC_MAX_LENGTH=
#DEFAULT_ATTACH_WRITE_BYTES_SEC=
#DEFAULT_ATTACH_WRITE_BYTES_SEC_MAX=
#DEFAULT_ATTACH_WRITE_BYTES_SEC_MAX_LENGTH=
#DEFAULT_ATTACH_TOTAL_IOPS_SEC=
#DEFAULT_ATTACH_TOTAL_IOPS_SEC_MAX=
#DEFAULT_ATTACH_TOTAL_IOPS_SEC_MAX_LENGTH=
#DEFAULT_ATTACH_READ_IOPS_SEC=
#DEFAULT_ATTACH_READ_IOPS_SEC_MAX=
#DEFAULT_ATTACH_READ_IOPS_SEC_MAX_LENGTH=
#DEFAULT_ATTACH_WRITE_IOPS_SEC=
#DEFAULT_ATTACH_WRITE_IOPS_SEC_MAX=
#DEFAULT_ATTACH_WRITE_IOPS_SEC_MAX_LENGTH=
#DEFAULT_ATTACH_SIZE_IOPS_SEC=

# This parameters will set the default NIC model and filter for
# the hot-attached interfaces.
DEFAULT_ATTACH_NIC_MODEL=virtio
#DEFAULT_ATTACH_NIC_FILTER=clean-traffic

# Virtual Machine Firmware path to the NVRAM file
# OVMF_NVRAM="/usr/share/AAVMF/AAVMF_VARS.fd" for aarch64 guests
OVMF_NVRAM="/usr/share/OVMF/OVMF_VARS.fd"
