From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David Evensky" Subject: can kvm tool load vmlinux? Date: Wed, 14 Dec 2011 13:24:18 -0800 Message-ID: <20111214212418.GD11075@dancer.ca.sandia.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from sentry-two.sandia.gov ([132.175.109.14]:58997 "EHLO sentry-two.sandia.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755455Ab1LNVYa (ORCPT ); Wed, 14 Dec 2011 16:24:30 -0500 Received: from interceptor1.sandia.gov (interceptor1.sandia.gov [132.175.109.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sentry-two.sandia.gov (Postfix) with ESMTP id 189651E8767 for ; Wed, 14 Dec 2011 14:24:30 -0700 (MST) Received: from sentry.sandia.gov (sentry.sandia.gov [132.175.109.21]) by interceptor1.sandia.gov (RSA Interceptor) for ; Wed, 14 Dec 2011 14:24:22 -0700 Received: from dancer.ca.sandia.gov (dancer.ca.sandia.gov [146.246.246.1]) by mailgate.sandia.gov (8.14.4/8.14.4) with ESMTP id pBELOGin006483 for ; Wed, 14 Dec 2011 14:24:17 -0700 Received: from dancer.ca.sandia.gov (localhost [127.0.0.1]) by dancer.ca.sandia.gov (8.14.4/8.14.4/Debian-2) with ESMTP id pBELOIPK011954 for ; Wed, 14 Dec 2011 13:24:18 -0800 Received: (from evensky@localhost) by dancer.ca.sandia.gov ( 8.14.4/8.14.4/Submit) id pBELOI1r011953 for kvm@vger.kernel.org; Wed, 14 Dec 2011 13:24:18 -0800 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: I've been trying see if I can use a vmlinux kernel binary image with kvm tool. If use a bzImage as lkvm run -k .../bzImage --console serial -d /dev/null which runs until it expectedly dies since I didn't give it an initramfs or disk. However, when I try: lkvm run -k .../bzImage --console serial -d /dev/null I get the following printed and then nothing: # kvm run -k .../vmlinux -m 448 -c 4 --name guest-12289 Warning: .../vmlinux is not a bzImage. Trying to load it as a flat binary... Is this supposed to work? Thanks, \dae