Displaying 2 results from an estimated 2 matches for "kernel_is_good".
2016 May 27
2
Re: supermin init segfaults when kernel has large modules
Continuing the discussion from:
https://bugzilla.redhat.com/show_bug.cgi?id=1339691#c17
[Luiz: There's no need to subscribe to the mailing list, once I've
moderated your first message the others will go through.]
> IMO, supermin should use the kernel the host is running as a hint and
> try that one first. This shouldn't be hard to do.
>
> This BZ should be enough evidence
2016 May 27
0
Re: supermin init segfaults when kernel has large modules
...tough problem, but we could do better than we are doing now.
Yeah, it's tougher than I thought. What I want is to give users the
best possible experience with libguestfs. I don't want to add problems
to working code.
Here's one idea in a horrible pseudo-language I have just invented:
kernel_is_good()
{
if (required drivers in /lib/modules)
return true;
/* kernel configured without modules? */
if (required drivers in config file)
return true;
return false;
}
for each kernel in running-kernel highest-numbered next-highest-numbered
if (kernel_is_good $kernel)...