From Fedora Project Wiki

 
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:
+
* Inside the rawhide domU, edit /boot/grub/grub.conf.  Add a new, non-default entry for testing, something like:
 
<pre>
 
<pre>
title Fedora testing (2.6.27.21-170.2.56.fc10.i686)
+
title Fedora testing (2.6.31-2.fc12.i686)
 
root (hd0,0)
 
root (hd0,0)
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/HostGroup/LogVol00 mem=700M
+
kernel /vmlinuz-2.6.31-2.fc12.i686 ro root=/dev/HostGroup/LogVol00 mem=700M
initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img
+
initrd /initrd-2.6.31-2.fc12.i686.img
 
</pre>
 
</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.
 
* 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.

Latest revision as of 15:00, 15 September 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 rawhide domU, edit /boot/grub/grub.conf. Add a new, non-default entry for testing, something like:
title Fedora testing (2.6.31-2.fc12.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.31-2.fc12.i686 ro root=/dev/HostGroup/LogVol00 mem=700M
	initrd /initrd-2.6.31-2.fc12.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

  1. 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.
  2. (32-bit guests only) When booting with the highmem= parameter, the guest should not use more than 200M of high memory.