Configuration variables
You can set configuration variables that affect qvm process instance, guest, CPU, and vdev behavior.
Configuration variables are specified using the set option,
as follows:
set var val
Depending on the variable, its setting can apply to one of the implicit contexts
listed above. For more information about the syntax for setting variables and
about the implicit contexts to which they can apply, see the set option reference. Here, we describe all supported
variables for each platform.
Note:
Unless otherwise indicated, each variable can be defined anywhere in the VM
configuration file.
Common variables
The following variables are supported on both ARM and x86 platforms:
- exit-on-halt
-
- Context: guest – applies to the current context only
- Variable type: boolean
- Default: on (guest exits on WFI or HLT instruction)
- fdt-dump-file
-
- Context: guest – applies to the current context only
- Variable type: string
- Default: none
- grow-heap
-
- Context: global – applies to the entire qvm process instance
- Variable type: address
- Default: don't grow the heap
- message-block-timeout
-
- Context: global – applies to the entire qvm process instance
- Variable type: number
- Default: 10000 milliseconds (10 seconds)
- slog-buffer
-
- Context: global – applies to the entire qvm process instance
- Variable type: address
- Default: 4K
- vdev-message-block-timeout
-
- Context: vdev – applies to the vdev currently being configured
- Variable type: number
- Default: value specified by message-block-timeout
ARM variables
The following variables are supported on ARM platforms only:
- gic-hwassist
-
- Context: global – applies to the entire qvm process instance
- Variable type: boolean
- Default: true
- host-paddr-gicd
-
- Context: global – applies to the entire qvm process instance
- Variable type: address
- Default: the
gicdentry in the system page asinfo section
- host-paddr-gich
-
- Context: global – applies to the entire qvm process instance
- Variable type: string
- Default: the
gich[.cpunum]entry in the host's system page asinfo section
Set the host-physical addresses of the GIC hypervisor control registers. The string should be formed as follows:
host_address[/cpu/spacing]{,host_address[/cpu/spacing]}The string components are:
- host_address
- The host-physical address of the current physical CPU's GICH registers.
- cpu
- If present, the number of the physical CPU whose registers are located at the address specified by host_address.
- spacing
- If present, the number of bytes to increase the offset to get the address of each subsequent physical CPU's registers.
- host-paddr-gicr
-
- Context: global – applies to the entire qvm process instance
- Variable type: address
- Default: the
gicrentry in the host's system page asinfo section
- host-paddr-gicv
-
- Context: global – applies to the entire qvm process instance
- Variable type: address
- Default: the
gicventry in the host's system page asinfo section
- host-ppi-gic-hwassist
-
- Context: global – applies to the entire qvm process instance
- Variable type: number
- Default: 25
- host-ppi-hcnt
-
- Context: global – applies to the entire qvm process instance
- Variable type: number
- Default: 26
- host-ppi-vcnt
-
- Context: global – applies to the entire qvm process instance
- Variable type: number
- Default: 27
- trace-psci
-
- Context: global – applies to the entire qvm process instance
- Variable type: boolean
- Default: false
- trace-spectre-workaround
-
- Context: global – applies to the entire qvm process instance
- Variable type: boolean
- Default: false
- trace-vtimer
-
- Context: global – applies to the entire qvm process instance
- Variable type: boolean
- Default: false
- trace-wfe
-
- Context: global – applies to the entire qvm process instance
- Variable type: boolean
- Default: off
- vmid
-
Note:This variable is supported in QNX Hypervisor for Safety 2.2.7 or later.
- Context: guest – applies to the current context only
- Variable type: number
- Default: auto-generated value
Note:
For more information about the host-* variables, see
About the set host-* variablesin the set option reference.
x86 variables
The following variables are supported on x86 platforms only:
- legacy-free
-
- Context: guest – applies to the current context only
- Variable type: boolean
- Default: off – don't permit arbitrary memory layout (i.e., require ACPI tables, etc.)
- posted-interrupts
-
- Context: guest – applies to the current context only
- Variable type: boolean
- Default: on
- virtual-interrupts
-
- Context: guest – applies to the current context only
- Variable type: boolean
- Default: on
Page updated:
