Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1841040

Summary: [nested][AMD EPYC]qemu-kvm hangs on L1 guest rhel 8.3
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Qinghua Cheng <qcheng>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
qemu-kvm sub component: General QA Contact: Qinghua Cheng <qcheng>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: high CC: bdas, coli, dgilbert, jinzhao, juzhang, mlevitsk, virt-maint, vkuznets
Version: 8.3Flags: pm-rhel: mirror+
Target Milestone: rc   
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1838010 Environment:
Last Closed: 2020-05-28 16:17:34 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:
Bug Depends On: 1838010    
Bug Blocks:    

Description Qinghua Cheng 2020-05-28 08:26:02 UTC
+++ This bug was initially created as a clone of Bug #1838010 +++

Description of problem:
qemu-kvm hang on L1 guest, and reports error messages.

Version-Release number of selected component (if applicable):
Host:
rhel 8.3
kernel build:4.18.0-200.el8.x86_64
qemu-kvm build: qemu-kvm-4.2.0-19.module+el8.3.0+6473+93e27135.x86_64

L1 guest:
rhel 8.3 
kernel build:4.18.0-200.el8.x86_64
qemu-kvm build: qemu-kvm-4.2.0-19.module+el8.3.0+6473+93e27135.x86_64

How reproducible:

3/3

Steps to Reproduce:
1. Enable nested on host 
modprobe -r kvm_amd
modprobe kvm_amd nested=1
2. Create L1 guest with -cpu host
3. Create L2 guest with -cpu host

Actual results:

When create L2 guest on L1, qemu-kvm hangs, and reports error message:
QEMU 4.2.0 monitor - type 'help' for more information
(qemu) 
Message from syslogd@localhost at May 20 19:04:26 ...
 kernel:watchdog: BUG: soft lockup - CPU#14 stuck for 23s! [qemu-kvm:3407]

Message from syslogd@localhost at May 20 19:04:50 ...
 kernel:watchdog: BUG: soft lockup - CPU#9 stuck for 22s! [kworker/9:1:600]


Expected results:
L2 guest vm starts without error message and no hang happens

Additional info:
Host:
rhel 8.3
kernel build:4.18.0-200.el8.x86_64
qemu-kvm build: qemu-kvm-4.2.0-19.module+el8.3.0+6473+93e27135.x86_64

L1 guest:
rhel 8.3 
kernel build:4.18.0-200.el8.x86_64
qemu-kvm build: qemu-kvm-4.2.0-19.module+el8.3.0+6473+93e27135.x86_64

--- Additional comment from Qinghua Cheng on 2020-05-20 12:17:52 UTC ---

[root@dell-per6515-01 ~]# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              128
On-line CPU(s) list: 0-127
Thread(s) per core:  2
Core(s) per socket:  64
Socket(s):           1
NUMA node(s):        4
Vendor ID:           AuthenticAMD
CPU family:          23
Model:               49
Model name:          AMD EPYC 7702P 64-Core Processor
Stepping:            0
CPU MHz:             1796.237
CPU max MHz:         2000.0000
CPU min MHz:         1500.0000
BogoMIPS:            3992.81
Virtualization:      AMD-V
L1d cache:           32K
L1i cache:           32K
L2 cache:            512K
L3 cache:            16384K
NUMA node0 CPU(s):   0-15,64-79
NUMA node1 CPU(s):   16-31,80-95
NUMA node2 CPU(s):   32-47,96-111
NUMA node3 CPU(s):   48-63,112-127
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca

--- Additional comment from Qinghua Cheng on 2020-05-20 12:22:48 UTC ---

qemu-kvm cmd line:

/usr/libexec/qemu-kvm \
    -name 'l1-rhel8' \
    -machine q35  \
    -nodefaults \
    -device VGA,bus=pcie.0,addr=0x2  \
    -device qemu-xhci,id=usb1,bus=pcie.0,addr=0x3 \
    -drive id=drive_image1,if=none,snapshot=off,aio=threads,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/rhel830-64-virtio-scsi.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,serial=SYSTEM_DISK0,bus=pcie.0,addr=0x4 \
    -device virtio-net-pci,mac=9a:ff:43:39:cd:8c,id=idO4Skpc,netdev=idpmLptO,bus=pcie.0,addr=0x5 \
    -netdev tap,id=idpmLptO,vhost=on \
    -m 8192 \
    -smp 24 \
    -cpu host \
    -vnc :2 \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off,strict=off \
    -enable-kvm \
    -monitor stdio -qmp tcp:0:6667,server,nowait \

--- Additional comment from Qinghua Cheng on 2020-05-20 12:29:02 UTC ---

I also use: 
-cpu EPYC,svm to start L1 guest
-cpy EPYC to start L2 guest

I got:

QEMU 4.2.0 monitor - type 'help' for more information
(qemu) qemu-kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
qemu-kvm: warning: host doesn't support requested feature: CPUID.8000000AH:EDX.npt [bit 0]
qemu-kvm: warning: host doesn't support requested feature: CPUID.8000000AH:EDX.nrip-save [bit 3]
qemu-kvm: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
qemu-kvm: warning: host doesn't support requested feature: CPUID.8000000AH:EDX.npt [bit 0]
qemu-kvm: warning: host doesn't support requested feature: CPUID.8000000AH:EDX.nrip-save [bit 3]
....

Message from syslogd@localhost at May 20 18:48:02 ...
 kernel:watchdog: BUG: soft lockup - CPU#13 stuck for 22s! [qemu-kvm:3360]

Message from syslogd@localhost at May 20 18:48:05 ...
 kernel:watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [kworker/2:2:1102]

--- Additional comment from Bandan Das on 2020-05-20 14:16:55 UTC ---

(In reply to Qinghua Cheng from comment #3)
> I also use: 
> -cpu EPYC,svm to start L1 guest
> -cpy EPYC to start L2 guest
> 
> I got:
> 
> QEMU 4.2.0 monitor - type 'help' for more information
> (qemu) qemu-kvm: warning: host doesn't support requested feature:
> CPUID.80000001H:ECX.svm [bit 2]
> qemu-kvm: warning: host doesn't support requested feature:
> CPUID.8000000AH:EDX.npt [bit 0]
> qemu-kvm: warning: host doesn't support requested feature:
> CPUID.8000000AH:EDX.nrip-save [bit 3]
> qemu-kvm: warning: host doesn't support requested feature:
> CPUID.80000001H:ECX.svm [bit 2]
> qemu-kvm: warning: host doesn't support requested feature:
> CPUID.8000000AH:EDX.npt [bit 0]
> qemu-kvm: warning: host doesn't support requested feature:
> CPUID.8000000AH:EDX.nrip-save [bit 3]
> ....
> 
> Message from syslogd@localhost at May 20 18:48:02 ...
>  kernel:watchdog: BUG: soft lockup - CPU#13 stuck for 22s! [qemu-kvm:3360]
> 
> Message from syslogd@localhost at May 20 18:48:05 ...
>  kernel:watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [kworker/2:2:1102]

Wow, this looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1769283#c109

Can you set softlock_panic=1 in L1 and get a trace ?

--- Additional comment from Qinghua Cheng on 2020-05-21 07:04:13 UTC ---


[   64.786827] switch: port 2(tap0) entered blocking state
[   64.791582] switch: port 2(tap0) entered disabled state
[   64.792892] device tap0 entered promiscuous mode
[   64.794042] switch: port 2(tap0) entered blocking state
[   64.795119] switch: port 2(tap0) entered forwarding state
[   64.826187] kvm: SMP vm created on host with unstable TSC; guest TSC will not be reliable
[   92.106477] watchdog: BUG: soft lockup - CPU#9 stuck for 22s! [qemu-kvm:3359]
[   92.109507] Modules linked in: vhost_net vhost tap fuse xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref nf_conntrack_tftp nft_counter tun nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set bridge stp llc nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nft_chain_route_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink rpcrdma ib_isert iscsi_target_mod ib_iser ib_srpt target_core_mod ib_srp scsi_transport_srp ib_ipoib rdma_ucm ib_umad iw_cxgb4 ib_uverbs rdma_cm iw_cm ib_cm ib_core bochs_drm drm_vram_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm kvm_amd iTCO_wdt ccp iTCO_vendor_support kvm irqbypass joydev pcspkr lpc_ich i2c_i801 ip_tables xfs libcrc32c ahci libahci crct10dif_pclmul libata crc32_pclmul crc32c_intel virtio_net
[   92.109546]  ghash_clmulni_intel net_failover serio_raw virtio_blk failover dm_multipath sunrpc dm_mirror dm_region_hash dm_log dm_mod be2iscsi bnx2i cnic uio cxgb4i cxgb4 libcxgbi libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi
[   92.120618] CPU: 9 PID: 3359 Comm: qemu-kvm Kdump: loaded Not tainted 4.18.0-201.el8.x86_64 #1
[   92.121502] Hardware name: Red Hat KVM/RHEL-AV, BIOS 1.13.0-1.module+el8.3.0+6423+e4cb6418 04/01/2014
[   92.122454] RIP: 0010:smp_call_function_single+0xce/0xf0
[   92.123004] Code: 8b 4c 24 38 65 48 33 0c 25 28 00 00 00 75 34 c9 c3 48 89 d1 48 89 f2 48 89 e6 e8 7d fe ff ff 8b 54 24 18 83 e2 01 74 0b f3 90 <8b> 54 24 18 83 e2 01 75 f5 eb ca 8b 05 b1 e8 ad 01 85 c0 75 88 0f
[   92.124912] RSP: 0018:ffffc18b41cc7ce0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[   92.125693] RAX: 0000000000000000 RBX: ffff9f706ccc91e0 RCX: 0000000000000830
[   92.126428] RDX: 0000000000000001 RSI: 00000000000000fb RDI: 0000000000000830
[   92.127167] RBP: ffffc18b41cc7d30 R08: 0000000000000017 R09: 000000000010b237
[   92.127898] R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000009
[   92.128635] R13: ffff9f706ccc8d80 R14: 00005555973e2000 R15: 0000000000000004
[   92.129377] FS:  00007fb8dfe1f700(0000) GS:ffff9f7077840000(0000) knlGS:0000000000000000
[   92.130209] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   92.130801] CR2: 0000555596947000 CR3: 000000026f5a2000 CR4: 0000000000340ee0
[   92.131541] Call Trace:
[   92.131820]  ? flush_tlb_func_common.constprop.9+0x210/0x210
[   92.132409]  flush_tlb_mm_range+0xd0/0x120
[   92.132917]  ? kvm_mmu_notifier_invalidate_range_end+0x2b/0x40 [kvm]
[   92.133578]  arch_tlb_finish_mmu+0xbd/0x130
[   92.134013]  tlb_finish_mmu+0x1f/0x30
[   92.134400]  zap_page_range+0xd9/0x150
[   92.134793]  __x64_sys_madvise+0x63e/0x790
[   92.135229]  ? do_syscall_64+0x5b/0x1a0
[   92.135628]  do_syscall_64+0x5b/0x1a0
[   92.136019]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[   92.136548] RIP: 0033:0x7fb8e6f32d0b
[   92.136923] Code: 64 89 02 b8 ff ff ff ff c3 48 8b 15 77 51 2c 00 f7 d8 64 89 02 b8 ff ff ff ff eb bc 0f 1f 00 f3 0f 1e fa b8 1c 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4d 51 2c 00 f7 d8 64 89 01 48
[   92.138833] RSP: 002b:00007fb8dfe1e688 EFLAGS: 00000206 ORIG_RAX: 000000000000001c
[   92.139620] RAX: ffffffffffffffda RBX: 000000000000102f RCX: 00007fb8e6f32d0b
[   92.140358] RDX: 0000000000000004 RSI: 000000000001d000 RDI: 00005555973e2000
[   92.141093] RBP: 00005555973e1560 R08: 0000000000000000 R09: 0000000000000007
[   92.141824] R10: 000000000000000c R11: 0000000000000206 R12: 00007fb8e71f9390
[   92.142559] R13: 00007fb8e71f8ba0 R14: fffffffffffff000 R15: 000000000000007a
[   92.143297] Kernel panic - not syncing: softlockup: hung tasks
[   92.143899] CPU: 9 PID: 3359 Comm: qemu-kvm Kdump: loaded Tainted: G             L   --------- -  - 4.18.0-201.el8.x86_64 #1
[   92.145046] Hardware name: Red Hat KVM/RHEL-AV, BIOS 1.13.0-1.module+el8.3.0+6423+e4cb6418 04/01/2014
[   92.145990] Call Trace:
[   92.146258]  <IRQ>
[   92.146479]  dump_stack+0x5c/0x80
[   92.146843]  panic+0xe7/0x2a9
[   92.147163]  watchdog_timer_fn.cold.8+0x85/0x9e
[   92.147638]  ? watchdog+0x30/0x30
[   92.147990]  __hrtimer_run_queues+0x100/0x280
[   92.148448]  hrtimer_interrupt+0x100/0x220
[   92.148874]  ? flush_tlb_func_common.constprop.9+0x99/0x210
[   92.149454]  smp_apic_timer_interrupt+0x6a/0x130
[   92.149933]  apic_timer_interrupt+0xf/0x20
[   92.150364]  </IRQ>
[   92.150590] RIP: 0010:smp_call_function_single+0xce/0xf0
[   92.151144] Code: 8b 4c 24 38 65 48 33 0c 25 28 00 00 00 75 34 c9 c3 48 89 d1 48 89 f2 48 89 e6 e8 7d fe ff ff 8b 54 24 18 83 e2 01 74 0b f3 90 <8b> 54 24 18 83 e2 01 75 f5 eb ca 8b 05 b1 e8 ad 01 85 c0 75 88 0f
[   92.153053] RSP: 0018:ffffc18b41cc7ce0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[   92.153834] RAX: 0000000000000000 RBX: ffff9f706ccc91e0 RCX: 0000000000000830
[   92.154568] RDX: 0000000000000001 RSI: 00000000000000fb RDI: 0000000000000830
[   92.155304] RBP: ffffc18b41cc7d30 R08: 0000000000000017 R09: 000000000010b237
[   92.156036] R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000009
[   92.156771] R13: ffff9f706ccc8d80 R14: 00005555973e2000 R15: 0000000000000004
[   92.157515]  ? flush_tlb_func_common.constprop.9+0x210/0x210
[   92.158170]  flush_tlb_mm_range+0xd0/0x120
[   92.158647]  ? kvm_mmu_notifier_invalidate_range_end+0x2b/0x40 [kvm]
[   92.159371]  arch_tlb_finish_mmu+0xbd/0x130
[   92.159847]  tlb_finish_mmu+0x1f/0x30
[   92.160272]  zap_page_range+0xd9/0x150
[   92.160700]  __x64_sys_madvise+0x63e/0x790
[   92.161177]  ? do_syscall_64+0x5b/0x1a0
[   92.161614]  do_syscall_64+0x5b/0x1a0
[   92.162032]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[   92.162610] RIP: 0033:0x7fb8e6f32d0b
[   92.163018] Code: 64 89 02 b8 ff ff ff ff c3 48 8b 15 77 51 2c 00 f7 d8 64 89 02 b8 ff ff ff ff eb bc 0f 1f 00 f3 0f 1e fa b8 1c 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4d 51 2c 00 f7 d8 64 89 01 48
[   92.165108] RSP: 002b:00007fb8dfe1e688 EFLAGS: 00000206 ORIG_RAX: 000000000000001c
[   92.165952] RAX: ffffffffffffffda RBX: 000000000000102f RCX: 00007fb8e6f32d0b
[   92.166756] RDX: 0000000000000004 RSI: 000000000001d000 RDI: 00005555973e2000
[   92.167561] RBP: 00005555973e1560 R08: 0000000000000000 R09: 0000000000000007
[   92.168364] R10: 000000000000000c R11: 0000000000000206 R12: 00007fb8e71f9390
[   92.169168] R13: 00007fb8e71f8ba0 R14: fffffffffffff000 R15: 000000000000007a
[    0.000000] Linux version 4.18.0-201.el8.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)) #1 SMP Tue May 19 07:22:03 UTC 2020
[    0.000000] Command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-201.el8.x86_64 ro console=ttyS0,115200 resume=/dev/mapper/rhel_dhcp16--219--242-swap biosdevname=0 net.ifnames=0 console=tty0 biosdevname=0 net.ifnames=0 irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug transparent_hugepage=never nokaslr novmcoredd hest_disable disable_cpu_apicid=0 acpi_rsdp=0xf5cc0 elfcorehdr=2080116K
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000075000000-0x000000007ef5cfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007efffc00-0x000000007effffff] usable
[    0.000000] BIOS-e820: [mem 0x000000007ffdc000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: Red Hat KVM/RHEL-AV, BIOS 1.13.0-1.module+el8.3.0+6423+e4cb6418 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 7e001001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 100412891002 cycles
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] tsc: Detected 1996.250 MHz processor
[    0.000000] last_pfn = 0x7f000 max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] x2apic: enabled by BIOS, switching to x2apic ops
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x7a533000-0x7b7fffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F5CC0 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000007FFE1EB7 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000007FFE1C57 0000F4 (v03 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000007FFDF5C0 002697 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000007FFDF580 000040
[    0.000000] ACPI: APIC 0x000000007FFE1D4B 000130 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: MCFG 0x000000007FFE1E7B 00003C (v01 BOCHS  BXPCMCFG 00000001 BXPC 00000001)
[    0.000000] Setting APIC routing to cluster x2apic.
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007effffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x7ef33000-0x7ef5cfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000007effffff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000075000000-0x000000007ef5cfff]
[    0.000000] Zeroed struct page in unavailable ranges: 57349 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ef5cfff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] APIC: Disabling requested cpu. Processor 0/0x0 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 1/0x1 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 2/0x2 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 3/0x3 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 4/0x4 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 5/0x5 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 6/0x6 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 7/0x7 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 almost reached. Keeping one slot for boot cpu.  Processor 8/0x8 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 10/0xa ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 11/0xb ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 12/0xc ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 13/0xd ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 14/0xe ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 15/0xf ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 16/0x10 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 17/0x11 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 18/0x12 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 19/0x13 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 20/0x14 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 21/0x15 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 22/0x16 ignored.
[    0.000000] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 23/0x17 ignored.
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: 24 Processors exceeds NR_CPUS limit of 1
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] KVM setup pv remote TLB flush
[    0.000000] KVM setup pv sched yield
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x00100000-0x74ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7ef5d000-0x7effffff]
[    0.000000] [mem 0x00100000-0x74ffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] percpu: Embedded 54 pages/cpu s184320 r8192 d28672 u2097152
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 7e42c080
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 40293
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-201.el8.x86_64 ro console=ttyS0,115200 resume=/dev/mapper/rhel_dhcp16--219--242-swap biosdevname=0 net.ifnames=0 console=tty0 biosdevname=0 net.ifnames=0 irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug transparent_hugepage=never nokaslr novmcoredd hest_disable disable_cpu_apicid=0 acpi_rsdp=0xf5cc0 elfcorehdr=2080116K
[    0.000000] Specific versions of hardware are certified with Red Hat Enterprise Linux 8. Please see the list of hardware certified with Red Hat Enterprise Linux 8 at https://catalog.redhat.com.

--- Additional comment from John Ferlan on 2020-05-26 19:41:12 UTC ---

Setting ITR=8.3.0 and CC'g Maxim as well since he's been helping chase recent nested AMD issues.

--- Additional comment from Qinghua Cheng on 2020-05-28 08:15:24 UTC ---

This bug is also reproduced on 

Host: 
kernel: 4.18.0-200.el8.x86_64
qemu-kvm-5.0.0-0.module+el8.3.0+6620+5d5e1420.x86_64

Comment 1 Qinghua Cheng 2020-05-28 08:33:37 UTC
This bug is also reproduced on 

Host: 
kernel: 4.18.0-200.el8.x86_64
qemu-kvm-5.0.0-0.module+el8.3.0+6620+5d5e1420.x86_64

Comment 2 John Ferlan 2020-05-28 16:17:34 UTC
As noted in https://bugzilla.redhat.com/show_bug.cgi?id=1838010#c11 - this most likely is a kernel issue in the end - we need to let the investigation complete first before cloning. If we determine that the problem is to be fixed in qemu-kvm, then we can decide how to proceed.

Thanks for the diligence to ensure things don't fall through the cracks though!

Comment 3 CongLi 2020-05-31 07:16:32 UTC

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