Difference between revisions of "XenBooting"

From Xen
(Created page (but needs to be merged))
 
m (Removed one level of redirection)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
  +
#REDIRECT [[Xen Hypervisor Boot Options]]
<!-- MoinMoin name: XenBooting -->
 
<!-- Comment: update for 3.0 -->
 
<!-- WikiMedia name: XenBooting -->
 
<!-- Page revision: 00000003 -->
 
<!-- Original date: Thu Dec 20 07:29:34 2007 (1198135774000000) -->
 
 
{{TODO|Merge with [[XenHypervisorBootOptions]]}}
 
 
__NOTOC__
 
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 [http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/user.html#s:xboot user manual]. Options available on version 3.0 are (with examples for common options):
 
 
{| border="1" cellpadding="2" cellspacing="0"
 
| '''Parameter'''
 
| Description
 
|-
 
|<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)
 
|-
 
|<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.
 
|-
 
|<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.
 
|-
 
|<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...
 
|-
 
|-
 
|<code><nowiki>|noht</nowiki></code>
 
| Disables Hyper-Threading
 
|}
 
 
=== [[XenLinux]] Boot Options : ===
 
''In addition to the standard <u>Linux kernel</u> boot options, we support:''
 
<span id="xencons"></span>
 
* `xencons=tty' :: Read http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/user.html 's [[XenLinux]] Boot Options
 
 
[[Category:Xen]]
 
[[Category:Users]]
 
[[Category:Beginners]]
 
[[Category:HowTo]]
 

Latest revision as of 17:22, 5 December 2011