Re: [Qemu-devel] [PATCH 07/16] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-22 Thread Michael S. Tsirkin
On Tue, Apr 16, 2013 at 12:12:47AM +0200, Igor Mammedov wrote: get_arch_id() adds possibility for generic code to get guest visible CPU ID without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it on target-i386 to return APIC ID. Signed-off-by:

Re: [Qemu-devel] [PATCH 07/16] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-22 Thread Andreas Färber
Am 16.04.2013 00:12, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPU ID without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it on target-i386 to return APIC ID. Signed-off-by: Igor Mammedov

Re: [Qemu-devel] [PATCH 07/16] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-22 Thread Igor Mammedov
On Mon, 22 Apr 2013 18:33:48 +0200 Andreas Färber afaer...@suse.de wrote: Am 16.04.2013 00:12, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPU ID without accessing CPUArchState. If target doesn't override it, it will return cpu_index.

Re: [Qemu-devel] [PATCH 07/16] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-18 Thread Eduardo Habkost
On Tue, Apr 16, 2013 at 12:12:47AM +0200, Igor Mammedov wrote: get_arch_id() adds possibility for generic code to get guest visible CPU ID without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it on target-i386 to return APIC ID. Signed-off-by:

Re: [Qemu-devel] [PATCH 07/16] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-18 Thread li guang
在 2013-04-16二的 00:12 +0200,Igor Mammedov写道: get_arch_id() adds possibility for generic code to get guest visible CPU ID without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it on target-i386 to return APIC ID. Signed-off-by: Igor Mammedov

[Qemu-devel] [PATCH 07/16] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-15 Thread Igor Mammedov
get_arch_id() adds possibility for generic code to get guest visible CPU ID without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it on target-i386 to return APIC ID. Signed-off-by: Igor Mammedov imamm...@redhat.com --- * it will be used later by new