We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu版本 7.2.13
make传入-smp "4",但在am/src/x86/qemu/trm.c的__am_lapic_init()最后只能识别到1个
-smp "4"
am/src/x86/qemu/trm.c
__am_lapic_init()
如果把qemu.mk中的-smp "$(smp)"改为-smp "$(smp),sockets=$(smp),cores=1"好像可以解决问题
qemu.mk
-smp "$(smp)"
-smp "$(smp),sockets=$(smp),cores=1"
qemu的文档中说
For example, the following option defines a machine board with 2 sockets of 1 core before 6.2 and 1 socket of 2 cores after 6.2: -smp 2
The text was updated successfully, but these errors were encountered:
当时向jyy老师提出这个问题后的回复:
哈哈哈。我在梦中fix了吗。我记得我fix过一次(至少我100%确定我上课demo的时候代码修复了),在新版本QEMU里不能直接-smp了。 这个就留给同学们自己发现 :) 群里也有过讨论哈。
哈哈哈。我在梦中fix了吗。我记得我fix过一次(至少我100%确定我上课demo的时候代码修复了),在新版本QEMU里不能直接-smp了。
这个就留给同学们自己发现 :) 群里也有过讨论哈。
Sorry, something went wrong.
No branches or pull requests
qemu版本 7.2.13
make传入
-smp "4"
,但在am/src/x86/qemu/trm.c
的__am_lapic_init()
最后只能识别到1个如果把
qemu.mk
中的-smp "$(smp)"
改为-smp "$(smp),sockets=$(smp),cores=1"
好像可以解决问题qemu的文档中说
The text was updated successfully, but these errors were encountered: