Received: from eggs.gnu.org ([2001:4830:134:3::10]:33311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMnDQ-0007Jy-7g for qemu-devel@nongnu.org; Mon, 11 Jul 2016 22:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMnDN-0006vs-1h for qemu-devel@nongnu.org; Mon, 11 Jul 2016 22:14:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMnDM-0006vn-SS for qemu-devel@nongnu.org; Mon, 11 Jul 2016 22:14:24 -0400 Date: Mon, 11 Jul 2016 23:14:15 -0300 From: Eduardo Habkost Message-ID: <20160712021415.GA19132@thinpad.lan.raisama.net> References: <1467786055-85835-1-git-send-email-imammedo@redhat.com> <1467786055-85835-2-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467786055-85835-2-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 01/19] target-i386: cpu: use uint32_t for X86CPU.apic_id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, pkrempa@redhat.com, mst@redhat.com, armbru@redhat.com, eduardo.otubo@profitbricks.com, marcel@redhat.com, pbonzini@redhat.com, rth@twiddle.net On Wed, Jul 06, 2016 at 08:20:37AM +0200, Igor Mammedov wrote: > Redo 9886e834 (target-i386: Require APIC ID to be explicitly set before > CPU realize) in another way that doesn't use int64_t to detect > if apic-id property has been set. > > Use the fact that 0xFFFFFFFF is the broadcast > value that a CPU can't have and set default > uint32_t apic_id to it instead of using int64_t. > > Later uint32_t apic_id will be used to drop custom > property setter/getter in favor of static property. > > Signed-off-by: Igor Mammedov Reviewed-by: Eduardo Habkost Applied to x86-next. Thanks. -- Eduardo