kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* KVM: injection failed, MSI lost (Operation not permitted)
@ 2012-09-25 14:19 Michael S. Tsirkin
  2012-09-25 15:32 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2012-09-25 14:19 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Gleb Natapov, kvm, avi, mtosatti

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

Jan, any idea?
-- 
MST

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: KVM: injection failed, MSI lost (Operation not permitted)
  2012-09-25 14:19 KVM: injection failed, MSI lost (Operation not permitted) Michael S. Tsirkin
@ 2012-09-25 15:32 ` Jan Kiszka
  2012-09-27 12:12   ` Michael S. Tsirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2012-09-25 15:32 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Gleb Natapov, kvm@vger.kernel.org, avi@redhat.com,
	mtosatti@redhat.com

On 2012-09-25 16:19, Michael S. Tsirkin wrote:
> 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

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: KVM: injection failed, MSI lost (Operation not permitted)
  2012-09-25 15:32 ` Jan Kiszka
@ 2012-09-27 12:12   ` Michael S. Tsirkin
  2012-09-27 12:46     ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2012-09-27 12:12 UTC (permalink / raw)
  To: Jan Kiszka
  Cc: Gleb Natapov, kvm@vger.kernel.org, avi@redhat.com,
	mtosatti@redhat.com

On Tue, Sep 25, 2012 at 05:32:47PM +0200, Jan Kiszka wrote:
> On 2012-09-25 16:19, Michael S. Tsirkin wrote:
> > 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`

> -- 
> Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
> Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: KVM: injection failed, MSI lost (Operation not permitted)
  2012-09-27 12:12   ` Michael S. Tsirkin
@ 2012-09-27 12:46     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2012-09-27 12:46 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Gleb Natapov, kvm@vger.kernel.org, avi@redhat.com,
	mtosatti@redhat.com

On 2012-09-27 14:12, Michael S. Tsirkin wrote:
> On Tue, Sep 25, 2012 at 05:32:47PM +0200, Jan Kiszka wrote:
>> On 2012-09-25 16:19, Michael S. Tsirkin wrote:
>>> 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`

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

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-27 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25 14:19 KVM: injection failed, MSI lost (Operation not permitted) Michael S. Tsirkin
2012-09-25 15:32 ` Jan Kiszka
2012-09-27 12:12   ` Michael S. Tsirkin
2012-09-27 12:46     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).