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

Commits on Mar 14, 2024

  1. Support modification of the CPU brand/model

    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>
    Eric Wheeler committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6e6e8fd View commit details
    Browse the repository at this point in the history