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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html