From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0LY9-0001Z1-Es for qemu-devel@nongnu.org; Sat, 02 May 2009 16:11:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0LY6-0001Yl-2k for qemu-devel@nongnu.org; Sat, 02 May 2009 16:11:05 -0400 Received: from [199.232.76.173] (port=45166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0LY5-0001Yi-P9 for qemu-devel@nongnu.org; Sat, 02 May 2009 16:11:01 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:57155) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0LY5-00075H-Dv for qemu-devel@nongnu.org; Sat, 02 May 2009 16:11:01 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e39.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n42K60JU025653 for ; Sat, 2 May 2009 14:06:00 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n42K9SZC094726 for ; Sat, 2 May 2009 14:09:28 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n42K9RI2016663 for ; Sat, 2 May 2009 14:09:28 -0600 Message-ID: <49FCA877.6010105@us.ibm.com> Date: Sat, 02 May 2009 15:09:27 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 0/8] kvm: Fixes, cleanups and livemigration References: <20090501211717.24514.23246.stgit@mchn012c.ww002.siemens.net> <49FB7A40.1020005@us.ibm.com> <20090502074041.GB7198@redhat.com> <49FC4F90.1030901@codemonkey.ws> <20090502172308.GA13933@redhat.com> <49FC9B39.4080408@redhat.com> <20090502200754.GB13933@redhat.com> In-Reply-To: <20090502200754.GB13933@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Jan Kiszka , Avi Kivity , qemu-devel@nongnu.org Gleb Natapov wrote: > On Sat, May 02, 2009 at 10:12:57PM +0300, Avi Kivity wrote: > >> Gleb Natapov wrote: >> >>>> I think the right thing to do with this is introduce a kvm-cpu savevm >>>> that stores this information since it isn't relevant to TCG. I >>>> think it's arguable whether you want instruction length there (can >>>> you get it reliably on SVM?). >>>> >>>> >>>> >>> We can't get it on SVM without instruction decoding, but it is not required >>> on SVM. It is absolutely essential for soft interrupt/exception injection >>> on VMX and has to be a part of migratable state. >>> >>> >> We need it in some neutral form so cross-vendor migration can work. >> >> > VMX->SVM No problem. > SVM->VMX bad luck :) We will have to decode instruction ourself. > Any reason to not just always decode the instruction then? Regards, Anthony Liguori