Re: [PATCH 5/6] kvm-xfstests: add initrd support
From: Theodore Ts'o <tytso@mit.edu>
Date: 2016-08-20 22:35:46
On Fri, Aug 19, 2016 at 12:54:10AM +0400, Dmitry Monakhov wrote:
Sometimes it is important to run kernel which was build with modules, so the only way to do this it to pass initrd parameter. Example: # Run test on official FC24 kernel #wget https://mirror.yandex.ru/fedora/linux/releases/24/Server/x86_64/os/images/pxeboot/initrd.img #wget https://mirror.yandex.ru/fedora/linux/releases/24/Server/x86_64/os/images/pxeboot/vmlinuz #kvm-xfstests.sh --kernel vmlinuz --initrd initrd.img generic/013 Signed-off-by: Dmitry Monakhov <redacted>
OK, applied with some slight modifications so that --initrd is only accepted for kvm-xfstests. BTW, I tried using the Fedora 24 kernel, and there's something wonky with the serial console. It looks like every other character which is typed is getting eaten. I suppose it's good to be able to test with random distribution kernels with initrds, but there may be weird compatibility issues with different distro's initrds, so I am a bit worried that this might be a bit of a support headache in the long term. - Ted