Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1634365

Summary: UEFI-guest console shows black-screen during creating guest in virt-manager
Product: Red Hat Enterprise Linux 7 Reporter: liuzi <zili>
Component: qemu-kvm-rhevAssignee: Laszlo Ersek <lersek>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: juzhou, mxie, mzhan, tzheng, virt-maint, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-01 17:06:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
qemu-log
none
UEFI-guest cpu usage info none

Description liuzi 2018-09-30 08:44:36 UTC
Created attachment 1488506 [details]
qemu-log

Description of problem:
UEFI-guest console shows black-screen during creating guest in virt-manager

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.12.0-18.el7.x86_64
kernel-3.10.0-954.el7.x86_64
virt-manager-1.5.0-1.el7.noarch
OVMF-20180508-3.gitee3198e672e2.el7.noarch
libvirt-4.5.0-10.el7.x86_64
virt-viewer-5.0-11.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Open virt-manager.
2.Choose to create a new virtual machine.
3.choose network install and forward.
4.Input URI:http://download.eng.pek2.redhat.com/released/RHEL-7/7.5/Server/x86_64/os/ and forward.
5.Increases memory(RAM) to 2048M.
6.Choose customize configuration before install,click finish.
7.Firmware choose UEFI and chipset is Q35,then click apply and begin installation.
8.Uefi-guest shows black screen in guest console during the creation.
9.Check the virtual hardware details,guest's cpu usage is 100%,please refer the screenshot.
10.Check the host cpu usage info:
# top

top - 14:18:22 up 23:47,  5 users,  load average: 1.14, 0.75, 0.48
Tasks: 270 total,   1 running, 269 sleeping,   0 stopped,   0 zombie
%Cpu(s): 25.4 us,  4.5 sy,  0.0 ni, 70.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  7941108 total,  4134156 free,  2468908 used,  1338044 buff/cache
KiB Swap: 21635068 total, 21634292 free,      776 used.  5097700 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                       
 5866 qemu      20   0 2919792 112376  14540 S 106.2  1.4   3:58.65 qemu-kvm
...

# cat cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz
stepping	: 10
microcode	: 0xa0b
cpu MHz		: 2660.081
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority dtherm
bogomips	: 5320.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
...

Actual results:
Cannot finish the creation,guest console shows black screen.

Expected results:
Can create a new UEFI-guest,and guest can boot up successfully.

Additional info:
Can create a non-uefi guest in virt-manager successfully.
Can reproduce bug in another host which has the same cpu model
Cannot be reproduced on the host with different cpu model.

Comment 2 liuzi 2018-09-30 08:45:51 UTC
Created attachment 1488507 [details]
UEFI-guest cpu usage info

Comment 3 Laszlo Ersek 2018-10-01 17:06:59 UTC
Hi Liu Zi,

thank you for including "/proc/cpuinfo" from the host. The host CPU lacks EPT.

*** This bug has been marked as a duplicate of bug 1348092 ***