From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [RFC] kvmtool: add support for modern virtio-pci Date: Thu, 19 Nov 2015 08:21:10 +0100 Message-ID: <1447917670.25140.3.camel@redhat.com> References: <1447823472-17047-1-git-send-email-sasha.levin@oracle.com> <1447834972.23726.92.camel@redhat.com> <564C9805.8080800@oracle.com> <1447869140.23691.15.camel@redhat.com> <564D496D.2010105@oracle.com> <564D49A7.30400@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, andre.przywara@arm.com, will.deacon@arm.com, josh@joshtriplett.org, penberg@kernel.org, asias.hejun@gmail.com, virtualization@lists.linux-foundation.org, mst@redhat.com, rusty@rustcorp.com.au To: Sasha Levin Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45878 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757733AbbKSHVU (ORCPT ); Thu, 19 Nov 2015 02:21:20 -0500 In-Reply-To: <564D49A7.30400@oracle.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mi, 2015-11-18 at 23:01 -0500, Sasha Levin wrote: > On 11/18/2015 11:00 PM, Sasha Levin wrote: > > Anyways, I debugged it for a bit a found that seabios attempts to write to > > the notification BAR, I look further tomorrow to narrow it down and fix it. > > Err, *read*, obviously. > > I've never implemented that because the kernel doesn't try to do that (it doesn't > make much sense, I think...). It doesn't make sense indeed (kvmtool still shouldn't segfault though), and on a quick look I can't spot a place in seabios doing that ... It's reading ISR, as part of device reset, to make sure any pending interrupts are cleared. cheers, Gerd