-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs/linux: updated setup_ubuntu-host_qemu-vm_x86-64-kernel.md #2530
New issue
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
base: master
Are you sure you want to change the base?
Conversation
'make kvmconfig' will be removed after Linux 5.10, Please use 'make kvm_guest.config' instead.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
| # After Linux kernel v5.10 | ||
| make CC="$GCC/bin/gcc" defconfig | ||
| make CC="$GCC/bin/gcc" kvm_guest.config | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would do:
cd $KERNEL
make CC="$GCC/bin/gcc" defconfig
# Before Linux kernel v5.10:
make CC="$GCC/bin/gcc" kvmconfig
# After Linux kernel v5.10:
make CC="$GCC/bin/gcc" kvm_guest.configThis way there's less duplication, and it's clearer to which lines the comments relate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely, thx :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can do just kvm_guest.config? It's pretty old, I see it referenced at least in (so probably older):
commit de4619937229378e81f95e99c9866acc8e207d34
Date: Fri Mar 13 15:21:38 2015 +0900
kbuild: mergeconfig: fix "jobserver unavailable" warning
``
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I can't check commit de4619937229378e81f95e99c9866acc8e207d34.
I think it works in most cases:
I would do:
cd $KERNEL make CC="$GCC/bin/gcc" defconfig # Before Linux kernel v5.10: make CC="$GCC/bin/gcc" kvmconfig # After Linux kernel v5.10: make CC="$GCC/bin/gcc" kvm_guest.configThis way there's less duplication, and it's clearer to which lines the comments relate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can git checkout v5.0 && make kvm_guest.config, git checkout v4.14 && make kvm_guest.config, etc to find the oldest release that supports it.
|
@googlebot I signed it! |
'make kvmconfig' will be removed after Linux 5.10,
Please use 'make kvm_guest.config' instead.