From Fedora Project Wiki
(stub out this page) |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test case verifies that various Xen DomU specific kernel command line parameters work correctly in Fedora guests. | |description=This test case verifies that various Xen DomU specific kernel command line parameters work correctly in Fedora guests. | ||
|actions= | |actions= | ||
* Inside the F-11 domU, edit /boot/grub/grub.conf. Add a new, non-default entry for testing, something like: | |||
<pre> | |||
title Fedora testing (2.6.27.21-170.2.56.fc10.i686) | |||
root (hd0,0) | |||
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/HostGroup/LogVol00 mem=700M | |||
initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img | |||
</pre> | |||
* Shut down the guest. Start the guest again, and choose "Fedora testing" boot entry. The guest should boot with 700M of memory, instead of the default. | |||
* (32-bit guests only) Inside the guest, edit /boot/grub/grub.conf again, and edit the "testing" to have "highmem=200M" as well. Shut down the guest, start it again, and choose the "Fedora testing" boot entry again. | |||
|results= | |results= | ||
# | # When booting with the mem= parameter, the guest should boot with 700M of memory, and return the difference between the mem= parameter and the configured memory to the hypervisor. | ||
# (32-bit guests only) When booting with the highmem= parameter, the guest should not use more than 200M of high memory. | |||
}} | }} | ||
[[Category:Virtualization XenDomU Test Cases|Cmdline]] | [[Category:Virtualization XenDomU Test Cases|Cmdline]] |
Revision as of 13:48, 4 May 2009
Description
This test case verifies that various Xen DomU specific kernel command line parameters work correctly in Fedora guests.
How to test
- Inside the F-11 domU, edit /boot/grub/grub.conf. Add a new, non-default entry for testing, something like:
title Fedora testing (2.6.27.21-170.2.56.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/HostGroup/LogVol00 mem=700M initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img
- Shut down the guest. Start the guest again, and choose "Fedora testing" boot entry. The guest should boot with 700M of memory, instead of the default.
- (32-bit guests only) Inside the guest, edit /boot/grub/grub.conf again, and edit the "testing" to have "highmem=200M" as well. Shut down the guest, start it again, and choose the "Fedora testing" boot entry again.
Expected Results
- When booting with the mem= parameter, the guest should boot with 700M of memory, and return the difference between the mem= parameter and the configured memory to the hypervisor.
- (32-bit guests only) When booting with the highmem= parameter, the guest should not use more than 200M of high memory.