blob: 8db2f2d16e39e53854923af82d9c008a62256407 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
graphic: 0.923
peripherals: 0.892
semantic: 0.885
hypervisor: 0.884
permissions: 0.871
performance: 0.865
debug: 0.865
user-level: 0.863
register: 0.858
mistranslation: 0.854
ppc: 0.848
arm: 0.842
assembly: 0.836
VMM: 0.829
virtual: 0.828
PID: 0.820
architecture: 0.820
device: 0.818
socket: 0.818
TCG: 0.817
boot: 0.790
KVM: 0.781
x86: 0.770
vnc: 0.761
risc-v: 0.756
network: 0.714
files: 0.711
kernel: 0.708
i386: 0.513
Qemu is stuck on the startup intermittently.
Description of problem:
Qemu is stuck on the startup intermittently.
We are using kubevirt to launch the VM in kubernetes env. We have compiled qemu with a few flags enabled and using it.
All things are working as expected except we are seeing qemu stuck issue during VM startup. Please find logs from system in additional information
Qemu version: qemu-system-x86-core-5.1.0-9.fc32.x86_64.rpm
Libvirtd version: 6.6.0
Steps to reproduce:
1. Create and start a VM.
Additional information:
TOP OUTPUT:
--------------
```
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
**125 qemu 0 -20 8519896 73392 15412 R 99.9 0.1 85:27.96 CPU 0/KVM **
113 qemu 20 0 8519896 73392 15412 S 0.0 0.1 0:00.14 qemu-system-ori
121 qemu 20 0 8519896 73392 15412 S 0.0 0.1 0:00.00 qemu-system-ori
122 qemu 20 0 8519896 73392 15412 S 0.0 0.1 0:00.00 IO iothread1
124 qemu 20 0 8519896 73392 15412 S 0.0 0.1 0:00.23 IO mon_iothread
126 qemu 0 -20 8519896 73392 15412 S 0.0 0.1 0:00.00 CPU 1/KVM
128 qemu 20 0 8519896 73392 15412 S 0.0 0.1 0:00.00 vnc_worker
```
qemu logs on error:
-------------------
```
KVM: injection failed, MSI lost (Operation not permitted)
KVM: injection failed, MSI lost (Operation not permitted)
KVM: injection failed, MSI lost (Operation not permitted)
KVM: injection failed, MSI lost (Operation not permitted)
KVM: injection failed, MSI lost (Operation not permitted)
KVM: injection failed, MSI lost (Operation not permitted)
KVM: injection failed, MSI lost (Operation not permitted)
```
dmesg logs from host:-
----------------------
```
[ 7853.643187] kvm: apic: phys broadcast and lowest prio
[ 7853.643265] kvm: apic: phys broadcast and lowest prio
[ 7853.643341] kvm: apic: phys broadcast and lowest prio
[ 7853.643413] kvm: apic: phys broadcast and lowest prio
[ 7853.643486] kvm: apic: phys broadcast and lowest prio
[ 7853.643559] kvm: apic: phys broadcast and lowest prio
[ 7853.643631] kvm: apic: phys broadcast and lowest prio
[ 7853.643703] kvm: apic: phys broadcast and lowest prio
[ 7853.643776] kvm: apic: phys broadcast and lowest prio
[ 7853.643848] kvm: apic: phys broadcast and lowest prio
[ 7853.643920] kvm: apic: phys broadcast and lowest prio
[ 7853.643992] kvm: apic: phys broadcast and lowest prio
[ 7853.644065] kvm: apic: phys broadcast and lowest prio
[ 7853.644137] kvm: apic: phys broadcast and lowest prio
[ 7853.644209] kvm: apic: phys broadcast and lowest prio
[ 7853.644289] kvm: apic: phys broadcast and lowest prio
```
-->
|