From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: qemu-kvm Date: Tue, 14 Nov 2006 11:41:22 +0200 Message-ID: <45598F42.5090400@qumranet.com> References: <20061114072601.GD28027@galon.ev-en.org> <4559834F.80905@qumranet.com> <8764di9y30.wl%simon.kagstrom@bth.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: KVM , Baruch Even Return-path: To: Simon Kagstrom In-Reply-To: <8764di9y30.wl%simon.kagstrom-6Uc+yI3S9P8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Simon Kagstrom wrote: > At Tue, 14 Nov 2006 10:50:23 +0200, > Avi Kivity wrote: > >> Baruch Even wrote: >> >>> Can the Qemu built with KVM support run without KVM? Froma quick perusal >>> of the kvm.patch it seems that there are places where USE_KVM implies a >>> qemu-panic without any runtime conditionals. >>> >> qemu-kvm.patch is an older release. With the new release, it should be >> possible to run without kvm. Let me know (or better, send patches) if >> there are any such places in kvm-2. >> > > One thing I've thought about (and quickly hacked on) is to "detect" > the presense of KVM and use it if it is there and use "plain" qemu if > it is not. The question is if this is behavior that the rest of you > would like, I'll send a patch if so. > I think it is indeed desirable. Please send the patch. Of course, -no-kvm should not use kvm even if it there. > One thing which I've changed is to return errors from libkvm instead > of directly exiting. Personally I think this behavior is preferred > since it does not force decisions upon the program using the library. > The exit()s are a hack, of course. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642