From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: KVM: injection failed, MSI lost (Operation not permitted) Date: Thu, 27 Sep 2012 14:46:46 +0200 Message-ID: <50644AB6.6080008@siemens.com> References: <20120925141900.GA31714@redhat.com> <5061CE9F.2000101@siemens.com> <20120927121256.GA26749@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , "kvm@vger.kernel.org" , "avi@redhat.com" , "mtosatti@redhat.com" To: "Michael S. Tsirkin" Return-path: Received: from thoth.sbs.de ([192.35.17.2]:18509 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949Ab2I0Mqv (ORCPT ); Thu, 27 Sep 2012 08:46:51 -0400 In-Reply-To: <20120927121256.GA26749@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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