On Fri, Jan 5, 2018 at 9:27 PM, Joseph Salisbury
<email address hidden> wrote:
> I'm able to install a kernel using kvm:
> kvm -m 512 -hda ./autopkgtest-artful-i386.img
If that works for you fine.
> Is there a way to modify the autopkgtest command line to tell it which
> kernel to boot? When I have multiple test kernels installed, I usually
> just select them from the GRUB menu. What would be the equivalent here?
I must admit, for automated tests I set the one to test as the default
booted kernel.
If you really want to bisect you might want to go a step further.
The tool to drive via qmeu is "autopkgtest-virt-qemu" and it has
"--qemu-options=".
That said (I never tried) you should be able to build (e.g. by bisect)
a valid kernel outside (make sure that it has all modules in a way to
work without having the kernel actually installed).
Via that you could use qemu options:
-kernel
-initrd
-append
as needed.
Once set up in a way to work you could really bisect through that.
OTOH that might be just as much work as installing them manually a few
times - so your choice what you prefer.
On Fri, Jan 5, 2018 at 9:27 PM, Joseph Salisbury artful- i386.img
<email address hidden> wrote:
> I'm able to install a kernel using kvm:
> kvm -m 512 -hda ./autopkgtest-
If that works for you fine.
> Is there a way to modify the autopkgtest command line to tell it which
> kernel to boot? When I have multiple test kernels installed, I usually
> just select them from the GRUB menu. What would be the equivalent here?
I must admit, for automated tests I set the one to test as the default
booted kernel.
If you really want to bisect you might want to go a step further. virt-qemu" and it has
The tool to drive via qmeu is "autopkgtest-
"--qemu-options=".
That said (I never tried) you should be able to build (e.g. by bisect)
a valid kernel outside (make sure that it has all modules in a way to
work without having the kernel actually installed).
Via that you could use qemu options:
-kernel
-initrd
-append
as needed.
Once set up in a way to work you could really bisect through that.
OTOH that might be just as much work as installing them manually a few
times - so your choice what you prefer.