Received: from eggs.gnu.org ([2001:4830:134:3::10]:58097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2c0R-0004q9-Gb for qemu-devel@nongnu.org; Fri, 04 Nov 2016 06:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2c0N-0004tO-Qq for qemu-devel@nongnu.org; Fri, 04 Nov 2016 06:45:55 -0400 References: <1477825928-10803-1-git-send-email-david@gibson.dropbear.id.au> <1477825928-10803-5-git-send-email-david@gibson.dropbear.id.au> From: Thomas Huth Message-ID: Date: Fri, 4 Nov 2016 11:45:43 +0100 MIME-Version: 1.0 In-Reply-To: <1477825928-10803-5-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 04/17] pseries: Make cpu_update during CAS unconditional List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , nikunj@linux.vnet.ibm.com, aik@ozlabs.ru, mdroth@linux.vnet.ibm.com Cc: lvivier@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 30.10.2016 12:11, David Gibson wrote: > spapr_h_cas_compose_response() includes a cpu_update parameter which > controls whether it includes updated information on the CPUs in the device > tree fragment returned from the ibm,client-architecture-support (CAS) call. > > Providing the updated information is essential when CAS has negotiated > compatibility options which require different cpu information to be > presented to the guest. However, it should be safe to provide in other > cases (it will just override the existing data in the device tree with > identical data). This simplifies the code by removing the parameter and > always providing the cpu update information. But updating the CPU device tree again and again will also increase the QEMU start-up time... Considering that guest start up time is sometimes also an issue, do you think that this code simplification really worth the effort here? Thomas