1=head1 NAME
2
3xl.cfg - xl domain configuration file syntax
4
5=head1 SYNOPSIS
6
7 /etc/xen/xldomain
8
9=head1 DESCRIPTION
10
11Creating a VM (a domain in Xen terminology, sometimes called a guest)
12with xl requires the provision of a domain configuration file.  Typically,
13these live in F</etc/xen/DOMAIN.cfg>, where DOMAIN is the name of the
14domain.
15
16=head1 SYNTAX
17
18A domain configuration file consists of a series of options, specified by
19using C<KEY=VALUE> pairs.
20
21Some C<KEY>s are mandatory, some are general options which apply to
22any guest type, while others relate only to specific guest types
23(e.g. PV or HVM guests).
24
25A C<VALUE> can be one of:
26
27=over 4
28
29=item B<"STRING">
30
31A string, surrounded by either single or double quotes. But if the
32STRING is part of a SPEC_STRING, the quotes should be omitted.
33
34=item B<NUMBER>
35
36A number, in either decimal, octal (using a C<0> prefix) or
37hexadecimal (using a C<0x> prefix) format.
38
39=item B<BOOLEAN>
40
41A C<NUMBER> interpreted as C<False> (C<0>) or C<True> (any other
42value).
43
44=item B<[ VALUE, VALUE, ... ]>
45
46A list of C<VALUE>s of the above types. Lists can be heterogeneous and
47nested.
48
49=back
50
51The semantics of each C<KEY> defines which type of C<VALUE> is required.
52
53Pairs may be separated either by a newline or a semicolon.  Both
54of the following are valid:
55
56  name="h0"
57  type="hvm"
58
59  name="h0"; type="hvm"
60
61=head1 OPTIONS
62
63=head2 Mandatory Configuration Items
64
65The following key is mandatory for any guest type.
66
67=over 4
68
69=item B<name="NAME">
70
71Specifies the name of the domain.  Names of domains existing on a
72single host must be unique.
73
74=back
75
76=head2 Selecting Guest Type
77
78=over 4
79
80=item B<type="pv">
81
82Specifies that this is to be a PV domain, suitable for hosting Xen-aware
83guest operating systems. This is the default on x86.
84
85=item B<type="pvh">
86
87Specifies that this is to be an PVH domain. That is a lightweight HVM-like
88guest without a device model and without many of the emulated devices
89available to HVM guests. Note that this mode requires a PVH aware kernel on
90x86. This is the default on Arm.
91
92=item B<type="hvm">
93
94Specifies that this is to be an HVM domain. That is, a fully virtualised
95computer with emulated BIOS, disk and network peripherals, etc.
96
97=back
98
99=head3 Deprecated guest type selection
100
101Note that the builder option is being deprecated in favor of the type
102option.
103
104=over 4
105
106=item B<builder="generic">
107
108Specifies that this is to be a PV domain, suitable for hosting Xen-aware guest
109operating systems. This is the default.
110
111=item B<builder="hvm">
112
113Specifies that this is to be an HVM domain.  That is, a fully
114virtualised computer with emulated BIOS, disk and network peripherals,
115etc.
116
117=back
118
119=head2 General Options
120
121The following options apply to guests of any type.
122
123=head3 CPU Allocation
124
125=over 4
126
127=item B<pool="CPUPOOLNAME">
128
129Put the guest's vCPUs into the named CPU pool.
130
131=item B<vcpus=N>
132
133Start the guest with N vCPUs initially online.
134
135=item B<maxvcpus=M>
136
137Allow the guest to bring up a maximum of M vCPUs. When starting the guest, if
138B<vcpus=N> is less than B<maxvcpus=M> then the first B<N> vCPUs will be
139created online and the remainder will be created offline.
140
141=item B<cpus="CPULIST">
142
143List of host CPUs the guest is allowed to use. Default is no pinning at
144all (more on this below). A C<CPULIST> may be specified as follows:
145
146=over 4
147
148=item "all"
149
150To allow all the vCPUs of the guest to run on all the CPUs on the host.
151
152=item "0-3,5,^1"
153
154To allow all the vCPUs of the guest to run on CPUs 0,2,3,5. It is possible to
155combine this with "all", meaning "all,^7" results in all the vCPUs
156of the guest being allowed to run on all the CPUs of the host except CPU 7.
157
158=item "nodes:0-3,^node:2"
159
160To allow all the vCPUs of the guest to run on the CPUs from NUMA nodes
1610,1,3 of the host. So, if CPUs 0-3 belong to node 0, CPUs 4-7 belong
162to node 1, CPUs 8-11 to node 2 and CPUs 12-15 to node 3, the above would mean
163all the vCPUs of the guest would be allowed to run on CPUs 0-7,12-15.
164
165Combining this notation with the one above is possible. For instance,
166"1,node:1,^6", means all the vCPUs of the guest will run on CPU 1 and
167on all the CPUs of NUMA node 1, but not on CPU 6. Following the same
168example as above, that would be CPUs 1,4,5,7.
169
170Combining this with "all" is also possible, meaning "all,^node:1"
171results in all the vCPUs of the guest running on all the CPUs on the
172host, except for the CPUs belonging to the host NUMA node 1.
173
174=item ["2", "3-8,^5"]
175
176To ask for specific vCPU mapping. That means (in this example), vCPU 0
177of the guest will run on CPU 2 of the host and vCPU 1 of the guest will
178run on CPUs 3,4,6,7,8 of the host (excluding CPU 5).
179
180More complex notation can be also used, exactly as described above. So
181"all,^5-8", or just "all", or "node:0,node:2,^9-11,18-20" are all legal,
182for each element of the list.
183
184=back
185
186If this option is not specified, no vCPU to CPU pinning is established,
187and the vCPUs of the guest can run on all the CPUs of the host. If this
188option is specified, the intersection of the vCPU pinning mask, provided
189here, and the soft affinity mask, if provided via B<cpus_soft=>,
190is utilized to compute the domain node-affinity for driving memory
191allocations.
192
193=item B<cpus_soft="CPULIST">
194
195Exactly as B<cpus=>, but specifies soft affinity, rather than pinning
196(hard affinity). When using the credit scheduler, this means what CPUs
197the vCPUs of the domain prefer.
198
199A C<CPULIST> is specified exactly as for B<cpus=>, detailed earlier in the
200manual.
201
202If this option is not specified, the vCPUs of the guest will not have
203any preference regarding host CPUs. If this option is specified,
204the intersection of the soft affinity mask, provided here, and the vCPU
205pinning, if provided via B<cpus=>, is utilized to compute the
206domain node-affinity for driving memory allocations.
207
208If this option is not specified (and B<cpus=> is not specified either),
209libxl automatically tries to place the guest on the least possible
210number of nodes. A heuristic approach is used for choosing the best
211node (or set of nodes), with the goal of maximizing performance for
212the guest and, at the same time, achieving efficient utilization of
213host CPUs and memory. In that case, the soft affinity of all the vCPUs
214of the domain will be set to host CPUs belonging to NUMA nodes
215chosen during placement.
216
217For more details, see L<xl-numa-placement(7)>.
218
219=back
220
221=head3 CPU Scheduling
222
223=over 4
224
225=item B<cpu_weight=WEIGHT>
226
227A domain with a weight of 512 will get twice as much CPU as a domain
228with a weight of 256 on a contended host.
229Legal weights range from 1 to 65535 and the default is 256.
230Honoured by the credit and credit2 schedulers.
231
232=item B<cap=N>
233
234The cap optionally fixes the maximum amount of CPU a domain will be
235able to consume, even if the host system has idle CPU cycles.
236The cap is expressed as a percentage of one physical CPU:
237100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc.
238The default, 0, means there is no cap.
239Honoured by the credit and credit2 schedulers.
240
241B<NOTE>: Many systems have features that will scale down the computing
242power of a CPU that is not 100% utilized.  This can be done in the
243operating system, but can also sometimes be done below the operating system,
244in the BIOS.  If you set a cap such that individual cores are running
245at less than 100%, this may have an impact on the performance of your
246workload over and above the impact of the cap. For example, if your
247processor runs at 2GHz, and you cap a VM at 50%, the power management
248system may also reduce the clock speed to 1GHz; the effect will be
249that your VM gets 25% of the available power (50% of 1GHz) rather than
25050% (50% of 2GHz).  If you are not getting the performance you expect,
251look at performance and CPU frequency options in your operating system and
252your BIOS.
253
254=back
255
256=head3 Memory Allocation
257
258=over 4
259
260=item B<memory=MBYTES>
261
262Start the guest with MBYTES megabytes of RAM.
263
264=item B<maxmem=MBYTES>
265
266Specifies the maximum amount of memory a guest can ever see.
267The value of B<maxmem=> must be equal to or greater than that of B<memory=>.
268
269In combination with B<memory=> it will start the guest "pre-ballooned",
270if the values of B<memory=> and B<maxmem=> differ.
271A "pre-ballooned" HVM guest needs a balloon driver, without a balloon driver
272it will crash.
273
274B<NOTE>: Because of the way ballooning works, the guest has to allocate
275memory to keep track of maxmem pages, regardless of how much memory it
276actually has available to it.  A guest with maxmem=262144 and
277memory=8096 will report significantly less memory available for use
278than a system with maxmem=8096 memory=8096 due to the memory overhead
279of having to track the unused pages.
280
281=back
282
283=head3 Guest Virtual NUMA Configuration
284
285=over 4
286
287=item B<vnuma=[ VNODE_SPEC, VNODE_SPEC, ... ]>
288
289Specify virtual NUMA configuration with positional arguments. The
290nth B<VNODE_SPEC> in the list specifies the configuration of the nth
291virtual node.
292
293Note that virtual NUMA is not supported for PV guests yet, because
294there is an issue with the CPUID instruction handling that affects PV virtual
295NUMA. Furthermore, guests with virtual NUMA cannot be saved or migrated
296because the migration stream does not preserve node information.
297
298Each B<VNODE_SPEC> is a list, which has a form of
299"[VNODE_CONFIG_OPTION, VNODE_CONFIG_OPTION, ... ]"  (without the quotes).
300
301For example, vnuma = [ ["pnode=0","size=512","vcpus=0-4","vdistances=10,20"] ]
302means vnode 0 is mapped to pnode 0, has 512MB ram, has vcpus 0 to 4, the
303distance to itself is 10 and the distance to vnode 1 is 20.
304
305Each B<VNODE_CONFIG_OPTION> is a quoted C<KEY=VALUE> pair. Supported
306B<VNODE_CONFIG_OPTION>s are (they are all mandatory at the moment):
307
308=over 4
309
310=item B<pnode=NUMBER>
311
312Specifies which physical node this virtual node maps to.
313
314=item B<size=MBYTES>
315
316Specifies the size of this virtual node. The sum of memory sizes of all
317vnodes will become B<maxmem=>. If B<maxmem=> is specified separately,
318a check is performed to make sure the sum of all vnode memory matches
319B<maxmem=>.
320
321=item B<vcpus="CPUSTRING">
322
323Specifies which vCPUs belong to this node. B<"CPUSTRING"> is a string of numerical
324values separated by a comma. You can specify a range and/or a single CPU.
325An example would be "vcpus=0-5,8", which means you specified vCPU 0 to vCPU 5,
326and vCPU 8.
327
328=item B<vdistances=NUMBER, NUMBER, ... >
329
330Specifies the virtual distance from this node to all nodes (including
331itself) with positional arguments. For example, "vdistance=10,20"
332for vnode 0 means the distance from vnode 0 to vnode 0 is 10, from
333vnode 0 to vnode 1 is 20. The number of arguments supplied must match
334the total number of vnodes.
335
336Normally you can use the values from B<xl info -n> or B<numactl
337--hardware> to fill the vdistances list.
338
339=back
340
341=back
342
343=head3 Event Actions
344
345=over 4
346
347=item B<on_poweroff="ACTION">
348
349Specifies what should be done with the domain if it shuts itself down.
350The B<ACTION>s are:
351
352=over 4
353
354=item B<destroy>
355
356destroy the domain
357
358=item B<restart>
359
360destroy the domain and immediately create a new domain with the same
361configuration
362
363=item B<rename-restart>
364
365rename the domain which terminated, and then immediately create a new
366domain with the same configuration as the original
367
368=item B<preserve>
369
370keep the domain.  It can be examined, and later destroyed with B<xl destroy>.
371
372=item B<coredump-destroy>
373
374write a "coredump" of the domain to F<@XEN_DUMP_DIR@/NAME> and then
375destroy the domain.
376
377=item B<coredump-restart>
378
379write a "coredump" of the domain to F<@XEN_DUMP_DIR@/NAME> and then
380restart the domain.
381
382=item B<soft-reset>
383
384Reset all Xen specific interfaces for the Xen-aware HVM domain allowing
385it to reestablish these interfaces and continue executing the domain. PV
386and non-Xen-aware HVM guests are not supported.
387
388=back
389
390The default for B<on_poweroff> is B<destroy>.
391
392=item B<on_reboot="ACTION">
393
394Action to take if the domain shuts down with a reason code requesting
395a reboot.  Default is B<restart>.
396
397=item B<on_watchdog="ACTION">
398
399Action to take if the domain shuts down due to a Xen watchdog timeout.
400Default is B<destroy>.
401
402=item B<on_crash="ACTION">
403
404Action to take if the domain crashes.  Default is B<destroy>.
405
406=item B<on_soft_reset="ACTION">
407
408Action to take if the domain performs a 'soft reset' (e.g. does B<kexec>).
409Default is B<soft-reset>.
410
411=back
412
413=head3 Direct Kernel Boot
414
415Direct kernel boot allows booting guests with a kernel and an initrd
416stored on a filesystem available to the host physical machine, allowing
417command line arguments to be passed directly. PV guest direct kernel boot is
418supported. HVM guest direct kernel boot is supported with some limitations
419(it's supported when using B<qemu-xen> and the default BIOS 'seabios',
420but not supported in case of using B<stubdom-dm> and the old 'rombios'.)
421
422=over 4
423
424=item B<kernel="PATHNAME">
425
426Load the specified file as the kernel image.
427
428=item B<ramdisk="PATHNAME">
429
430Load the specified file as the ramdisk.
431
432=item B<cmdline="STRING">
433
434Append B<STRING> to the kernel command line. (Note: the meaning of
435this is guest specific). It can replace B<root="STRING">
436along with B<extra="STRING"> and is preferred. When B<cmdline="STRING"> is set,
437B<root="STRING"> and B<extra="STRING"> will be ignored.
438
439=item B<root="STRING">
440
441Append B<root=STRING> to the kernel command line (Note: the meaning of this
442is guest specific).
443
444=item B<extra="STRING">
445
446Append B<STRING> to the kernel command line. (Note: the meaning of this
447is guest specific).
448
449=back
450
451=head3 Non direct Kernel Boot
452
453Non direct kernel boot allows booting guests with a firmware. This can be
454used by all types of guests, although the selection of options is different
455depending on the guest type.
456
457This option provides the flexibly of letting the guest decide which kernel
458they want to boot, while preventing having to poke at the guest file
459system form the toolstack domain.
460
461=head4 PV guest options
462
463=over 4
464
465=item B<firmware="pvgrub32|pvgrub64">
466
467Boots a guest using a para-virtualized version of grub that runs inside
468of the guest. The bitness of the guest needs to be know, so that the right
469version of pvgrub can be selected.
470
471Note that xl expects to find the pvgrub32.bin and pvgrub64.bin binaries in
472F<@XENFIRMWAREDIR@>.
473
474=back
475
476=head4 HVM guest options
477
478=over 4
479
480=item B<firmware="bios">
481
482Boot the guest using the default BIOS firmware, which depends on the
483chosen device model.
484
485=item B<firmware="uefi">
486
487Boot the guest using the default UEFI firmware, currently OVMF.
488
489=item B<firmware="seabios">
490
491Boot the guest using the SeaBIOS BIOS firmware.
492
493=item B<firmware="rombios">
494
495Boot the guest using the ROMBIOS BIOS firmware.
496
497=item B<firmware="ovmf">
498
499Boot the guest using the OVMF UEFI firmware.
500
501=item B<firmware="PATH">
502
503Load the specified file as firmware for the guest.
504
505=back
506
507=head4 PVH guest options
508
509Currently there's no firmware available for PVH guests, they should be
510booted using the B<Direct Kernel Boot> method or the B<bootloader> option.
511
512=over 4
513
514=item B<pvshim=BOOLEAN>
515
516Whether to boot this guest as a PV guest within a PVH container.
517Ie, the guest will experience a PV environment,
518but
519processor hardware extensions are used to
520separate its address space
521to mitigate the Meltdown attack (CVE-2017-5754).
522
523Default is false.
524
525=item B<pvshim_path="PATH">
526
527The PV shim is a specially-built firmware-like executable
528constructed from the hypervisor source tree.
529This option specifies to use a non-default shim.
530Ignored if pvhsim is false.
531
532=item B<pvshim_cmdline="STRING">
533
534Command line for the shim.
535Default is "pv-shim console=xen,pv".
536Ignored if pvhsim is false.
537
538=item B<pvshim_extra="STRING">
539
540Extra command line arguments for the shim.
541If supplied, appended to the value for pvshim_cmdline.
542Default is empty.
543Ignored if pvhsim is false.
544
545=back
546
547=head3 Other Options
548
549=over 4
550
551=item B<uuid="UUID">
552
553Specifies the UUID of the domain.  If not specified, a fresh unique
554UUID will be generated.
555
556=item B<seclabel="LABEL">
557
558Assign an XSM security label to this domain.
559
560=item B<init_seclabel="LABEL">
561
562Specify an XSM security label used for this domain temporarily during
563its build. The domain's XSM label will be changed to the execution
564seclabel (specified by B<seclabel>) once the build is complete, prior to
565unpausing the domain. With a properly constructed security policy (such
566as nomigrate_t in the example policy), this can be used to build a
567domain whose memory is not accessible to the toolstack domain.
568
569=item B<max_grant_frames=NUMBER>
570
571Specify the maximum number of grant frames the domain is allowed to have.
572This value controls how many pages the domain is able to grant access to for
573other domains, needed e.g. for the operation of paravirtualized devices.
574The default is settable via L<xl.conf(5)>.
575
576=item B<max_maptrack_frames=NUMBER>
577
578Specify the maximum number of grant maptrack frames the domain is allowed
579to have. This value controls how many pages of foreign domains can be accessed
580via the grant mechanism by this domain. The default value is settable via
581L<xl.conf(5)>.
582
583=item B<nomigrate=BOOLEAN>
584
585Disable migration of this domain.  This enables certain other features
586which are incompatible with migration. Currently this is limited to
587enabling the invariant TSC feature flag in CPUID results when TSC is
588not emulated.
589
590=item B<driver_domain=BOOLEAN>
591
592Specify that this domain is a driver domain. This enables certain
593features needed in order to run a driver domain.
594
595=item B<device_tree=PATH>
596
597Specify a partial device tree (compiled via the Device Tree Compiler).
598Everything under the node "/passthrough" will be copied into the guest
599device tree. For convenience, the node "/aliases" is also copied to allow
600the user to define aliases which can be used by the guest kernel.
601
602Given the complexity of verifying the validity of a device tree, this
603option should only be used with a trusted device tree.
604
605Note that the partial device tree should avoid using the phandle 65000
606which is reserved by the toolstack.
607
608=item B<passthrough="STRING">
609
610Specify whether IOMMU mappings are enabled for the domain and hence whether
611it will be enabled for passthrough hardware. Valid values for this option
612are:
613
614=over 4
615
616=item B<disabled>
617
618IOMMU mappings are disabled for the domain and so hardware may not be
619passed through.
620
621This option is the default if no passthrough hardware is specified in the
622domain's configuration.
623
624=item B<enabled>
625
626This option enables IOMMU mappings and selects an appropriate default
627operating mode (see below for details of the operating modes). For HVM/PVH
628domains running on platforms where the option is available, this is
629equivalent to B<share_pt>. Otherwise, and also for PV domains, this
630option is equivalent to B<sync_pt>.
631
632This option is the default if passthrough hardware is specified in the
633domain's configuration.
634
635=item B<sync_pt>
636
637This option means that IOMMU mappings will be synchronized with the
638domain's P2M table as follows:
639
640For a PV domain, all writable pages assigned to the domain are identity
641mapped by MFN in the IOMMU page table. Thus a device driver running in the
642domain may program passthrough hardware for DMA using MFN values
643(i.e. host/machine frame numbers) looked up in its P2M.
644
645For an HVM/PVH domain, all non-foreign RAM pages present in its P2M will be
646mapped by GFN in the IOMMU page table. Thus a device driver running in the
647domain may program passthrough hardware using GFN values (i.e. guest
648physical frame numbers) without any further translation.
649
650This option is not currently available on Arm.
651
652=item B<share_pt>
653
654This option is unavailable for a PV domain. For an HVM/PVH domain, this
655option means that the IOMMU will be programmed to directly reference the
656domain's P2M table as its page table. From the point of view of a device
657driver running in the domain this is functionally equivalent to B<sync_pt>
658but places less load on the hypervisor and so should generally be selected
659in preference. However, the availability of this option is hardware
660specific. If B<xl info> reports B<virt_caps> containing
661B<iommu_hap_pt_share> then this option may be used.
662
663=item B<default>
664
665The default, which chooses between B<disabled> and B<enabled>
666according to whether passthrough devices are enabled in the config
667file.
668
669=back
670
671=item B<xend_suspend_evtchn_compat=BOOLEAN>
672
673If this option is B<true> the xenstore path for the domain's suspend
674event channel will not be created. Instead the old xend behaviour of
675making the whole xenstore B<device> sub-tree writable by the domain will
676be re-instated.
677
678The existence of the suspend event channel path can cause problems with
679certain PV drivers running in the guest (e.g. old Red Hat PV drivers for
680Windows).
681
682If this option is not specified then it will default to B<false>.
683
684=back
685
686=head2 Devices
687
688The following options define the paravirtual, emulated and physical
689devices which the guest will contain.
690
691=over 4
692
693=item B<disk=[ "DISK_SPEC_STRING", "DISK_SPEC_STRING", ...]>
694
695Specifies the disks (both emulated disks and Xen virtual block
696devices) which are to be provided to the guest, and what objects on
697the host they should map to.  See L<xl-disk-configuration(5)> for more
698details.
699
700=item B<vif=[ "NET_SPEC_STRING", "NET_SPEC_STRING", ...]>
701
702Specifies the network interfaces (both emulated network adapters,
703and Xen virtual interfaces) which are to be provided to the guest.  See
704L<xl-network-configuration(5)> for more details.
705
706=item B<vtpm=[ "VTPM_SPEC_STRING", "VTPM_SPEC_STRING", ...]>
707
708Specifies the Virtual Trusted Platform module to be
709provided to the guest. See L<xen-vtpm(7)> for more details.
710
711Each B<VTPM_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
712settings from the following list:
713
714=over 4
715
716=item B<backend=domain-id>
717
718Specifies the backend domain name or id. B<This value is required!>
719If this domain is a guest, the backend should be set to the
720vTPM domain name. If this domain is a vTPM, the
721backend should be set to the vTPM manager domain name.
722
723=item B<uuid=UUID>
724
725Specifies the UUID of this vTPM device. The UUID is used to uniquely
726identify the vTPM device. You can create one using the B<uuidgen(1)>
727program on unix systems. If left unspecified, a new UUID
728will be randomly generated every time the domain boots.
729If this is a vTPM domain, you should specify a value. The
730value is optional if this is a guest domain.
731
732=back
733
734=item B<p9=[ "9PFS_SPEC_STRING", "9PFS_SPEC_STRING", ...]>
735
736Creates a Xen 9pfs connection to share a filesystem from the backend to the
737frontend.
738
739Each B<9PFS_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
740settings, from the following list:
741
742=over 4
743
744=item B<tag=STRING>
745
7469pfs tag to identify the filesystem share. The tag is needed on the
747guest side to mount it.
748
749=item B<security_model="none">
750
751Only "none" is supported today, which means that the files are stored using
752the same credentials as those they have in the guest (no user ownership
753squash or remap).
754
755=item B<path=STRING>
756
757Filesystem path on the backend to export.
758
759=item B<backend=domain-id>
760
761Specify the backend domain name or id, defaults to dom0.
762
763=back
764
765=item B<pvcalls=[ "backend=domain-id", ... ]>
766
767Creates a Xen pvcalls connection to handle pvcalls requests from
768frontend to backend. It can be used as an alternative networking model.
769For more information about the protocol, see
770https://xenbits.xenproject.org/docs/unstable/misc/pvcalls.html.
771
772=item B<vfb=[ "VFB_SPEC_STRING", "VFB_SPEC_STRING", ...]>
773
774Specifies the paravirtual framebuffer devices which should be supplied
775to the domain.
776
777This option does not control the emulated graphics card presented to
778an HVM guest. See B<Emulated VGA Graphics Device> below for how to
779configure the emulated device. If B<Emulated VGA Graphics Device> options
780are used in a PV guest configuration, B<xl> will pick up B<vnc>, B<vnclisten>,
781B<vncpasswd>, B<vncdisplay>, B<vncunused>, B<sdl>, B<opengl> and
782B<keymap> to construct the paravirtual framebuffer device for the guest.
783
784Each B<VFB_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
785settings, from the following list:
786
787=over 4
788
789=item B<vnc=BOOLEAN>
790
791Allow access to the display via the VNC protocol.  This enables the
792other VNC-related settings.  Default is 1 (enabled).
793
794=item B<vnclisten=ADDRESS[:DISPLAYNUM]>
795
796Specifies the IP address, and optionally the VNC display number, to use.
797
798Note: if you specify the display number here, you should not use
799the B<vncdisplay> option.
800
801=item B<vncdisplay=DISPLAYNUM>
802
803Specifies the VNC display number to use.  The actual TCP port number
804will be DISPLAYNUM+5900.
805
806Note: you should not use this option if you set the DISPLAYNUM in the
807B<vnclisten> option.
808
809=item B<vncunused=BOOLEAN>
810
811Requests that the VNC display setup searches for a free TCP port to use.
812The actual display used can be accessed with B<xl vncviewer>.
813
814=item B<vncpasswd=PASSWORD>
815
816Specifies the password for the VNC server. If the password is set to an
817empty string, authentication on the VNC server will be disabled,
818allowing any user to connect.
819
820=item B<sdl=BOOLEAN>
821
822Specifies that the display should be presented via an X window (using
823Simple DirectMedia Layer). The default is 0 (not enabled).
824
825=item B<display=DISPLAY>
826
827Specifies the X Window display that should be used when the B<sdl> option
828is used.
829
830=item B<xauthority=XAUTHORITY>
831
832Specifies the path to the X authority file that should be used to
833connect to the X server when the B<sdl> option is used.
834
835=item B<opengl=BOOLEAN>
836
837Enable OpenGL acceleration of the SDL display. Only effects machines
838using B<device_model_version="qemu-xen-traditional"> and only if the
839device-model was compiled with OpenGL support. The default is 0 (disabled).
840
841=item B<keymap=LANG>
842
843Configure the keymap to use for the keyboard associated with this
844display. If the input method does not easily support raw keycodes
845(e.g. this is often the case when using VNC) then this allows us to
846correctly map the input keys into keycodes seen by the guest. The
847specific values which are accepted are defined by the version of the
848device-model which you are using. See B<Keymaps> below or consult the
849B<qemu(1)> manpage. The default is B<en-us>.
850
851=back
852
853=item B<channel=[ "CHANNEL_SPEC_STRING", "CHANNEL_SPEC_STRING", ...]>
854
855Specifies the virtual channels to be provided to the guest. A
856channel is a low-bandwidth, bidirectional byte stream, which resembles
857a serial link. Typical uses for channels include transmitting VM
858configuration after boot and signalling to in-guest agents. Please see
859L<xen-pv-channel(7)> for more details.
860
861Each B<CHANNEL_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
862settings. Leading and trailing whitespace is ignored in both KEY and
863VALUE. Neither KEY nor VALUE may contain ',', '=' or '"'. Defined values
864are:
865
866=over 4
867
868=item B<backend=domain-id>
869
870Specifies the backend domain name or id. This parameter is optional. If
871this parameter is omitted then the toolstack domain will be assumed.
872
873=item B<name=NAME>
874
875Specifies the name for this device. B<This parameter is mandatory!>
876This should be a well-known name for a specific application (e.g.
877guest agent) and should be used by the frontend to connect the
878application to the right channel device. There is no formal registry
879of channel names, so application authors are encouraged to make their
880names unique by including the domain name and a version number in the string
881(e.g. org.mydomain.guestagent.1).
882
883=item B<connection=CONNECTION>
884
885Specifies how the backend will be implemented. The following options are
886available:
887
888=over 4
889
890=item B<SOCKET>
891
892The backend will bind a Unix domain socket (at the path given by
893B<path=PATH>), listen for and accept connections. The backend will proxy
894data between the channel and the connected socket.
895
896=item B<PTY>
897
898The backend will create a pty and proxy data between the channel and the
899master device. The command B<xl channel-list> can be used to discover the
900assigned slave device.
901
902=back
903
904=back
905
906=item B<rdm="RDM_RESERVATION_STRING">
907
908B<HVM/x86 only!> Specifies information about Reserved Device Memory (RDM),
909which is necessary to enable robust device passthrough. One example of RDM
910is reporting through the ACPI Reserved Memory Region Reporting (RMRR) structure
911on the x86 platform.
912
913B<RDM_RESERVATION_STRING> is a comma separated list of C<KEY=VALUE> settings,
914from the following list:
915
916=over 4
917
918=item B<strategy=STRING>
919
920Currently there is only one valid type, and that is "host".
921
922=over 4
923
924=item B<host>
925
926If set to "host" it means all reserved device memory on this platform should
927be checked to reserve regions in this VM's address space. This global RDM
928parameter allows the user to specify reserved regions explicitly, and using
929"host" includes all reserved regions reported on this platform, which is
930useful when doing hotplug.
931
932By default this isn't set so we don't check all RDMs. Instead, we just check
933the RDM specific to a given device if we're assigning this kind of a device.
934
935Note: this option is not recommended unless you can make sure that no
936conflicts exist.
937
938For example, you're trying to set "memory = 2800" to allocate memory to one
939given VM but the platform owns two RDM regions like:
940
941Device A [sbdf_A]: RMRR region_A: base_addr ac6d3000 end_address ac6e6fff
942
943Device B [sbdf_B]: RMRR region_B: base_addr ad800000 end_address afffffff
944
945In this conflict case,
946
947#1. If B<strategy> is set to "host", for example:
948
949rdm = "strategy=host,policy=strict" or rdm = "strategy=host,policy=relaxed"
950
951it means all conflicts will be handled according to the policy
952introduced by B<policy> as described below.
953
954#2. If B<strategy> is not set at all, but
955
956pci = [ 'sbdf_A, rdm_policy=xxxxx' ]
957
958it means only one conflict of region_A will be handled according to the policy
959introduced by B<rdm_policy=STRING> as described inside B<pci> options.
960
961=back
962
963=item B<policy=STRING>
964
965Specifies how to deal with conflicts when reserving already reserved device
966memory in the guest address space.
967
968=over 4
969
970=item B<strict>
971
972Specifies that in case of an unresolved conflict the VM can't be created,
973or the associated device can't be attached in the case of hotplug.
974
975=item B<relaxed>
976
977Specifies that in case of an unresolved conflict the VM is allowed to be
978created but may cause the VM to crash if a pass-through device accesses RDM.
979For example, the Windows IGD GFX driver always accesses RDM regions so it
980leads to a VM crash.
981
982Note: this may be overridden by the B<rdm_policy> option in the B<pci>
983device configuration.
984
985=back
986
987=back
988
989=item B<usbctrl=[ "USBCTRL_SPEC_STRING", "USBCTRL_SPEC_STRING", ...]>
990
991Specifies the USB controllers created for this guest.
992
993Each B<USBCTRL_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
994settings, from the following list:
995
996=over 4
997
998=item B<type=TYPE>
999
1000Specifies the usb controller type.
1001
1002=over 4
1003
1004=item B<pv>
1005
1006Specifies a kernel based PVUSB backend.
1007
1008=item B<qusb>
1009
1010Specifies a QEMU based PVUSB backend.
1011
1012=item B<devicemodel>
1013
1014Specifies a USB controller emulated by QEMU.
1015It will show up as a PCI-device in the guest.
1016
1017=item B<auto>
1018
1019Determines whether a kernel based backend is installed.
1020If this is the case, B<pv> is used, otherwise B<qusb> will be used.
1021For HVM domains B<devicemodel> will be selected.
1022
1023This option is the default.
1024
1025=back
1026
1027=item B<version=VERSION>
1028
1029Specifies the usb controller version.  Possible values include
10301 (USB1.1), 2 (USB2.0) and 3 (USB3.0).
1031Default is 2 (USB2.0).
1032Value 3 (USB3.0) is available for the B<devicemodel> type only.
1033
1034=item B<ports=PORTS>
1035
1036Specifies the total number of ports of the usb controller. The maximum
1037number is 31. The default is 8.
1038With the type B<devicemodel> the number of ports is more limited:
1039a USB1.1 controller always has 2 ports,
1040a USB2.0 controller always has 6 ports
1041and a USB3.0 controller can have up to 15 ports.
1042
1043USB controller ids start from 0.  In line with the USB specification, however,
1044ports on a controller start from 1.
1045
1046B<EXAMPLE>
1047
1048=over 2
1049
1050usbctrl=["version=1,ports=4", "version=2,ports=8"]
1051
1052The first controller is USB1.1 and has:
1053
1054controller id = 0, and ports 1,2,3,4.
1055
1056The second controller is USB2.0 and has:
1057
1058controller id = 1, and ports 1,2,3,4,5,6,7,8.
1059
1060=back
1061
1062=back
1063
1064=item B<usbdev=[ "USBDEV_SPEC_STRING", "USBDEV_SPEC_STRING", ...]>
1065
1066Specifies the USB devices to be attached to the guest at boot.
1067
1068Each B<USBDEV_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
1069settings, from the following list:
1070
1071=over 4
1072
1073=item B<type=hostdev>
1074
1075Specifies USB device type. Currently only "hostdev" is supported.
1076
1077=item B<hostbus=busnum>
1078
1079Specifies busnum of the USB device from the host perspective.
1080
1081=item B<hostaddr=devnum>
1082
1083Specifies devnum of the USB device from the host perspective.
1084
1085=item B<controller=CONTROLLER>
1086
1087Specifies the USB controller id, to which controller the USB device is
1088attached.
1089
1090If no controller is specified, an available controller:port combination
1091will be used.  If there are no available controller:port combinations,
1092a new controller will be created.
1093
1094=item B<port=PORT>
1095
1096Specifies the USB port to which the USB device is attached. The B<port>
1097option is valid only when the B<controller> option is specified.
1098
1099=back
1100
1101=item B<pci=[ "PCI_SPEC_STRING", "PCI_SPEC_STRING", ...]>
1102
1103Specifies the host PCI devices to passthrough to this guest.
1104Each B<PCI_SPEC_STRING> has the form of
1105B<[DDDD:]BB:DD.F[@VSLOT],KEY=VALUE,KEY=VALUE,...> where:
1106
1107=over 4
1108
1109=item B<[DDDD:]BB:DD.F>
1110
1111Identifies the PCI device from the host perspective in the domain
1112(B<DDDD>), Bus (B<BB>), Device (B<DD>) and Function (B<F>) syntax. This is
1113the same scheme as used in the output of B<lspci(1)> for the device in
1114question.
1115
1116Note: by default B<lspci(1)> will omit the domain (B<DDDD>) if it
1117is zero and it is optional here also. You may specify the function
1118(B<F>) as B<*> to indicate all functions.
1119
1120=item B<@VSLOT>
1121
1122Specifies the virtual slot where the guest will see this
1123device. This is equivalent to the B<DD> which the guest sees. In a
1124guest B<DDDD> and B<BB> are C<0000:00>.
1125
1126=item B<permissive=BOOLEAN>
1127
1128By default pciback only allows PV guests to write "known safe" values
1129into PCI configuration space, likewise QEMU (both qemu-xen and
1130qemu-xen-traditional) imposes the same constraint on HVM guests.
1131However, many devices require writes to other areas of the configuration space
1132in order to operate properly.  This option tells the backend (pciback or QEMU)
1133to allow all writes to the PCI configuration space of this device by this
1134domain.
1135
1136B<This option should be enabled with caution:> it gives the guest much
1137more control over the device, which may have security or stability
1138implications.  It is recommended to only enable this option for
1139trusted VMs under administrator's control.
1140
1141=item B<msitranslate=BOOLEAN>
1142
1143Specifies that MSI-INTx translation should be turned on for the PCI
1144device. When enabled, MSI-INTx translation will always enable MSI on
1145the PCI device regardless of whether the guest uses INTx or MSI. Some
1146device drivers, such as NVIDIA's, detect an inconsistency and do not
1147function when this option is enabled. Therefore the default is false (0).
1148
1149=item B<seize=BOOLEAN>
1150
1151Tells B<xl> to automatically attempt to re-assign a device to
1152pciback if it is not already assigned.
1153
1154B<WARNING:> If you set this option, B<xl> will gladly re-assign a critical
1155system device, such as a network or a disk controller being used by
1156dom0 without confirmation.  Please use with care.
1157
1158=item B<power_mgmt=BOOLEAN>
1159
1160B<(HVM only)> Specifies that the VM should be able to program the
1161D0-D3hot power management states for the PCI device. The default is false (0).
1162
1163=item B<rdm_policy=STRING>
1164
1165B<(HVM/x86 only)> This is the same as the policy setting inside the B<rdm>
1166option but just specific to a given device. The default is "relaxed".
1167
1168Note: this would override global B<rdm> option.
1169
1170=back
1171
1172=item B<pci_permissive=BOOLEAN>
1173
1174Changes the default value of B<permissive> for all PCI devices passed
1175through to this VM. See B<permissive> above.
1176
1177=item B<pci_msitranslate=BOOLEAN>
1178
1179Changes the default value of B<msitranslate> for all PCI devices passed
1180through to this VM. See B<msitranslate> above.
1181
1182=item B<pci_seize=BOOLEAN>
1183
1184Changes the default value of B<seize> for all PCI devices passed
1185through to this VM. See B<seize> above.
1186
1187=item B<pci_power_mgmt=BOOLEAN>
1188
1189B<(HVM only)> Changes the default value of B<power_mgmt> for all PCI
1190devices passed through to this VM. See B<power_mgmt>
1191above.
1192
1193=item B<gfx_passthru=BOOLEAN|"STRING">
1194
1195Enable graphics device PCI passthrough. This option makes an assigned
1196PCI graphics card become the primary graphics card in the VM. The QEMU
1197emulated graphics adapter is disabled and the VNC console for the VM
1198will not have any graphics output. All graphics output, including boot
1199time QEMU BIOS messages from the VM, will go to the physical outputs
1200of the passed through physical graphics card.
1201
1202The graphics card PCI device to pass through is chosen with the B<pci>
1203option, in exactly the same way a normal Xen PCI device
1204passthrough/assignment is done.  Note that B<gfx_passthru> does not do
1205any kind of sharing of the GPU, so you can assign the GPU to only one
1206single VM at a time.
1207
1208B<gfx_passthru> also enables various legacy VGA memory ranges, BARs, MMIOs,
1209and ioports to be passed through to the VM, since those are required
1210for correct operation of things like VGA BIOS, text mode, VBE, etc.
1211
1212Enabling the B<gfx_passthru> option also copies the physical graphics card
1213video BIOS to the guest memory, and executes the VBIOS in the guest
1214to initialize the graphics card.
1215
1216Most graphics adapters require vendor specific tweaks for properly
1217working graphics passthrough. See the XenVGAPassthroughTestedAdapters
1218L<https://wiki.xenproject.org/wiki/XenVGAPassthroughTestedAdapters> wiki page
1219for graphics cards currently supported by B<gfx_passthru>.
1220
1221B<gfx_passthru> is currently supported both with the qemu-xen-traditional
1222device-model and upstream qemu-xen device-model.
1223
1224When given as a boolean the B<gfx_passthru> option either disables graphics
1225card passthrough or enables autodetection.
1226
1227When given as a string the B<gfx_passthru> option describes the type
1228of device to enable. Note that this behavior is only supported with the
1229upstream qemu-xen device-model. With qemu-xen-traditional IGD (Intel Graphics
1230Device) is always assumed and options other than autodetect or explicit IGD
1231will result in an error.
1232
1233Currently, valid values for the option are:
1234
1235=over 4
1236
1237=item B<0>
1238
1239Disables graphics device PCI passthrough.
1240
1241=item B<1>, B<"default">
1242
1243Enables graphics device PCI passthrough and autodetects the type of device
1244which is being used.
1245
1246=item B<"igd">
1247
1248Enables graphics device PCI passthrough but forcing the type of device to
1249Intel Graphics Device.
1250
1251=back
1252
1253Note that some graphics cards (AMD/ATI cards, for example) do not
1254necessarily require the B<gfx_passthru> option, so you can use the normal Xen
1255PCI passthrough to assign the graphics card as a secondary graphics
1256card to the VM. The QEMU-emulated graphics card remains the primary
1257graphics card, and VNC output is available from the QEMU-emulated
1258primary adapter.
1259
1260More information about the Xen B<gfx_passthru> feature is available
1261on the XenVGAPassthrough L<https://wiki.xenproject.org/wiki/XenVGAPassthrough>
1262wiki page.
1263
1264=item B<rdm_mem_boundary=MBYTES>
1265
1266Number of megabytes to set for a boundary when checking for RDM conflicts.
1267
1268When RDM conflicts with RAM, RDM is probably scattered over the whole RAM
1269space. Having multiple RDM entries would worsen this and lead to a complicated
1270memory layout. Here we're trying to figure out a simple solution to
1271avoid breaking the existing layout. When a conflict occurs,
1272
1273    #1. Above a predefined boundary
1274        - move lowmem_end below the reserved region to solve the conflict;
1275
1276    #2. Below a predefined boundary
1277        - Check if the policy is strict or relaxed.
1278        A "strict" policy leads to a fail in libxl.
1279        Note that when both policies are specified on a given region,
1280        "strict" is always preferred.
1281        The "relaxed" policy issues a warning message and also masks this
1282        entry INVALID to indicate we shouldn't expose this entry to
1283        hvmloader.
1284
1285The default value is 2048.
1286
1287=item B<dtdev=[ "DTDEV_PATH", "DTDEV_PATH", ...]>
1288
1289Specifies the host device tree nodes to passt hrough to this guest. Each
1290DTDEV_PATH is an absolute path in the device tree.
1291
1292=item B<ioports=[ "IOPORT_RANGE", "IOPORT_RANGE", ...]>
1293
1294Allow the guest to access specific legacy I/O ports. Each B<IOPORT_RANGE>
1295is given in hexadecimal format and may either be a range, e.g. C<2f8-2ff>
1296(inclusive), or a single I/O port, e.g. C<2f8>.
1297
1298It is recommended to only use this option for trusted VMs under
1299administrator's control.
1300
1301=item B<iomem=[ "IOMEM_START,NUM_PAGES[@GFN]", "IOMEM_START,NUM_PAGES[@GFN]", ...]>
1302
1303Allow auto-translated domains to access specific hardware I/O memory pages.
1304
1305B<IOMEM_START> is a physical page number. B<NUM_PAGES> is the number of pages,
1306beginning with B<START_PAGE>, to allow access to. B<GFN> specifies the guest
1307frame number where the mapping will start in the guest's address space. If
1308B<GFN> is not specified, the mapping will be performed using B<IOMEM_START>
1309as a start in the guest's address space, therefore performing a 1:1 mapping
1310by default.
1311All of these values must be given in hexadecimal format.
1312
1313Note that the IOMMU won't be updated with the mappings specified with this
1314option. This option therefore should not be used to pass through any
1315IOMMU-protected devices.
1316
1317It is recommended to only use this option for trusted VMs under
1318administrator's control.
1319
1320=item B<irqs=[ NUMBER, NUMBER, ...]>
1321
1322Allow a guest to access specific physical IRQs.
1323
1324It is recommended to only use this option for trusted VMs under
1325administrator's control.
1326
1327If vuart console is enabled then irq 32 is reserved for it. See
1328L</vuart="uart"> to know how to enable vuart console.
1329
1330=item B<max_event_channels=N>
1331
1332Limit the guest to using at most N event channels (PV interrupts).
1333Guests use hypervisor resources for each event channel they use.
1334
1335The default of 1023 should be sufficient for typical guests.  The
1336maximum value depends on what the guest supports.  Guests supporting the
1337FIFO-based event channel ABI support up to 131,071 event channels.
1338Other guests are limited to 4095 (64-bit x86 and ARM) or 1023 (32-bit
1339x86).
1340
1341=item B<vdispl=[ "VDISPL_SPEC_STRING", "VDISPL_SPEC_STRING", ...]>
1342
1343Specifies the virtual display devices to be provided to the guest.
1344
1345Each B<VDISPL_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
1346settings, from the following list:
1347
1348=over 4
1349
1350=item C<backend=DOMAIN>
1351
1352Specifies the backend domain name or id. If not specified Domain-0 is used.
1353
1354=item C<be-alloc=BOOLEAN>
1355
1356Indicates if backend can be a buffer provider/allocator for this domain. See
1357display protocol for details.
1358
1359=item C<connectors=CONNECTORS>
1360
1361Specifies virtual connectors for the device in following format
1362<id>:<W>x<H>;<id>:<W>x<H>... where:
1363
1364=over 4
1365
1366=item C<id>
1367
1368String connector unique id. Space, comma symbols are not allowed.
1369
1370=item C<W>
1371
1372Connector width in pixels.
1373
1374=item C<H>
1375
1376Connector height in pixels.
1377
1378=back
1379
1380B<EXAMPLE>
1381
1382=over 4
1383
1384connectors=id0:1920x1080;id1:800x600;id2:640x480
1385
1386=back
1387
1388=back
1389
1390=item B<dm_restrict=BOOLEAN>
1391
1392Restrict the device model after startup,
1393to limit the consequencese of security vulnerabilities in qemu.
1394
1395See docs/features/qemu-depriv.pandoc for more information
1396on Linux and QEMU version requirements, device model user setup,
1397and current limitations.
1398
1399This feature is a B<technology preview>.
1400See SUPPORT.md for a security support statement.
1401
1402=item B<device_model_user=USERNAME>
1403
1404When running dm_restrict, run the device model as this user.
1405
1406NOTE: Each domain MUST have a SEPARATE username.
1407
1408See docs/features/qemu-depriv.pandoc for more information.
1409
1410=item B<vsnd=[ VCARD_SPEC, VCARD_SPEC, ... ]>
1411
1412Specifies the virtual sound cards to be provided to the guest.
1413Each B<VCARD_SPEC> is a list, which has a form of
1414"[VSND_ITEM_SPEC, VSND_ITEM_SPEC, ... ]" (without the quotes).
1415The virtual sound card has hierarchical structure.
1416Every card has a set of PCM devices and streams, each could be individually
1417configured.
1418
1419B<VSND_ITEM_SPEC> describes individual item parameters.
1420B<VSND_ITEM_SPEC> is a string of comma separated item parameters
1421headed by item identifier. Each item parameter is C<KEY=VALUE> pair:
1422
1423=over 4
1424
1425"identifier, param = value, ...".
1426
1427=back
1428
1429Identifier shall be one of following values: "CARD", "PCM", "STREAM".
1430The child item treated as belonging to the previously defined parent item.
1431
1432All parameters are optional.
1433
1434There are group of parameters which are common for all items.
1435This group can be defined at higher level of the hierarchy and be fully or
1436partially re-used by the underlying layers. These parameters are:
1437
1438=over 4
1439
1440* number of channels (min/max)
1441
1442* supported sample rates
1443
1444* supported sample formats
1445
1446=back
1447
1448E.g. one can define these values for the whole card, device or stream.
1449Every underlying layer in turn can re-define some or all of them to better
1450fit its needs. For example, card may define number of channels to be
1451in [1; 8] range, and some particular stream may be limited to [1; 2] only.
1452The rule is that the underlying layer must be a subset of the upper layer
1453range.
1454
1455I<COMMON parameters:>
1456
1457=over 4
1458
1459=over 4
1460
1461=item B<sample-rates=RATES>
1462
1463List of integer values separated by semicolon: sample-rates=8000;22050;44100
1464
1465=item B<sample-formats=FORMATS>
1466
1467List of string values separated by semicolon: sample-formats=s16_le;s8;u32_be
1468
1469Supported formats: s8, u8, s16_le, s16_be, u16_le, u16_be, s24_le, s24_be,
1470u24_le, u24_be, s32_le, s32_be, u32_le, u32_be, float_le, float_be,
1471float64_le, float64_be, iec958_subframe_le, iec958_subframe_be,
1472mu_law, a_law, ima_adpcm, mpeg, gsm
1473
1474=item B<channels-min=NUMBER>
1475
1476The minimum amount of channels.
1477
1478=item B<channels-max=NUMBER>
1479
1480The maximum amount of channels.
1481
1482=item B<buffer-size=NUMBER>
1483
1484The maximum size in octets of the buffer to allocate per stream.
1485
1486=back
1487
1488=back
1489
1490I<CARD specification:>
1491
1492=over 4
1493
1494=over 4
1495
1496=item B<backend=domain-id>
1497
1498Specify the backend domain name or id, defaults to dom0.
1499
1500=item B<short-name=STRING>
1501
1502Short name of the virtual sound card.
1503
1504=item B<long-name=STRING>
1505
1506Long name of the virtual sound card.
1507
1508=back
1509
1510=back
1511
1512I<PCM specification:>
1513
1514=over 4
1515
1516=over 4
1517
1518=item B<name=STRING>
1519
1520Name of the PCM sound device within the virtual sound card.
1521
1522=back
1523
1524=back
1525
1526I<STREAM specification:>
1527
1528=over 4
1529
1530=over 4
1531
1532=item B<unique-id=STRING>
1533
1534Unique stream identifier.
1535
1536=item B<type=TYPE>
1537
1538Stream type: "p" - playback stream, "c" - capture stream.
1539
1540=back
1541
1542=back
1543
1544I<EXAMPLE:>
1545
1546    vsnd = [
1547        ['CARD, short-name=Main, sample-formats=s16_le;s8;u32_be',
1548            'PCM, name=Main',
1549                'STREAM, id=0, type=p',
1550                'STREAM, id=1, type=c, channels-max=2'
1551        ],
1552        ['CARD, short-name=Second',
1553            'PCM, name=Second, buffer-size=1024',
1554                'STREAM, id=2, type=p',
1555                'STREAM, id=3, type=c'
1556        ]
1557    ]
1558
1559=item B<vkb=[ "VKB_SPEC_STRING", "VKB_SPEC_STRING", ...]>
1560
1561Specifies the virtual keyboard device to be provided to the guest.
1562
1563Each B<VKB_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
1564settings from the following list:
1565
1566=over 4
1567
1568=item B<unique-id=STRING>
1569
1570Specifies the unique input device id.
1571
1572=item B<backend=domain-id>
1573
1574Specifies the backend domain name or id.
1575
1576=item B<backend-type=type>
1577
1578Specifies the backend type: qemu - for QEMU backend or linux - for Linux PV
1579domain.
1580
1581=item B<feature-disable-keyboard=BOOLEAN>
1582
1583Indicates if keyboard device is disabled.
1584
1585=item B<feature-disable-pointer=BOOLEAN>
1586
1587Indicates if pointer device is disabled.
1588
1589=item B<feature-abs-pointer=BOOLEAN>
1590
1591Indicates if pointer device can return absolute coordinates.
1592
1593=item B<feature-raw-pointer=BOOLEAN>
1594
1595Indicates if pointer device can return raw (unscaled) absolute coordinates.
1596
1597=item B<feature-multi-touch=BOOLEAN>
1598
1599Indicates if input device supports multi touch.
1600
1601=item B<multi-touch-width=MULTI_TOUCH_WIDTH>
1602
1603Set maximum width for multi touch device.
1604
1605=item B<multi-touch-height=MULTI_TOUCH_HEIGHT>
1606
1607Set maximum height for multi touch device.
1608
1609=item B<multi-touch-num-contacts=MULTI_TOUCH_NUM_CONTACTS>
1610
1611Set maximum contacts number for multi touch device.
1612
1613=item B<width=WIDTH>
1614
1615Set maximum width for pointer device.
1616
1617=item B<height=HEIGHT>
1618
1619Set maximum height for pointer device.
1620
1621=back
1622
1623=item B<tee="STRING">
1624
1625B<Arm only.> Set TEE type for the guest. TEE is a Trusted Execution
1626Environment -- separate secure OS found on some platforms. B<STRING> can be one of the:
1627
1628=over 4
1629
1630=item B<none>
1631
1632"Don't allow the guest to use TEE if present on the platform. This is
1633the default value.
1634
1635=item B<optee>
1636
1637Allow a guest to access the host OP-TEE OS. Xen will mediate the
1638access to OP-TEE and the resource isolation will be provided directly
1639by OP-TEE. OP-TEE itself may limit the number of guests that can
1640concurrently use it. This requires a virtualization-aware OP-TEE for
1641this to work.
1642
1643You can refer to
1644L<OP-TEE documentation|https://optee.readthedocs.io/en/latest/architecture/virtualization.html>
1645for more information about how to enable and configure virtualization support
1646in OP-TEE.
1647
1648This feature is a B<technology preview>.
1649
1650=back
1651
1652=back
1653
1654=head2 Paravirtualised (PV) Guest Specific Options
1655
1656The following options apply only to Paravirtual (PV) guests.
1657
1658=over 4
1659
1660=item B<bootloader="PROGRAM">
1661
1662Run C<PROGRAM> to find the kernel image and ramdisk to use.  Normally
1663C<PROGRAM> would be C<pygrub>, which is an emulation of
1664grub/grub2/syslinux. Either B<kernel> or B<bootloader> must be specified
1665for PV guests.
1666
1667=item B<bootloader_args=[ "ARG", "ARG", ...]>
1668
1669Append B<ARG>s to the arguments to the B<bootloader>
1670program. Alternatively if the argument is a simple string then it will
1671be split into words at whitespace B<(this second option is deprecated)>.
1672
1673=item B<e820_host=BOOLEAN>
1674
1675Selects whether to expose the host e820 (memory map) to the guest via
1676the virtual e820. When this option is false (0) the guest pseudo-physical
1677address space consists of a single contiguous RAM region. When this
1678option is specified the virtual e820 instead reflects the host e820
1679and contains the same PCI holes. The total amount of RAM represented
1680by the memory map is always the same, this option configures only how
1681it is laid out.
1682
1683Exposing the host e820 to the guest gives the guest kernel the
1684opportunity to set aside the required part of its pseudo-physical
1685address space in order to provide address space to map passedthrough
1686PCI devices. It is guest Operating System dependent whether this
1687option is required, specifically it is required when using a mainline
1688Linux ("pvops") kernel. This option defaults to true (1) if any PCI
1689passthrough devices are configured and false (0) otherwise. If you do not
1690configure any passthrough devices at domain creation time but expect
1691to hotplug devices later then you should set this option. Conversely
1692if your particular guest kernel does not require this behaviour then
1693it is safe to allow this to be enabled but you may wish to disable it
1694anyway.
1695
1696=back
1697
1698=head2 Fully-virtualised (HVM) Guest Specific Options
1699
1700The following options apply only to Fully-virtualised (HVM) guests.
1701
1702=head3 Boot Device
1703
1704=over 4
1705
1706=item B<boot="STRING">
1707
1708Specifies the emulated virtual device to boot from.
1709
1710Possible values are:
1711
1712=over 4
1713
1714=item B<c>
1715
1716Hard disk.
1717
1718=item B<d>
1719
1720CD-ROM.
1721
1722=item B<n>
1723
1724Network / PXE.
1725
1726=back
1727
1728B<Note:> multiple options can be given and will be attempted in the order they
1729are given, e.g. to boot from CD-ROM but fall back to the hard disk you can
1730specify it as B<dc>.
1731
1732The default is B<cd>, meaning try booting from the hard disk first, but fall
1733back to the CD-ROM.
1734
1735
1736=back
1737
1738=head3 Emulated disk controller type
1739
1740=over 4
1741
1742=item B<hdtype=STRING>
1743
1744Specifies the hard disk type.
1745
1746Possible values are:
1747
1748=over 4
1749
1750=item B<ide>
1751
1752If thise mode is specified B<xl> adds an emulated IDE controller, which is
1753suitable even for older operation systems.
1754
1755=item B<ahci>
1756
1757If this mode is specified, B<xl> adds an ich9 disk controller in AHCI mode and
1758uses it with upstream QEMU to emulate disks instead of IDE. It decreases boot
1759time but may not be supported by default in older operating systems, e.g.
1760Windows XP.
1761
1762=back
1763
1764The default is B<ide>.
1765
1766=back
1767
1768=head3 Paging
1769
1770The following options control the mechanisms used to virtualise guest
1771memory.  The defaults are selected to give the best results for the
1772common cases so you should normally leave these options
1773unspecified.
1774
1775=over 4
1776
1777=item B<hap=BOOLEAN>
1778
1779Turns "hardware assisted paging" (the use of the hardware nested page
1780table feature) on or off.  This feature is called EPT (Extended Page
1781Tables) by Intel and NPT (Nested Page Tables) or RVI (Rapid
1782Virtualisation Indexing) by AMD. If turned
1783off, Xen will run the guest in "shadow page table" mode where the
1784guest's page table updates and/or TLB flushes etc. will be emulated.
1785Use of HAP is the default when available.
1786
1787=item B<oos=BOOLEAN>
1788
1789Turns "out of sync pagetables" on or off.  When running in shadow page
1790table mode, the guest's page table updates may be deferred as
1791specified in the Intel/AMD architecture manuals.  However, this may
1792expose unexpected bugs in the guest, or find bugs in Xen, so it is
1793possible to disable this feature.  Use of out of sync page tables,
1794when Xen thinks it appropriate, is the default.
1795
1796=item B<shadow_memory=MBYTES>
1797
1798Number of megabytes to set aside for shadowing guest pagetable pages
1799(effectively acting as a cache of translated pages) or to use for HAP
1800state. By default this is 1MB per guest vCPU plus 8KB per MB of guest
1801RAM. You should not normally need to adjust this value. However, if you
1802are not using hardware assisted paging (i.e. you are using shadow
1803mode) and your guest workload consists of a very large number of
1804similar processes then increasing this value may improve performance.
1805
1806=back
1807
1808=head3 Processor and Platform Features
1809
1810The following options allow various processor and platform level
1811features to be hidden or exposed from the guest's point of view. This
1812can be useful when running older guest Operating Systems which may
1813misbehave when faced with more modern features. In general, you should
1814accept the defaults for these options wherever possible.
1815
1816=over 4
1817
1818=item B<bios="STRING">
1819
1820Select the virtual firmware that is exposed to the guest.
1821By default, a guess is made based on the device model, but sometimes
1822it may be useful to request a different one, like UEFI.
1823
1824=over 4
1825
1826=item B<rombios>
1827
1828Loads ROMBIOS, a 16-bit x86 compatible BIOS. This is used by default
1829when B<device_model_version=qemu-xen-traditional>. This is the only BIOS
1830option supported when B<device_model_version=qemu-xen-traditional>. This is
1831the BIOS used by all previous Xen versions.
1832
1833=item B<seabios>
1834
1835Loads SeaBIOS, a 16-bit x86 compatible BIOS. This is used by default
1836with device_model_version=qemu-xen.
1837
1838=item B<ovmf>
1839
1840Loads OVMF, a standard UEFI firmware by Tianocore project.
1841Requires device_model_version=qemu-xen.
1842
1843=back
1844
1845=item B<bios_path_override="PATH">
1846
1847Override the path to the blob to be used as BIOS. The blob provided here MUST
1848be consistent with the B<bios=> which you have specified. You should not
1849normally need to specify this option.
1850
1851This option does not have any effect if using B<bios="rombios"> or
1852B<device_model_version="qemu-xen-traditional">.
1853
1854=item B<pae=BOOLEAN>
1855
1856Hide or expose the IA32 Physical Address Extensions. These extensions
1857make it possible for a 32 bit guest Operating System to access more
1858than 4GB of RAM. Enabling PAE also enabled other features such as
1859NX. PAE is required if you wish to run a 64-bit guest Operating
1860System. In general, you should leave this enabled and allow the guest
1861Operating System to choose whether or not to use PAE. (X86 only)
1862
1863=item B<acpi=BOOLEAN>
1864
1865Expose ACPI (Advanced Configuration and Power Interface) tables from
1866the virtual firmware to the guest Operating System. ACPI is required
1867by most modern guest Operating Systems. This option is enabled by
1868default and usually you should omit it. However, it may be necessary to
1869disable ACPI for compatibility with some guest Operating Systems.
1870This option is true for x86 while it's false for ARM by default.
1871
1872=item B<acpi_s3=BOOLEAN>
1873
1874Include the S3 (suspend-to-ram) power state in the virtual firmware
1875ACPI table. True (1) by default.
1876
1877=item B<acpi_s4=BOOLEAN>
1878
1879Include S4 (suspend-to-disk) power state in the virtual firmware ACPI
1880table. True (1) by default.
1881
1882=item B<acpi_laptop_slate=BOOLEAN>
1883
1884Include the Windows laptop/slate mode switch device in the virtual
1885firmware ACPI table. False (0) by default.
1886
1887=item B<apic=BOOLEAN>
1888
1889B<(x86 only)> Include information regarding APIC (Advanced Programmable Interrupt
1890Controller) in the firmware/BIOS tables on a single processor
1891guest. This causes the MP (multiprocessor) and PIR (PCI Interrupt
1892Routing) tables to be exported by the virtual firmware. This option
1893has no effect on a guest with multiple virtual CPUs as they must
1894always include these tables. This option is enabled by default and you
1895should usually omit it but it may be necessary to disable these
1896firmware tables when using certain older guest Operating
1897Systems. These tables have been superseded by newer constructs within
1898the ACPI tables.
1899
1900=item B<nx=BOOLEAN>
1901
1902B<(x86 only)> Hides or exposes the No-eXecute capability. This allows a guest
1903Operating System to map pages in such a way that they cannot be executed which
1904can enhance security. This options requires that PAE also be
1905enabled.
1906
1907=item B<hpet=BOOLEAN>
1908
1909B<(x86 only)> Enables or disables HPET (High Precision Event Timer). This
1910option is enabled by default and you should usually omit it.
1911It may be necessary to disable the HPET in order to improve compatibility with
1912guest Operating Systems.
1913
1914=item B<altp2m="MODE">
1915
1916B<(x86 only)> Specifies the access mode to the alternate-p2m capability.
1917Alternate-p2m allows a guest to manage multiple p2m guest physical "memory
1918views" (as opposed to a single p2m).
1919You may want this option if you want to access-control/isolate
1920access to specific guest physical memory pages accessed by the guest, e.g. for
1921domain memory introspection or for isolation/access-control of memory between
1922components within a single guest domain. This option is disabled by default.
1923
1924The valid values are as follows:
1925
1926=over 4
1927
1928=item B<disabled>
1929
1930Altp2m is disabled for the domain (default).
1931
1932=item B<mixed>
1933
1934The mixed mode allows access to the altp2m interface for both in-guest
1935and external tools as well.
1936
1937=item B<external>
1938
1939Enables access to the alternate-p2m capability by external privileged tools.
1940
1941=item B<limited>
1942
1943Enables limited access to the alternate-p2m capability,
1944ie. giving the guest access only to enable/disable the VMFUNC and #VE features.
1945
1946=back
1947
1948=item B<altp2mhvm=BOOLEAN>
1949
1950Enables or disables HVM guest access to alternate-p2m capability.
1951Alternate-p2m allows a guest to manage multiple p2m guest physical
1952"memory views" (as opposed to a single p2m). This option is
1953disabled by default and is available only to HVM domains.
1954You may want this option if you want to access-control/isolate
1955access to specific guest physical memory pages accessed by
1956the guest, e.g. for HVM domain memory introspection or
1957for isolation/access-control of memory between components within
1958a single guest HVM domain. B<This option is deprecated, use the option
1959"altp2m" instead.>
1960
1961B<Note>: While the option "altp2mhvm" is deprecated, legacy applications for
1962x86 systems will continue to work using it.
1963
1964=item B<nestedhvm=BOOLEAN>
1965
1966Enable or disables guest access to hardware virtualisation features,
1967e.g. it allows a guest Operating System to also function as a
1968hypervisor. You may want this
1969option if you want to run another hypervisor (including another copy
1970of Xen) within a Xen guest or to support a guest Operating System
1971which uses hardware virtualisation extensions (e.g. Windows XP
1972compatibility mode on more modern Windows OS).
1973This option is disabled by default.
1974
1975=item B<cpuid="LIBXL_STRING"> or B<cpuid=[ "XEND_STRING", "XEND_STRING" ]>
1976
1977Configure the value returned when a guest executes the CPUID instruction.
1978Two versions of config syntax are recognized: libxl and xend.
1979
1980Both formats use a common notation for specifying a single feature bit.
1981Possible values are:
1982  '1' -> force the corresponding bit to 1
1983  '0' -> force to 0
1984  'x' -> Get a safe value (pass through and mask with the default policy)
1985  'k' -> pass through the host bit value (at boot only - value preserved on migrate)
1986  's' -> legacy alias for 'k'
1987
1988B<Libxl format>:
1989
1990=over 4
1991
1992The libxl format is a single string, starting with the word "host", and
1993followed by a comma separated list of key=value pairs.  A few keys take a
1994numerical value, all others take a single character which describes what to do
1995with the feature bit.  e.g.:
1996
1997=over 4
1998
1999cpuid="host,tm=0,sse3=0"
2000
2001=back
2002
2003List of keys taking a value:
2004
2005=over 4
2006
2007apicidsize brandid clflush family localapicid maxleaf maxhvleaf model nc
2008proccount procpkg stepping
2009
2010=back
2011
2012List of keys taking a character:
2013
2014=over 4
2015
20163dnow 3dnowext 3dnowprefetch abm acpi adx aes altmovcr8 apic arat avx avx2
2017avx512-4fmaps avx512-4vnniw avx512bw avx512cd avx512dq avx512er avx512f
2018avx512ifma avx512pf avx512vbmi avx512vl bmi1 bmi2 clflushopt clfsh clwb cmov
2019cmplegacy cmpxchg16 cmpxchg8 cmt cntxid dca de ds dscpl dtes64 erms est extapic
2020f16c ffxsr fma fma4 fpu fsgsbase fxsr hle htt hypervisor ia64 ibs invpcid
2021invtsc lahfsahf lm lwp mca mce misalignsse mmx mmxext monitor movbe mpx msr
2022mtrr nodeid nx ospke osvw osxsave pae page1gb pat pbe pcid pclmulqdq pdcm
2023perfctr_core perfctr_nb pge pku popcnt pse pse36 psn rdrand rdseed rdtscp rtm
2024sha skinit smap smep smx ss sse sse2 sse3 sse4.1 sse4.2 sse4_1 sse4_2 sse4a
2025ssse3 svm svm_decode svm_lbrv svm_npt svm_nrips svm_pausefilt svm_tscrate
2026svm_vmcbclean syscall sysenter tbm tm tm2 topoext tsc tsc-deadline tsc_adjust
2027umip vme vmx wdt x2apic xop xsave xtpr
2028
2029=back
2030
2031=back
2032
2033B<Xend format>:
2034
2035=over 4
2036
2037Xend format consists of an array of one or more strings of the form
2038"leaf:reg=bitstring,...".  e.g. (matching the libxl example above):
2039
2040=over 4
2041
2042cpuid=["1:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0,edx=xx0xxxxxxxxxxxxxxxxxxxxxxxxxxxxx", ...]
2043
2044=back
2045
2046"leaf" is an integer, either decimal or hex with a "0x" prefix.  e.g. to
2047specify something in the AMD feature leaves, use "0x80000001:ecx=...".
2048
2049Some leaves have subleaves which can be specified as "leaf,subleaf".  e.g. for
2050the Intel structured feature leaf, use "7,0:ebx=..."
2051
2052The bitstring represents all bits in the register, its length must be 32
2053chars.  Each successive character represent a lesser-significant bit.
2054
2055=back
2056
2057Note: when specifying B<cpuid> for hypervisor leaves (0x4000xxxx major group)
2058only the lowest 8 bits of leaf's 0x4000xx00 EAX register are processed, the
2059rest are ignored (these 8 bits signify maximum number of hypervisor leaves).
2060
2061More info about the CPUID instruction can be found in the processor manuals,
2062and on Wikipedia: L<https://en.wikipedia.org/wiki/CPUID>
2063
2064=item B<acpi_firmware="STRING">
2065
2066Specifies a path to a file that contains extra ACPI firmware tables to pass into
2067a guest. The file can contain several tables in their binary AML form
2068concatenated together. Each table self describes its length so no additional
2069information is needed. These tables will be added to the ACPI table set in the
2070guest. Note that existing tables cannot be overridden by this feature. For
2071example, this cannot be used to override tables like DSDT, FADT, etc.
2072
2073=item B<smbios_firmware="STRING">
2074
2075Specifies a path to a file that contains extra SMBIOS firmware structures to
2076pass into a guest. The file can contain a set of DMTF predefined structures
2077which will override the internal defaults. Not all predefined structures can be
2078overridden,
2079only the following types: 0, 1, 2, 3, 11, 22, 39. The file can also contain any
2080number of vendor defined SMBIOS structures (type 128 - 255). Since SMBIOS
2081structures do not present their overall size, each entry in the file must be
2082preceded by a 32b integer indicating the size of the following structure.
2083
2084=item B<ms_vm_genid="OPTION">
2085
2086Provide a VM generation ID to the guest.
2087
2088The VM generation ID is a 128-bit random number that a guest may use
2089to determine if the guest has been restored from an earlier snapshot
2090or cloned.
2091
2092This is required for Microsoft Windows Server 2012 (and later) domain
2093controllers.
2094
2095Valid options are:
2096
2097=over 4
2098
2099=item B<generate>
2100
2101Generate a random VM generation ID every time the domain is created or
2102restored.
2103
2104=item B<none>
2105
2106Do not provide a VM generation ID.
2107
2108=back
2109
2110See also "Virtual Machine Generation ID" by Microsoft:
2111L<https://docs.microsoft.com/en-us/windows/win32/hyperv_v2/virtual-machine-generation-identifier>
2112
2113=back
2114
2115=head3 Guest Virtual Time Controls
2116
2117=over 4
2118
2119=item B<tsc_mode="MODE">
2120
2121B<(x86 only)> Specifies how the TSC (Time Stamp Counter) should be provided to
2122the guest. B<Specifying this option as a number is deprecated.>
2123
2124Options are:
2125
2126=over 4
2127
2128=item B<default>
2129
2130Guest rdtsc/p is executed natively when monotonicity can be guaranteed
2131and emulated otherwise (with frequency scaled if necessary).
2132
2133If a HVM container in B<default> TSC mode is created on a host that
2134provides constant host TSC, its guest TSC frequency will be the same
2135as the host. If it is later migrated to another host that provide
2136constant host TSC and supports Intel VMX TSC scaling/AMD SVM TSC
2137ratio, its guest TSC frequency will be the same before and after
2138migration, and guest rdtsc/p will be executed natively after migration as well
2139
2140=item B<always_emulate>
2141
2142Guest rdtsc/p is always emulated and the virtual TSC will appear to increment
2143(kernel and user) at a fixed 1GHz rate, regardless of the pCPU HZ rate or
2144power state. Although there is an overhead associated with emulation,
2145this will NOT affect underlying CPU performance.
2146
2147=item B<native>
2148
2149Guest rdtsc/p is always executed natively (no monotonicity/frequency
2150guarantees). Guest rdtsc/p is emulated at native frequency if unsupported
2151by h/w, else executed natively.
2152
2153=item B<native_paravirt>
2154
2155This mode has been removed.
2156
2157=back
2158
2159Please see B<xen-tscmode(7)> for more information on this option.
2160
2161=item B<localtime=BOOLEAN>
2162
2163Set the real time clock to local time or to UTC. False (0) by default,
2164i.e. set to UTC.
2165
2166=item B<rtc_timeoffset=SECONDS>
2167
2168Set the real time clock offset in seconds. No offset (0) by default.
2169
2170=item B<vpt_align=BOOLEAN>
2171
2172Specifies that periodic Virtual Platform Timers should be aligned to
2173reduce guest interrupts. Enabling this option can reduce power
2174consumption, especially when a guest uses a high timer interrupt
2175frequency (HZ) values. The default is true (1).
2176
2177=item B<timer_mode="MODE">
2178
2179Specifies the mode for Virtual Timers. The valid values are as follows:
2180
2181=over 4
2182
2183=item B<delay_for_missed_ticks>
2184
2185Delay for missed ticks. Do not advance a vCPU's time beyond the
2186correct delivery time for interrupts that have been missed due to
2187preemption. Deliver missed interrupts when the vCPU is rescheduled and
2188advance the vCPU's virtual time stepwise for each one.
2189
2190=item B<no_delay_for_missed_ticks>
2191
2192No delay for missed ticks. As above, missed interrupts are delivered,
2193but guest time always tracks wallclock (i.e., real) time while doing
2194so. This is the default.
2195
2196=item B<no_missed_ticks_pending>
2197
2198No missed interrupts are held pending. Instead, to ensure ticks are
2199delivered at some non-zero rate, if we detect missed ticks then the
2200internal tick alarm is not disabled if the vCPU is preempted during
2201the next tick period.
2202
2203=item B<one_missed_tick_pending>
2204
2205One missed tick pending. Missed interrupts are collapsed
2206together and delivered as one 'late tick'.  Guest time always tracks
2207wallclock (i.e., real) time.
2208
2209=back
2210
2211=back
2212
2213=head3 Memory layout
2214
2215=over 4
2216
2217=item B<mmio_hole=MBYTES>
2218
2219Specifies the size the MMIO hole below 4GiB will be.  Only valid for
2220B<device_model_version="qemu-xen">.
2221
2222Cannot be smaller than 256. Cannot be larger than 3840.
2223
2224Known good large value is 3072.
2225
2226=back
2227
2228=head3 Support for Paravirtualisation of HVM Guests
2229
2230The following options allow Paravirtualised features (such as devices)
2231to be exposed to the guest Operating System in an HVM guest.
2232Utilising these features requires specific guest support but when
2233available they will result in improved performance.
2234
2235=over 4
2236
2237=item B<xen_platform_pci=BOOLEAN>
2238
2239Enable or disable the Xen platform PCI device.  The presence of this
2240virtual device enables a guest Operating System (subject to the
2241availability of suitable drivers) to make use of paravirtualisation
2242features such as disk and network devices etc. Enabling these drivers
2243improves performance and is strongly recommended when available. PV
2244drivers are available for various Operating Systems including HVM
2245Linux (out-of-the-box) and Microsoft
2246Windows L<https://xenproject.org/windows-pv-drivers/>.
2247
2248Setting B<xen_platform_pci=0> with the default device_model "qemu-xen"
2249requires at least QEMU 1.6.
2250
2251=item B<viridian=[ "GROUP", "GROUP", ...]> or B<viridian=BOOLEAN>
2252
2253The groups of Microsoft Hyper-V (AKA viridian) compatible enlightenments
2254exposed to the guest. The following groups of enlightenments may be
2255specified:
2256
2257=over 4
2258
2259=item B<base>
2260
2261This group incorporates the Hypercall MSRs, Virtual processor index MSR,
2262and APIC access MSRs. These enlightenments can improve performance of
2263Windows Vista and Windows Server 2008 onwards and setting this option
2264for such guests is strongly recommended.
2265This group is also a pre-requisite for all others. If it is disabled
2266then it is an error to attempt to enable any other group.
2267
2268=item B<freq>
2269
2270This group incorporates the TSC and APIC frequency MSRs. These
2271enlightenments can improve performance of Windows 7 and Windows
2272Server 2008 R2 onwards.
2273
2274=item B<time_ref_count>
2275
2276This group incorporates Partition Time Reference Counter MSR. This
2277enlightenment can improve performance of Windows 8 and Windows
2278Server 2012 onwards.
2279
2280=item B<reference_tsc>
2281
2282This set incorporates the Partition Reference TSC MSR. This
2283enlightenment can improve performance of Windows 7 and Windows
2284Server 2008 R2 onwards.
2285
2286=item B<hcall_remote_tlb_flush>
2287
2288This set incorporates use of hypercalls for remote TLB flushing.
2289This enlightenment may improve performance of Windows guests running
2290on hosts with higher levels of (physical) CPU contention.
2291
2292=item B<apic_assist>
2293
2294This set incorporates use of the APIC assist page to avoid EOI of
2295the local APIC.
2296This enlightenment may improve performance of guests that make use of
2297per-vCPU event channel upcall vectors.
2298Note that this enlightenment will have no effect if the guest is
2299using APICv posted interrupts.
2300
2301=item B<crash_ctl>
2302
2303This group incorporates the crash control MSRs. These enlightenments
2304allow Windows to write crash information such that it can be logged
2305by Xen.
2306
2307=item B<stimer>
2308
2309This set incorporates the SynIC and synthetic timer MSRs. Windows will
2310use synthetic timers in preference to emulated HPET for a source of
2311ticks and hence enabling this group will ensure that ticks will be
2312consistent with use of an enlightened time source (B<time_ref_count> or
2313B<reference_tsc>).
2314
2315=item B<hcall_ipi>
2316
2317This set incorporates use of a hypercall for interprocessor interrupts.
2318This enlightenment may improve performance of Windows guests with multiple
2319virtual CPUs.
2320
2321=item B<defaults>
2322
2323This is a special value that enables the default set of groups, which
2324is currently the B<base>, B<freq>, B<time_ref_count>, B<apic_assist>,
2325B<crash_ctl> and B<stimer> groups.
2326
2327=item B<all>
2328
2329This is a special value that enables all available groups.
2330
2331=back
2332
2333Groups can be disabled by prefixing the name with '!'. So, for example,
2334to enable all groups except B<freq>, specify:
2335
2336=over 4
2337
2338B<viridian=[ "all", "!freq" ]>
2339
2340=back
2341
2342For details of the enlightenments see the latest version of Microsoft's
2343Hypervisor Top-Level Functional Specification.
2344
2345The enlightenments should be harmless for other versions of Windows
2346(although they will not give any benefit) and the majority of other
2347non-Windows OSes.
2348However it is known that they are incompatible with some other Operating
2349Systems and in some circumstance can prevent Xen's own paravirtualisation
2350interfaces for HVM guests from being used.
2351
2352The viridian option can be specified as a boolean. A value of true (1)
2353is equivalent to the list [ "defaults" ], and a value of false (0) is
2354equivalent to an empty list.
2355
2356=back
2357
2358=head3 Emulated VGA Graphics Device
2359
2360The following options control the features of the emulated graphics
2361device.  Many of these options behave similarly to the equivalent key
2362in the B<VFB_SPEC_STRING> for configuring virtual frame buffer devices
2363(see above).
2364
2365=over 4
2366
2367=item B<videoram=MBYTES>
2368
2369Sets the amount of RAM which the emulated video card will contain,
2370which in turn limits the resolutions and bit depths which will be
2371available.
2372
2373When using the qemu-xen-traditional device-model, the default as well as
2374minimum amount of video RAM for stdvga is 8 MB, which is sufficient for e.g.
23751600x1200 at 32bpp. For the upstream qemu-xen device-model, the default and
2376minimum is 16 MB.
2377
2378When using the emulated Cirrus graphics card (B<vga="cirrus">) and the
2379qemu-xen-traditional device-model, the amount of video RAM is fixed at 4 MB,
2380which is sufficient for 1024x768 at 32 bpp. For the upstream qemu-xen
2381device-model, the default and minimum is 8 MB.
2382
2383For QXL vga, both the default and minimal are 128MB.
2384If B<videoram> is set less than 128MB, an error will be triggered.
2385
2386=item B<stdvga=BOOLEAN>
2387
2388Speficies a standard VGA card with VBE (VESA BIOS Extensions) as the
2389emulated graphics device. If your guest supports VBE 2.0 or
2390later (e.g. Windows XP onwards) then you should enable this.
2391stdvga supports more video ram and bigger resolutions than Cirrus.
2392The default is false (0) which means to emulate
2393a Cirrus Logic GD5446 VGA card.
2394B<This option is deprecated, use vga="stdvga" instead>.
2395
2396=item B<vga="STRING">
2397
2398Selects the emulated video card.
2399Options are: B<none>, B<stdvga>, B<cirrus> and B<qxl>.
2400The default is B<cirrus>.
2401
2402In general, QXL should work with the Spice remote display protocol
2403for acceleration, and a QXL driver is necessary in the guest in that case.
2404QXL can also work with the VNC protocol, but it will be like a standard
2405VGA card without acceleration.
2406
2407=item B<vnc=BOOLEAN>
2408
2409Allow access to the display via the VNC protocol.  This enables the
2410other VNC-related settings.  The default is (1) enabled.
2411
2412=item B<vnclisten="ADDRESS[:DISPLAYNUM]">
2413
2414Specifies the IP address and, optionally, the VNC display number to use.
2415
2416=item B<vncdisplay=DISPLAYNUM>
2417
2418Specifies the VNC display number to use. The actual TCP port number
2419will be DISPLAYNUM+5900.
2420
2421=item B<vncunused=BOOLEAN>
2422
2423Requests that the VNC display setup searches for a free TCP port to use.
2424The actual display used can be accessed with B<xl vncviewer>.
2425
2426=item B<vncpasswd="PASSWORD">
2427
2428Specifies the password for the VNC server. If the password is set to an
2429empty string, authentication on the VNC server will be disabled
2430allowing any user to connect.
2431
2432=item B<keymap="LANG">
2433
2434Configure the keymap to use for the keyboard associated with this
2435display. If the input method does not easily support raw keycodes
2436(e.g. this is often the case when using VNC) then this allows us to
2437correctly map the input keys into keycodes seen by the guest. The
2438specific values which are accepted are defined by the version of the
2439device-model which you are using. See B<Keymaps> below or consult the
2440B<qemu(1)> manpage. The default is B<en-us>.
2441
2442=item B<sdl=BOOLEAN>
2443
2444Specifies that the display should be presented via an X window (using
2445Simple DirectMedia Layer). The default is (0) not enabled.
2446
2447=item B<opengl=BOOLEAN>
2448
2449Enable OpenGL acceleration of the SDL display. Only effects machines
2450using B<device_model_version="qemu-xen-traditional"> and only if the
2451device-model was compiled with OpenGL support. Default is (0) false.
2452
2453=item B<nographic=BOOLEAN>
2454
2455Enable or disable the virtual graphics device.  The default is to
2456provide a VGA graphics device but this option can be used to disable
2457it.
2458
2459=back
2460
2461=head3 Spice Graphics Support
2462
2463The following options control the features of SPICE.
2464
2465=over 4
2466
2467=item B<spice=BOOLEAN>
2468
2469Allow access to the display via the SPICE protocol.  This enables the
2470other SPICE-related settings.
2471
2472=item B<spicehost="ADDRESS">
2473
2474Specifies the interface address to listen on if given, otherwise any
2475interface.
2476
2477=item B<spiceport=NUMBER>
2478
2479Specifies the port to listen on by the SPICE server if SPICE is
2480enabled.
2481
2482=item B<spicetls_port=NUMBER>
2483
2484Specifies the secure port to listen on by the SPICE server if SPICE
2485is enabled. At least one of B<spiceport> or B<spicetls_port> must be
2486given if SPICE is enabled.
2487
2488B<Note:> the options depending on B<spicetls_port>
2489have not been supported.
2490
2491=item B<spicedisable_ticketing=BOOLEAN>
2492
2493Enable clients to connect without specifying a password. When disabled,
2494B<spicepasswd> must be set. The default is (0) false.
2495
2496=item B<spicepasswd="PASSWORD">
2497
2498Specify the password which is used by clients for establishing a connection.
2499
2500=item B<spiceagent_mouse=BOOLEAN>
2501
2502Whether SPICE agent is used for client mouse mode. The default is (1) true.
2503
2504=item B<spicevdagent=BOOLEAN>
2505
2506Enables the SPICE vdagent. The SPICE vdagent is an optional component for
2507enhancing user experience and performing guest-oriented management
2508tasks. Its features include: client mouse mode (no need to grab the mouse
2509by the client, no mouse lag), automatic adjustment of screen resolution,
2510copy and paste (text and image) between the client and the guest. It also
2511requires the vdagent service installed on the guest OS to work.
2512The default is (0) disabled.
2513
2514=item B<spice_clipboard_sharing=BOOLEAN>
2515
2516Enables SPICE clipboard sharing (copy/paste). It requires that
2517B<spicevdagent> is enabled. The default is (0) false.
2518
2519=item B<spiceusbredirection=NUMBER>
2520
2521Enables SPICE USB redirection. Creates a NUMBER of USB redirection channels
2522for redirecting up to 4 USB devices from the SPICE client to the guest's QEMU.
2523It requires an USB controller and, if not defined, it will automatically add
2524an USB2.0 controller. The default is (0) disabled.
2525
2526=item B<spice_image_compression="COMPRESSION">
2527
2528Specifies what image compression is to be used by SPICE (if given), otherwise
2529the QEMU default will be used. Please see the documentation of your QEMU
2530version for more details.
2531
2532Available options are: B<auto_glz, auto_lz, quic, glz, lz, off>.
2533
2534=item B<spice_streaming_video="VIDEO">
2535
2536Specifies what streaming video setting is to be used by SPICE (if given),
2537otherwise the QEMU default will be used.
2538
2539Available options are: B<filter, all, off>.
2540
2541=back
2542
2543=head3 Miscellaneous Emulated Hardware
2544
2545=over 4
2546
2547=item B<serial=[ "DEVICE", "DEVICE", ...]>
2548
2549Redirect virtual serial ports to B<DEVICE>s. Please see the
2550B<-serial> option in the B<qemu(1)> manpage for details of the valid
2551B<DEVICE> options. Default is B<vc> when in graphical mode and
2552B<stdio> if B<nographic=1> is used.
2553
2554The form serial=DEVICE is also accepted for backwards compatibility.
2555
2556=item B<soundhw="DEVICE">
2557
2558Select the virtual sound card to expose to the guest. The valid
2559devices are defined by the device model configuration, please see the
2560B<qemu(1)> manpage for details. The default is not to export any sound
2561device.
2562
2563=item B<vkb_device=BOOLEAN>
2564
2565Specifies that the HVM guest gets a vkdb. The default is true (1).
2566
2567=item B<usb=BOOLEAN>
2568
2569Enables or disables an emulated USB bus in the guest.
2570
2571=item B<usbversion=NUMBER>
2572
2573Specifies the type of an emulated USB bus in the guest, values 1 for USB1.1,
25742 for USB2.0 and 3 for USB3.0. It is available only with an upstream QEMU.
2575Due to implementation limitations this is not compatible with the B<usb>
2576and B<usbdevice> parameters.
2577Default is (0) no USB controller defined.
2578
2579=item B<usbdevice=[ "DEVICE", "DEVICE", ...]>
2580
2581Adds B<DEVICE>s to the emulated USB bus. The USB bus must also be
2582enabled using B<usb=1>. The most common use for this option is
2583B<usbdevice=['tablet']> which adds a pointer device using absolute
2584coordinates. Such devices function better than relative coordinate
2585devices (such as a standard mouse) since many methods of exporting
2586guest graphics (such as VNC) work better in this mode. Note that this
2587is independent of the actual pointer device you are using on the
2588host/client side.
2589
2590Host devices can also be passed through in this way, by specifying
2591host:USBID, where USBID is of the form xxxx:yyyy.  The USBID can
2592typically be found by using B<lsusb(1)> or B<usb-devices(1)>.
2593
2594If you wish to use the "host:bus.addr" format, remove any leading '0' from the
2595bus and addr. For example, for the USB device on bus 008 dev 002, you should
2596write "host:8.2".
2597
2598The form usbdevice=DEVICE is also accepted for backwards compatibility.
2599
2600More valid options can be found in the "usbdevice" section of the QEMU
2601documentation.
2602
2603=item B<vendor_device="VENDOR_DEVICE">
2604
2605Selects which variant of the QEMU xen-pvdevice should be used for this
2606guest. Valid values are:
2607
2608=over 4
2609
2610=item B<none>
2611
2612The xen-pvdevice should be omitted. This is the default.
2613
2614=item B<xenserver>
2615
2616The xenserver variant of the xen-pvdevice (device-id=C000) will be
2617specified, enabling the use of XenServer PV drivers in the guest.
2618
2619=back
2620
2621This parameter only takes effect when device_model_version=qemu-xen.
2622See B<xen-pci-device-reservations(7)> for more information.
2623
2624=back
2625
2626=head2 PVH Guest Specific Options
2627
2628=over 4
2629
2630=item B<nestedhvm=BOOLEAN>
2631
2632Enable or disables guest access to hardware virtualisation features,
2633e.g. it allows a guest Operating System to also function as a hypervisor.
2634You may want this option if you want to run another hypervisor (including
2635another copy of Xen) within a Xen guest or to support a guest Operating
2636System which uses hardware virtualisation extensions (e.g. Windows XP
2637compatibility mode on more modern Windows OS).
2638
2639This option is disabled by default.
2640
2641=item B<bootloader="PROGRAM">
2642
2643Run C<PROGRAM> to find the kernel image and ramdisk to use.  Normally
2644C<PROGRAM> would be C<pygrub>, which is an emulation of
2645grub/grub2/syslinux. Either B<kernel> or B<bootloader> must be specified
2646for PV guests.
2647
2648=item B<bootloader_args=[ "ARG", "ARG", ...]>
2649
2650Append B<ARG>s to the arguments to the B<bootloader>
2651program. Alternatively if the argument is a simple string then it will
2652be split into words at whitespace B<(this second option is deprecated)>.
2653
2654=item B<timer_mode="MODE">
2655
2656Specifies the mode for Virtual Timers. The valid values are as follows:
2657
2658=over 4
2659
2660=item B<delay_for_missed_ticks>
2661
2662Delay for missed ticks. Do not advance a vCPU's time beyond the
2663correct delivery time for interrupts that have been missed due to
2664preemption. Deliver missed interrupts when the vCPU is rescheduled and
2665advance the vCPU's virtual time stepwise for each one.
2666
2667=item B<no_delay_for_missed_ticks>
2668
2669No delay for missed ticks. As above, missed interrupts are delivered,
2670but guest time always tracks wallclock (i.e., real) time while doing
2671so. This is the default.
2672
2673=item B<no_missed_ticks_pending>
2674
2675No missed interrupts are held pending. Instead, to ensure ticks are
2676delivered at some non-zero rate, if we detect missed ticks then the
2677internal tick alarm is not disabled if the vCPU is preempted during
2678the next tick period.
2679
2680=item B<one_missed_tick_pending>
2681
2682One missed tick pending. Missed interrupts are collapsed
2683together and delivered as one 'late tick'.  Guest time always tracks
2684wallclock (i.e., real) time.
2685
2686=back
2687
2688=back
2689
2690=head3 Paging
2691
2692The following options control the mechanisms used to virtualise guest
2693memory.  The defaults are selected to give the best results for the
2694common cases so you should normally leave these options
2695unspecified.
2696
2697=over 4
2698
2699=item B<hap=BOOLEAN>
2700
2701Turns "hardware assisted paging" (the use of the hardware nested page
2702table feature) on or off.  This feature is called EPT (Extended Page
2703Tables) by Intel and NPT (Nested Page Tables) or RVI (Rapid
2704Virtualisation Indexing) by AMD. If turned
2705off, Xen will run the guest in "shadow page table" mode where the
2706guest's page table updates and/or TLB flushes etc. will be emulated.
2707Use of HAP is the default when available.
2708
2709=item B<oos=BOOLEAN>
2710
2711Turns "out of sync pagetables" on or off.  When running in shadow page
2712table mode, the guest's page table updates may be deferred as
2713specified in the Intel/AMD architecture manuals.  However, this may
2714expose unexpected bugs in the guest, or find bugs in Xen, so it is
2715possible to disable this feature.  Use of out of sync page tables,
2716when Xen thinks it appropriate, is the default.
2717
2718=item B<shadow_memory=MBYTES>
2719
2720Number of megabytes to set aside for shadowing guest pagetable pages
2721(effectively acting as a cache of translated pages) or to use for HAP
2722state. By default this is 1MB per guest vCPU plus 8KB per MB of guest
2723RAM. You should not normally need to adjust this value. However, if you
2724are not using hardware assisted paging (i.e. you are using shadow
2725mode) and your guest workload consists of a very large number of
2726similar processes then increasing this value may improve performance.
2727
2728=back
2729
2730=head2 Device-Model Options
2731
2732The following options control the selection of the device-model.  This
2733is the component which provides emulation of the virtual devices to an
2734HVM guest.  For a PV guest a device-model is sometimes used to provide
2735backends for certain PV devices (most usually a virtual framebuffer
2736device).
2737
2738=over 4
2739
2740=item B<device_model_version="DEVICE-MODEL">
2741
2742Selects which variant of the device-model should be used for this
2743guest.
2744
2745Valid values are:
2746
2747=over 4
2748
2749=item B<qemu-xen>
2750
2751Use the device-model merged into the upstream QEMU project.
2752This device-model is the default for Linux dom0.
2753
2754=item B<qemu-xen-traditional>
2755
2756Use the device-model based upon the historical Xen fork of QEMU.
2757This device-model is still the default for NetBSD dom0.
2758
2759=back
2760
2761It is recommended to accept the default value for new guests.  If
2762you have existing guests then, depending on the nature of the guest
2763Operating System, you may wish to force them to use the device
2764model which they were installed with.
2765
2766=item B<device_model_override="PATH">
2767
2768Override the path to the binary to be used as the device-model running in
2769toolstack domain. The binary provided here MUST be consistent with the
2770B<device_model_version> which you have specified. You should not normally need
2771to specify this option.
2772
2773=item B<stubdomain_kernel="PATH">
2774
2775Override the path to the kernel image used as device-model stubdomain.
2776The binary provided here MUST be consistent with the
2777B<device_model_version> which you have specified.
2778In case of B<qemu-xen-traditional> it is expected to be MiniOS-based stubdomain
2779image, in case of B<qemu-xen> it is expected to be Linux-based stubdomain
2780kernel.
2781
2782=item B<stubdomain_ramdisk="PATH">
2783
2784Override the path to the ramdisk image used as device-model stubdomain.
2785The binary provided here is to be used by a kernel pointed by B<stubdomain_kernel>.
2786It is known to be used only by Linux-based stubdomain kernel.
2787
2788=item B<stubdomain_memory=MBYTES>
2789
2790Start the stubdomain with MBYTES megabytes of RAM. Default is 128.
2791
2792=item B<device_model_stubdomain_override=BOOLEAN>
2793
2794Override the use of stubdomain based device-model.  Normally this will
2795be automatically selected based upon the other features and options
2796you have selected.
2797
2798=item B<device_model_stubdomain_seclabel="LABEL">
2799
2800Assign an XSM security label to the device-model stubdomain.
2801
2802=item B<device_model_args=[ "ARG", "ARG", ...]>
2803
2804Pass additional arbitrary options on the device-model command
2805line. Each element in the list is passed as an option to the
2806device-model.
2807
2808=item B<device_model_args_pv=[ "ARG", "ARG", ...]>
2809
2810Pass additional arbitrary options on the device-model command line for
2811a PV device model only. Each element in the list is passed as an
2812option to the device-model.
2813
2814=item B<device_model_args_hvm=[ "ARG", "ARG", ...]>
2815
2816Pass additional arbitrary options on the device-model command line for
2817an HVM device model only. Each element in the list is passed as an
2818option to the device-model.
2819
2820=back
2821
2822=head2 Keymaps
2823
2824The keymaps available are defined by the device-model which you are
2825using. Commonly this includes:
2826
2827        ar  de-ch  es  fo     fr-ca  hu  ja  mk     no  pt-br  sv
2828        da  en-gb  et  fr     fr-ch  is  lt  nl     pl  ru     th
2829        de  en-us  fi  fr-be  hr     it  lv  nl-be  pt  sl     tr
2830
2831The default is B<en-us>.
2832
2833See B<qemu(1)> for more information.
2834
2835=head2 Architecture Specific options
2836
2837=head3 ARM
2838
2839=over 4
2840
2841=item B<gic_version="vN">
2842
2843Version of the GIC emulated for the guest.
2844
2845Currently, the following versions are supported:
2846
2847=over 4
2848
2849=item B<v2>
2850
2851Emulate a GICv2
2852
2853=item B<v3>
2854
2855Emulate a GICv3. Note that the emulated GIC does not support the
2856GICv2 compatibility mode.
2857
2858=item B<default>
2859
2860Emulate the same version as the native GIC hardware used by the host where
2861the domain was created.
2862
2863=back
2864
2865This requires hardware compatibility with the requested version, either
2866natively or via hardware backwards compatibility support.
2867
2868=item B<vuart="uart">
2869
2870To enable vuart console, user must specify the following option in the
2871VM config file:
2872
2873vuart = "sbsa_uart"
2874
2875Currently, only the "sbsa_uart" model is supported for ARM.
2876
2877=back
2878
2879=head3 x86
2880
2881=over 4
2882
2883=item B<mca_caps=[ "CAP", "CAP", ... ]>
2884
2885(HVM only) Enable MCA capabilities besides default ones enabled
2886by Xen hypervisor for the HVM domain. "CAP" can be one in the
2887following list:
2888
2889=over 4
2890
2891=item B<"lmce">
2892
2893Intel local MCE
2894
2895=item B<default>
2896
2897No MCA capabilities in above list are enabled.
2898
2899=back
2900
2901=back
2902
2903=head1 SEE ALSO
2904
2905=over 4
2906
2907=item L<xl(1)>
2908
2909=item L<xl.conf(5)>
2910
2911=item L<xlcpupool.cfg(5)>
2912
2913=item L<xl-disk-configuration(5)>
2914
2915=item L<xl-network-configuration(5)>
2916
2917=item L<xen-tscmode(7)>
2918
2919=back
2920
2921=head1 FILES
2922
2923F</etc/xen/NAME.cfg>
2924F<@XEN_DUMP_DIR@/NAME>
2925
2926=head1 BUGS
2927
2928This document may contain items which require further
2929documentation. Patches to improve incomplete items (or any other item)
2930are gratefully received on the xen-devel@lists.xenproject.org mailing
2931list. Please see L<https://wiki.xenproject.org/wiki/Submitting_Xen_Project_Patches> for
2932information on how to submit a patch to Xen.
2933
2934