From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [RFC] kvmtool: add support for modern virtio-pci Date: Wed, 18 Nov 2015 23:00:45 -0500 Message-ID: <564D496D.2010105@oracle.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1447869140.23691.15.camel@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Gerd Hoffmann Cc: kvm@vger.kernel.org, mst@redhat.com, andre.przywara@arm.com, will.deacon@arm.com, josh@joshtriplett.org, virtualization@lists.linux-foundation.org, penberg@kernel.org List-Id: virtualization@lists.linuxfoundation.org On 11/18/2015 12:52 PM, Gerd Hoffmann wrote: > Hi, > >> Thanks for testing! I didn't even thing about seabios as a testing target. > > Not surprising, support isn't upstream, ran into a bunch of issues[1][2] > last time I tried to combine the two, ran into some issues and nobody > seemed to care, so the seabios patches where just sitting in a branch in > my repo ... > >> $ cat .config | grep 'KVMTOOL\|DEBUG' >> CONFIG_KVMTOOL=y >> CONFIG_DEBUG_LEVEL=9 > > Hmm, 'CONFIG_KVMTOOL=y > .config; make olddefconfig' should give you a > working configuration. > > Setting 'CONFIG_DEBUG_LEVEL=9' is useful for trouble-shooting as it > makes the virtio drivers more verbose, but not mandatory to have. > > Serial line support is needed to get output: > > CONFIG_DEBUG_SERIAL=y > CONFIG_DEBUG_SERIAL_PORT=0x3f8 > > Also I think rom size must be 128k b/c kvmtool expects it to be that > way: > > CONFIG_ROM_SIZE=128 > > But those are the defaults, and after "make olddefconfig" you should > already have them ... It was the ROM_SIZE one as it seems, it was set to 0 here. 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. Thanks, Sasha