Skip to content

VM cannot run normally in kvm UEFI LEGACY mode #4245

Closed

Description

@div8cn
ISSUE TYPE
  • Bug Report
COMPONENT NAME
KVM 
UEFI
CLOUDSTACK VERSION
4.14.0.0
CONFIGURATION
OS / ENVIRONMENT

Hypervisor: CentOS7.6
Compiled against library: libvirt 4.5.0
Using library: libvirt 4.5.0
Using API: QEMU 4.5.0
Running hypervisor: QEMU 2.12.0

OVMF: OVMF-20180508-6.gitee3198e672e2.el7.noarch

SUMMARY

Under KVM Hypervisor
In UEFI LEGACY mode, the VM cannot enter the system normally, and "Guest has not initialized the display (yet)." is displayed in the console.

image
VM starts normally in UEFI Secure mode

After comparison, we found that:
In UEFI LEGACY mode, the VM uses pc-i440f chip,
In UEFI Secure mode, the Q35 chip is used.

After I switched the VM chip from pc-i440fx-rhel7.6.0 to pc-q35-rhel7.6.0 (manually modify the configuration file), the VM can enter the system normally.

so. UEFI under CentOS7 should run under Q35 chip (UEFI LEGACY AND UEFI SECURE)

STEPS TO REPRODUCE
1.Deploy VM through template, boot type select UEFI.Boot Mode select LEGACY 
2.After the VM runs successfully, open the console

EXPECTED RESULTS
The console displays guest OS information, or UEFI shell.
ACTUAL RESULTS
Guest has not initialized the display (yet).

Activity

  1. DaanHoogland commented on Aug 5, 2020

    @DaanHoogland
    Contributor

    @div8cn do you have resources to work on this?
    should we set a milestone yet?

  2. div8cn commented on Aug 5, 2020

    @div8cn
    ContributorAuthor

    I have resources to provide testing
    @DaanHoogland

  3. DaanHoogland commented on Aug 5, 2020

    @DaanHoogland
    Contributor

    ok, we might have to postpone to 4.16 than as development work will be required i guess

  4. yadvr commented on Dec 14, 2020

    @yadvr
    Member

    @DaanHoogland can you triage and advise if this is a bug or config issue, we can ask @Spaceman1984 to look into this

  5. added this to the 4.14.1.0 milestone on Jan 28, 2021
  6. added a commit that references this issue on Feb 1, 2021
    e9dda98
  7. yadvr commented on Feb 1, 2021

    @yadvr
    Member

    Fixed in #4576

  8. removed their assignment
    on Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions