Difference between revisions of "XenBooting"

From Xen
(Created page (but needs to be merged))
 
(Only keep options that are NOT in XenHypervisorBootOptions)
Line 16: Line 16:
 
| Description
 
| Description
 
|-
 
|-
  +
|'''ignorebiostables'''
|<code><nowiki>|dom0_mem=131072</nowiki></code>
 
| Initial domain 0 memory allocation in kBytes
 
|-
 
|<code><nowiki>|mem=131072</nowiki></code>
 
| Set the physical RAM address limit. (beyond is ignored)
 
|-
 
|<code><nowiki>|dom0_vcpus_pin</nowiki></code>
 
| Pins domain 0 VCPUs on their respective
 
|-
 
|<code><nowiki>|com1=115200,8n1</nowiki></code> <code><nowiki>com2=</nowiki></code>
 
| Serial console details for Xen (Linux will need its own serial console configuration if required). Format is <baud>,DPS,<io-base>,<irq>.
 
|-
 
|<code><nowiki>|console=com1</nowiki></code>
 
| Comma-separated list of console outputs (see also [[#xencons|xencons=]])
 
|-
 
|<code><nowiki>|sync_console</nowiki></code>
 
| Force synchronous console output.
 
|-
 
|<code><nowiki>|vga=text-80x50</nowiki></code>
 
| ''VGA'' console mode and options
 
|-
 
|<code><nowiki>|conswitch</nowiki></code>
 
| Specify how to switch serial-console input between Xen and DOM0.
 
| Ctrl-A ''three times''
 
|-
 
|<code><nowiki>|noacpi</nowiki></code>
 
| ACPI tables are not parsed
 
|-
 
| '''<code><nowiki>noreboot</nowiki></code>'''
 
| Don't reboot the machine automatically on errors.
 
|-
 
|<code><nowiki>|nosmp</nowiki></code>
 
| Disables secondary processors
 
|-
 
|<code><nowiki>|ignorebiostables</nowiki></code>
 
 
| ACPI and MP tables are ignored (implies noacpi, nosmp)
 
| ACPI and MP tables are ignored (implies noacpi, nosmp)
 
|-
 
|-
  +
|'''physdev_dom0_hide=xxx'''
|<code><nowiki>|watchdog</nowiki></code>
 
| Run a watchdog NMI on each processor
 
|-
 
|<code><nowiki>|physdev_dom0_hide=</nowiki></code>
 
 
| List of PCI slots to hide from domain 0, Format is '(%02x:%02x.%1x)(%02x:%02x.%1x)' and so on.
 
| List of PCI slots to hide from domain 0, Format is '(%02x:%02x.%1x)(%02x:%02x.%1x)' and so on.
 
|-
 
|-
  +
|'''noirqbalance'''
|<code><nowiki>|badpage=</nowiki></code>
 
| Comma-separated list of hexadecimal page numbers containing bad bytes. e.g. 'badpage=0x3f45,0x8a321'
 
|-
 
|<code><nowiki>|sched=bvt</nowiki></code>
 
| Scheduler - see Users' Manual
 
|-
 
|<code><nowiki>|leveltrigger=</nowiki></code>
 
| Force an IO-APIC-routed IRQ to be level-triggered. Example: 'leveltrigger=4,5,6,20 edgetrigger=21'
 
|-
 
|<code><nowiki>|edgetrigger=</nowiki></code>
 
| Force an IO-APIC-routed IRQ to be edge-triggered. Example: 'leveltrigger=4,5,6,20 edgetrigger=21'
 
|-
 
|<code><nowiki>|nmi=</nowiki></code>
 
| One of: <code><nowiki>fatal</nowiki></code>: Xen prints diagnostic message and then hangs. <code><nowiki>dom0</nowiki></code>: The NMI is virtualised to DOM0. <code><nowiki>ignore</nowiki></code>: The NMI error is cleared and ignored.
 
|-
 
|<code><nowiki>|pbd=</nowiki></code>
 
| Name of serial port for Xen pervasive debugger (and enable pdb)
 
|-
 
|<code><nowiki>|conswitch=a</nowiki></code>
 
| A character pair controlling console switching. CTRL+<char1> is used to switch console input between Xen and DOM0. Char 2: If this character is 'x', then do not auto-switch to DOM0 when it boots. Any other value, or omitting the char, enables auto-switch
 
|-
 
|<code><nowiki>|tbuf_size=</nowiki></code>
 
| Trace buffer size (in pages)
 
|-
 
|<code><nowiki>|xenheap_megabytes=</nowiki></code>
 
| x86-64 only. Size of Xen heap in megabytes, excluding the pfn_info table and allocation bitmap
 
|-
 
|<code><nowiki>|noirqbalance</nowiki></code>
 
 
| Disable software IRQ balancing and affinity.
 
| Disable software IRQ balancing and affinity.
 
|-
 
|-
  +
|'''apic'''
|<code><nowiki>|apic_verbosity</nowiki></code>
 
| Print more detailed information about local APIC and IOAPIC
 
|-
 
|<code><nowiki>|lapic</nowiki></code> / <code><nowiki>nolapic</nowiki></code>
 
| Force / Ignore use of local APIC
 
|-
 
|<code><nowiki>|apic</nowiki></code>
 
 
| Specify NUMA platform...
 
| Specify NUMA platform...
 
|-
 
|-
  +
|'''noht'''
|-
 
|<code><nowiki>|noht</nowiki></code>
 
 
| Disables Hyper-Threading
 
| Disables Hyper-Threading
 
|}
 
|}

Revision as of 12:45, 4 December 2011


Icon todo.png To Do:

Merge with XenHypervisorBootOptions


Xen systems are typically booted with GrUB. The GrUB "kernel" is Xen itself. The kernel image for domain 0 is given to grub as the first "module". An initrd for domain 0, if required, is specified as a further module. A number of options can be passed to Xen on the command line.

/!\ For an up-to-date list see the user manual. Options available on version 3.0 are (with examples for common options):
Parameter Description
ignorebiostables ACPI and MP tables are ignored (implies noacpi, nosmp)
physdev_dom0_hide=xxx List of PCI slots to hide from domain 0, Format is '(%02x:%02x.%1x)(%02x:%02x.%1x)' and so on.
noirqbalance Disable software IRQ balancing and affinity.
apic Specify NUMA platform...
noht Disables Hyper-Threading

XenLinux Boot Options :

In addition to the standard Linux kernel boot options, we support: