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

qemu: better cpu type and IP detection #17217

Merged
merged 2 commits into from
Sep 16, 2023

Commits on Sep 8, 2023

  1. qemu: increase the timeout for detecting the IP address

    Signed-off-by: Raghavendra Talur <[email protected]>
    raghavendra-talur committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    08233d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. qemu: set the cpu type to max

    RHEL9 and therefore the dependent distributions and base containers have
    a minimum microarchitechture level of x86-64-v2.[1]
    
    The default cpu level of the qemu driver on an Intel Mac is x86-64-v1
    even if the host cpu has the x86-64-v2 capability. Using the cpu type of
    max allows qemu to use all the host cpu capabilities that is also
    supported by the hypervisor framework.[2]
    
    This was fixed for linux host by changing the default within qemu but it
    wasn't changed for MacOS.
    
    [1] https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level
    [2] https://gitlab.com/qemu-project/qemu/-/issues/1686#note_1417714887
    [3] https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg04066.html
    
    Signed-off-by: Raghavendra Talur <[email protected]>
    raghavendra-talur committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    8716ac0 View commit details
    Browse the repository at this point in the history