From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [RFC] kvmtool: add support for modern virtio-pci Date: Wed, 18 Nov 2015 18:52:20 +0100 Message-ID: <1447869140.23691.15.camel@redhat.com> References: <1447823472-17047-1-git-send-email-sasha.levin@oracle.com> <1447834972.23726.92.camel@redhat.com> <564C9805.8080800@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]:48916 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752805AbbKRRwZ (ORCPT ); Wed, 18 Nov 2015 12:52:25 -0500 In-Reply-To: <564C9805.8080800@oracle.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 ... cheers, Gerd [1] kernel doesn't find pci (can be worked around by tweaking kernel command line in boot loader config). [2] kernel virtio drivers fail to initialize (probably device reset not working properly).