On 09/04/12 16:36, Sheng SL Liu wrote: > From: Liu Sheng <liush...@cn.ibm.com> > Adding a configurtion item for ppc64 platform to support autotest running on > ppc64 machine. > > signed-off-by: Liu Sheng > --- > client/virt/guest-os.cfg.sample | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/client/virt/guest-os.cfg.sample > b/client/virt/guest-os.cfg.sample > index b895592..6e1e781 100644 > --- a/client/virt/guest-os.cfg.sample > +++ b/client/virt/guest-os.cfg.sample > @@ -389,6 +389,21 @@ variants: > md5sum_cd1 = bb38ea1fe4b2fc69e7a6e15cf1c69c91 > md5sum_1m_cd1 = e25ea147176f24239d38a46f501bd25e > > + - 16.ppc64: > + image_name = f16-ppc64 > + extra_params += " -M pseries -enable-kvm "
I posted a patch to add a function(add_machine_type()), then we can config machine type in config file. It's better than using extra_params. http://test.kernel.org/pipermail/autotest/2012-April/010204.html "-enable-kvm" should not be added here, user can control it in tests.cfg > + unattended_install: > + unattended_file = unattended/Fedora-16.ks > + #floppy = images/f16-64/ks.vfd > + cdrom_unattended = images/f16-64/ks.iso ^^^^^^ it's repeated with the directory of F16.64 how about this ? cdrom_unattended = images/f16-PPC64/ks.iso > + kernel = images/f16-64/vmlinuz > + initrd = images/f16-64/initrd.img > + unattended_install.cdrom: > + boot_path = ppc/ppc64 > + cdrom_cd1 = isos/linux/Fedora-16-ppc64-DVD.iso > + md5sum_cd1 = ffc0674f87e4f7e5739605dc80f4ffce > + md5sum_1m_cd1 = 23be25f6a04a78f6dc7cb6ad9e691988 > + kernel_cmdline = "root=live:CDLABEL=Fedora-16-ppc64 ks=cdrom:/ks.cfg > console=hvc0 serial rd_NO_PLYMOUTH" > > - RHEL: > no setup -- Amos. _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest