From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: BUG: linux guest with paravirt support thinks it boots on bare hardware Date: Sun, 30 Mar 2008 15:32:44 -0500 Message-ID: <47EFF8EC.90708@codemonkey.ws> References: <47EFCC10.3070509@gmx.net> <47EFEDA0.70907@codemonkey.ws> <4701D867-519B-4D72-B606-B6DA9D3C4F55@csgraf.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Felix Leimbach , kvm-devel@lists.sourceforge.net To: Alexander Graf Return-path: In-Reply-To: <4701D867-519B-4D72-B606-B6DA9D3C4F55@csgraf.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Alexander Graf wrote: > > On Mar 30, 2008, at 9:44 PM, Anthony Liguori wrote: > >> Felix Leimbach wrote: >>> While testing the new virtio drivers in linux-2.6.25 my test >>> 2.6.25-rc7-git5 guest with paravirt support running in KVM-64 thinks it >>> sits on cold and unfriendly bare metal instead of a safe and cosy KVM >>> bed ;-) >>> Because it is very unhappy it emits the following message during boot: >>> Booting paravirtualized kernel on bare hardware >>> >>> Of course the guest still runs perfectly and I am indeed very impressed >>> by KVM and its performance. A big thanks to all the hard working devs >>> for that! >>> >>> Relevant config and dmesg below. >>> >>> regards, >>> Felix >>> >>> # zcat /proc/config.gz |grep '\(VIRT\|VMI\|XEN\)' >>> CONFIG_PARAVIRT_GUEST=y >>> CONFIG_XEN=y >>> CONFIG_VMI=y >>> CONFIG_PARAVIRT=y >>> CONFIG_VIRT_TO_BUS=y >>> # CONFIG_XEN_BLKDEV_FRONTEND is not set >>> CONFIG_VIRTIO_BLK=y >>> CONFIG_XEN_NETDEV_FRONTEND=y >>> CONFIG_VIRTIO_NET=y >>> CONFIG_HVC_XEN=y >>> # CONFIG_FB_VIRTUAL is not set >>> CONFIG_VIRTUALIZATION=y >>> CONFIG_VIRTIO=y >>> CONFIG_VIRTIO_RING=y >>> CONFIG_VIRTIO_PCI=y >>> CONFIG_VIRTIO_BALLOON=y >>> >> >> You're probably missing: >> >> CONFIG_KVM_CLOCK=y >> CONFIG_KVM_GUEST=y > > Where do I find a kernel branch that supports these? The master branch in Avi's tree has support for both of these. Regards, Anthony Liguori > Alex ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace