[OE-core] [PATCH] scripts/runqemu: when qemu fails to start with kvm retry with kvm disabled

Joshua Lock joshua.g.lock at linux.intel.com
Fri Nov 3 15:46:31 UTC 2017



On 03/11/17 15:18, akuster808 wrote:
> Joshua,
> 
> 
> On 11/03/2017 02:11 AM, Joshua Lock wrote:
>> On the Yocto Project Autobuilder we occasionally see qemu fail to start,
>> most frequently on Fedora 25, because kvm fails to allocate memory. See:
>>
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=12058
>>
>> This patch introduces a fallback path where if the inital qemu command fails
>> and kvm is enabled we retry running qemu with the kvm related options
>> removed from the qemu command line.
> 
> I will backport once this lands in master.
> thanks,

I don't think it will make it. It complicates the code for a relatively 
rare edge case.

To avoid this on Yocto Autobuilder we're going to drop Fedora 25 from 
the clusters.

Joshua



More information about the Openembedded-core mailing list