----- Original Message ----- > Hi Amos, > > > I'm new to kvm autotest, I downloaded the autotest.I find it can test > kvm from iso file.
Welcome. > Now, I have a kernel and rootfs image and can boot it with below cmd > #qemu-kvm -nographic -net nic,model=e1000 -hda ./rootfs.img -kernel > ./kernel.guest -append "root=/dev/sda rw console=ttyS0,115200" > > > but how I can use kvm autotest client to boot it and test it when I > already have the kernel and rootfs ? Sure. > ie: kernel is "kernel.guest", rootfs is "root.image" , kernel > parameter is "root=/dev/sda rw console=ttyS0,115200" You need to assign related parameters to kvm-autotest config file. client/tests/kvm/tests.cfg: .... # execute boot subtest only boot # -kernel ... kernel = ./kernel.guest image_name = ./root.image # add append options to qemu cmdline extra_params += " -append 'root=/dev/sda rw console=ttyS0,115200'" config file format: https://github.com/autotest/autotest/wiki/CartesianConfig If you don't know how to execute kvm subtest, please read: https://github.com/autotest/autotest/wiki/ClientQuickStart > Can you point some thing to me,thanks in advance > > > Seeb > > _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
