Skip to content

Support modification of the CPU brand/model#5

Open
KJ7LNW wants to merge 1 commit intotwosigma:masterfrom
KJ7LNW:cpuid-brand
Open

Support modification of the CPU brand/model#5
KJ7LNW wants to merge 1 commit intotwosigma:masterfrom
KJ7LNW:cpuid-brand

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 <libvirtcpuid@z.ewheeler.org>
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.

1 participant