Skip to content

qemu-x86_64: `ret == cpu->kvm_msr_buf->nmsrs' failed. #35

@wintron04

Description

@wintron04

This happens sometimes when trying to run Qemu in a VM.

It's known to happen for native x86_64 builds utilizing boxbuild (hence qemu).

There is a quick fix available:
The --cpu parameter allows to set a processor for qemu and in particular setting it to Broadwell-v2 will fix this issue on Ubuntu x86_64

Potential identified problem:
https://github.com/OSInside/kiwi-boxed-plugin/blob/master/kiwi_boxed_plugin/box_build.py
Line 237
Kiwi here calls qemu and no error handling of a failed qemu process is implemented...
Somehow we have to detect this problem and fix it accordingly

TODO:

  • Automatically detect this known issue and append the --cpu parameter if necessary

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions