From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LupB2-00070a-AL for qemu-devel@nongnu.org; Fri, 17 Apr 2009 10:36:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LupAx-0006zu-Tz for qemu-devel@nongnu.org; Fri, 17 Apr 2009 10:36:24 -0400 Received: from [199.232.76.173] (port=47914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LupAx-0006zq-Li for qemu-devel@nongnu.org; Fri, 17 Apr 2009 10:36:19 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.142]:42104) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LupAx-00043i-2Q for qemu-devel@nongnu.org; Fri, 17 Apr 2009 10:36:19 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e2.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3HEWrxg027679 for ; Fri, 17 Apr 2009 10:32:53 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3HEaH9a198136 for ; Fri, 17 Apr 2009 10:36:17 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3HEaHrK002212 for ; Fri, 17 Apr 2009 10:36:17 -0400 Received: from squirrel.codemonkey.ws (sig-9-76-192-159.mts.ibm.com [9.76.192.159]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n3HEaG2B002164 for ; Fri, 17 Apr 2009 10:36:17 -0400 Message-ID: <49E893DF.7050304@us.ibm.com> Date: Fri, 17 Apr 2009 09:36:15 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 5/7 v2] kvm: improve handling of overlapping slots References: <20090411172025.32383.77687.stgit@mchn012c.ww002.siemens.net> <20090411172026.32383.83446.stgit@mchn012c.ww002.siemens.net> <49E31B4F.90201@web.de> In-Reply-To: <49E31B4F.90201@web.de> 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 Jan Kiszka wrote: > This reworks the slot management to handle all patterns of > cpu_register_physical_memory*, finally allowing to reset KVM guests (so > far address remapping on reset broke the slot management). > > Nevertheless, KVM kernel bug in older versions forces us to track > previousfragmentations and maintain them (as that bug prevents > registering larger slots that overlap also deleted ones). When affected > KVM versions are detected, we apply a workaround that covers all > currently used patterns. > > Changes in v2: > - detect KVM kernel bug and apply the workaround only when needed > > Signed-off-by: Jan Kiszka > Please resubmit this as a patch against v1. Regards, Anthony Liguori