Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGgjO-0007qT-75 for qemu-devel@nongnu.org; Sun, 20 Jan 2008 15:25:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGgjN-0007qH-20 for qemu-devel@nongnu.org; Sun, 20 Jan 2008 15:25:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGgjM-0007qE-Vr for qemu-devel@nongnu.org; Sun, 20 Jan 2008 15:25:25 -0500 Received: from mis011-1.exch011.intermedia.net ([64.78.21.128]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGgjM-0005F1-VA for qemu-devel@nongnu.org; Sun, 20 Jan 2008 15:25:25 -0500 Message-ID: <4793A6F5.5060702@qumranet.com> Date: Sun, 20 Jan 2008 21:54:29 +0200 From: Izik Eidus MIME-Version: 1.0 Subject: Re: [Qemu-devel] emulate the Intel-VT behavior on any type of CPU References: <1200853781.479393159c296@webmail.alinto.com> <7fac565a0801201059o3138bbcfu1be5f5b9e2c6e542@mail.gmail.com> <1200856883.3004.16.camel@localhost.localdomain> <9BB789D8-9C5A-4F78-9885-481882BED79D@csgraf.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org andrzej zaborowski wrote: > On 20/01/2008, Alexander Graf wrote: > >> He was talking about running SVM code in KQemu/KVM. It might work with >> kqemu (I honestly have not tested it, but see no reason it shouldn't), >> but definitely not with KVM. Simply said, you can not run KVM inside >> of a KVM virtualized machine. >> > > What would be the problem with supporting that in KVM? The host SVM > should just report that the guest is trying to execute an SVM insn and > generate an Illegal Operation which would be handled by qemu. > > Regards > > > right now kvm never call to qemu for cpu emulation, qemu is used just for the devices, if kvm have something that it need to emulate it have a small emulator inside the kernel, (ofcruse with modification what you just said is possible)