mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 13:37:10 +00:00
acrn-config: specify kernel boot argument 'reboot=acpi' for pre-launched VMs
Add the 'reboot=acpi' kernel boot argument for pre-launched VMs Add the code to sanity check if 'reboot=acpi' is specified in the scenario files If hardware reduced ACPI is detected, by default, Linux will set the reboot type to use EFI for rebooting. "reboot=acpi" sets the reboot type to use ACPI for rebooting. Tracked-On: #5411 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
This commit is contained in:
parent
9491c2e0e5
commit
0b217dd3d1
@ -445,7 +445,14 @@ def main(args):
|
||||
except:
|
||||
PASSTHROUGH_PTCT = False
|
||||
|
||||
kern_args = common.get_leaf_tag_map(scenario, "os_config", "bootargs")
|
||||
for vm_id, passthru_devices in dict_passthru_devices.items():
|
||||
if kern_args[int(vm_id)].find('reboot=acpi') == -1:
|
||||
emsg = "you need to specify 'reboot=acpi' in scenario file's bootargs for VM{}".format(vm_id)
|
||||
print(emsg)
|
||||
err_dic['vm,bootargs'] = emsg
|
||||
break
|
||||
|
||||
print('start to generate ACPI ASL code for VM{}'.format(vm_id))
|
||||
dest_vm_acpi_path = os.path.join(DEST_ACPI_PATH, 'VM'+vm_id)
|
||||
if not os.path.isdir(dest_vm_acpi_path):
|
||||
|
@ -214,7 +214,8 @@ def main(args):
|
||||
|
||||
|
||||
# generate ASL code of ACPI tables for Pre-launched VMs
|
||||
asl_gen.main(args)
|
||||
if not err_dic:
|
||||
err_dic = asl_gen.main(args)
|
||||
|
||||
if not err_dic:
|
||||
print("Scenario configuration files were created successfully.")
|
||||
|
@ -86,7 +86,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -89,7 +89,8 @@
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw root=/dev/mmcblk1p1 rootwait console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
rw root=/dev/mmcblk1p1 rootwait console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -151,7 +152,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -89,6 +89,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -148,7 +149,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -86,7 +86,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -91,6 +91,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -152,7 +153,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -86,7 +86,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/nvme0n1p3 earlyprintk=serial,ttyS0,115200 console=ttyS0,115200n8 log_buf_len=2M ignore_loglevel noxsave nohpet no_timer_check tsc=reliable</bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/nvme0n1p3 earlyprintk=serial,ttyS0,115200 console=ttyS0,115200n8 log_buf_len=2M ignore_loglevel noxsave nohpet no_timer_check tsc=reliable reboot=acpi</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -99,7 +99,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -97,7 +97,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable</bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable reboot=acpi</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -96,7 +96,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable</bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable reboot=acpi</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -98,7 +98,7 @@
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -160,7 +160,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -86,7 +86,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -90,7 +90,7 @@
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -152,7 +152,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -82,7 +82,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -87,6 +87,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -149,7 +150,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -82,7 +82,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -87,7 +87,8 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 earlyprintk=serial,ttyS0,115200 console=ttyS0,115200n8 log_buf_len=2M ignore_loglevel noxsave nohpet no_timer_check tsc=reliable</bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 earlyprintk=serial,ttyS0,115200 console=ttyS0,115200n8 log_buf_len=2M
|
||||
ignore_loglevel noxsave nohpet no_timer_check tsc=reliable reboot=acpi</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -86,7 +86,7 @@
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -148,7 +148,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -82,7 +82,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -84,7 +84,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable</bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable reboot=acpi</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -87,6 +87,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -148,7 +149,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
@ -82,7 +82,7 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_ZEPHYR</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Zephyr_RawImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">reboot=acpi</bootargs>
|
||||
<kern_load_addr desc="The loading address in host memory for the VM kernel">0x8000</kern_load_addr>
|
||||
<kern_entry_addr desc="The entry address in host memory for the VM kernel">0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
|
@ -84,7 +84,9 @@
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable</bootargs>
|
||||
<bootargs desc="Specify kernel boot arguments">rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable
|
||||
reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -86,7 +86,7 @@
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
@ -148,7 +148,7 @@
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
consoleblank=0 tsc=reliable reboot=acpi
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
|
Loading…
Reference in New Issue
Block a user