Re: [Qemu-devel] [PATCH v2 01/18] target-i386: cpu: use uint32_t for X86CPU.apic_id

2016-07-04 Thread Michael S. Tsirkin
On Fri, Jun 24, 2016 at 06:05:49PM +0200, Igor Mammedov wrote: > redo > 9886e834 target-i386: Require APIC ID to be explicitly set before CPU realize Proper format: Redo 9886e834 ("target-i386: Require APIC ID to be explicitly set before CPU realize") in another ... > in another way that

[Qemu-devel] [PATCH v2 01/18] target-i386: cpu: use uint32_t for X86CPU.apic_id

2016-06-24 Thread Igor Mammedov
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 was set. Use the fact that 0x is the broadcast value that a CPU can't have and set default uint32_t apic_id to it instead of using int64