intel / meta-acrn

Layer to integrate the ACRN hypervisor with the Yocto Project.
http://projectacrn.org/
MIT License
22 stars 40 forks source link

Remove kernel config and use kernel config fragments instead #3

Closed rossburton closed 4 years ago

rossburton commented 5 years ago

Instead of shipping monolithic kernel configs for the UOS and SOS kernels, we should identify what actually needs to be enabled for the SOS and UOS, write kernel config fragments for those, and build a kernel based on the linux-intel recipe with these additional fragments.

SOS

UOS

cheeyanglee commented 5 years ago

These would build kernel based on linux-intel 4.19 and apply config fragment with ACRN options, ACRN bridge and GVT.

UOS kernel to linux-intel https://github.com/cheeyanglee/meta-acrn/commit/56e977d1011ed28022c9e1c525e40ca2b2fed150

SOS kernel to linux-intel https://github.com/cheeyanglee/meta-acrn/commit/11b5a116d85bc6a6c9c23b06dd200e814fa21861

rossburton commented 5 years ago

Looks like a step in the right direction. Not entirely sure about the variable used to control the kernel configuration but need to think more on that.

Can you submit a proper pull request?

Also note that this and @saininav's -rt pull request conflict, so we need to decide who merges first. :)

saininav commented 5 years ago

Lets merge Chee Yang's patches first. Later I will update my patch accordingly.

saininav commented 5 years ago

As Ross mentioned on my pull request https://github.com/intel/meta-acrn/pull/27#issuecomment-548581706 , we should not use bbappend, as it will included in base recipe if anyone include meta-acrn layer, which is not supposed to happen.

Can you drop your bbappend from your patch and can raise pull request for v2.

saininav commented 4 years ago

Fix is merged https://github.com/intel/meta-acrn/commit/19d24d1dd7aed2449e3ad09cef23849bc9cfc220