pmem / run_qemu

A script to create bootable OS images, and run qemu with a locally built kernel.
Creative Commons Zero v1.0 Universal
58 stars 22 forks source link

run_qemu.sh: use host CPU capability to avoid guest boot failed issue #53

Closed xupengfe closed 2 months ago

xupengfe commented 2 months ago

Use host CPU capability to avoid guest boot failed issue: Fatal glibc error: CPU does not support x86-64-v2

stellarhopper commented 2 months ago

@xupengfe This looks okay though instead of putting this in setup_cxl(), I think we can just make it global (i.e. in prepare_qcmd()) - what do you think?

xupengfe commented 2 months ago

Hi @stellarhopper,

Yes, putting this to prepare_qcmd() is better. I have improved it and done.

Thank you!