Skip to contentSkip to conversation

KVM: injection failed, MSI lost (Operation not permitted)

DISCUSSION Michael S. Tsirkin 2 participants 4 messages Sep 25, 2012 – Sep 27, 2012 KVM

lore
Share & tools
lore
#0 lore raw

Each time I kill qemu-kvm I get this error:
KVM: injection failed, MSI lost (Operation not permitted)

Jan, any idea?

Signature · 1 line
MST
#1 lore raw
Quoted 4 lines · Michael S. Tsirkin

Each time I kill qemu-kvm I get this error:
KVM: injection failed, MSI lost (Operation not permitted)

Jan, any idea?

Race in shutting down resources?

What do you do precisely? I never saw this.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 11 lines · Jan Kiszka
Quoted 4 lines · Michael S. Tsirkin

Each time I kill qemu-kvm I get this error:
KVM: injection failed, MSI lost (Operation not permitted)

Jan, any idea?

Race in shutting down resources?

What do you do precisely? I never saw this.

Jan

I boot guest like this:

/home/mst/qemu-test/bin/qemu-system-x86_64 -enable-kvm -cpu kvm64 -m
1G -drive file=/home/mst/rhel6-try.qcow2 -net nic,model=virtio,netdev=foo -netdev id=bar -device e1000,netdev=bar -redir tcp:8022::22 -netdev tap,id=foo,ifname=msttap0,script=/home/mst/ifup,downscript=no,vhost=off -vnc :1 -smp 16 -snapshot

At some later point I kill it from another shell:

kill pgrep qemu

Quoted 3 lines
Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
#3 lore raw
Quoted 22 lines · Michael S. Tsirkin
Quoted 11 lines · Jan Kiszka
Quoted 4 lines · Michael S. Tsirkin

Each time I kill qemu-kvm I get this error:
KVM: injection failed, MSI lost (Operation not permitted)

Jan, any idea?

Race in shutting down resources?

What do you do precisely? I never saw this.

Jan

I boot guest like this:

/home/mst/qemu-test/bin/qemu-system-x86_64 -enable-kvm -cpu kvm64 -m
1G -drive file=/home/mst/rhel6-try.qcow2 -net nic,model=virtio,netdev=foo -netdev id=bar -device e1000,netdev=bar -redir tcp:8022::22 -netdev tap,id=foo,ifname=msttap0,script=/home/mst/ifup,downscript=no,vhost=off -vnc :1 -smp 16 -snapshot

Quoted 3 lines

At some later point I kill it from another shell:

kill pgrep qemu

Hmm, cannot reproduce, even under flood-ping load on the virtio device, ie. the one that is using MSI. I'm afraid you will have to trace the event flow.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux