| Summary: | qemu hangs while running oe-selftest | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Anuj Mittal <anuj.mittal> | ||||||
| Component: | virtual machines | Assignee: | Anuj Mittal <anuj.mittal> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | aaron.chun.yew.chan, anuj.mittal, joshuagloe, juro.bystricky, randy.macleod | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.5 M3 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
|
Description
Anuj Mittal
2018-01-24 09:54:40 UTC
Created attachment 4185 [details]
qemu boot log, failing case
Definitely an issue with nested KVM. Happens when a SIGTERM is sent to VM started by oe-selftest using kvm. I can't reproduce this when running on a physical machine. A workaround could be to check cpuinfo flags in runqemu (check for hypervisor flag) to see if we're running a nested KVM and not use -enable-kvm. (In reply to comment #2) > Definitely an issue with nested KVM. Happens when a SIGTERM is sent to VM > started by oe-selftest using kvm. I can't reproduce this when running on a > physical machine. Good progress. This sounds like it would be enough information already to start filing a bug with upstream and get some of the KVM maintainers to look at the issue? > A workaround could be to check cpuinfo flags in runqemu (check for > hypervisor flag) to see if we're running a nested KVM and not use > -enable-kvm. That would work certainly around the crash issue. Unfortunately that will cost us in performance and thus QA execution time. In the longer term we really need to have this fixed upstream. This is no longer reproducible after upgrading the L0 host to 4.14. Upgrading hosts to 4.14 works. |