Skip to content
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

Support modification of the CPU brand/model #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KJ7LNW
Copy link

@KJ7LNW KJ7LNW commented Mar 14, 2024

The CPU brand register can now be configured by setting VIRT_CPUID_BRAND as an environment variable:

export VIRT_CPUID_BRAND=foomodel
LD_PRELOAD=/path/to/libvirtcpuid.so /some/program

Note:

This commit also adds -fPIC to the MUSL build so it will compile without the "needs -fPIC" error.

The CPU brand register can now be configured by setting `VIRT_CPUID_BRAND` as an environment variable:

    export VIRT_CPUID_BRAND=foomodel
    LD_PRELOAD=/path/to/libvirtcpuid.so /some/program

Note:

This commit also adds `-fPIC` to the MUSL build so it will compile
without the "needs -fPIC" error.

Signed-off-by: Eric Wheeler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant