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

2013-04-15 Thread Andreas Färber
Am 11.04.2013 16:51, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPI 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 08/19] cpu: introduce get_arch_id() method and override it for target-i386

2013-04-15 Thread Igor Mammedov
On Mon, 15 Apr 2013 17:24:36 +0200 Andreas Färber afaer...@suse.de wrote: Am 11.04.2013 16:51, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPI id without accessing CPUArchState. If target doesn't override it, it will return cpu_index.

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

2013-04-15 Thread Andreas Färber
Am 15.04.2013 17:34, schrieb Igor Mammedov: On Mon, 15 Apr 2013 17:24:36 +0200 Andreas Färber afaer...@suse.de wrote: Am 11.04.2013 16:51, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPI id without accessing CPUArchState. If target doesn't

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

2013-04-15 Thread Eduardo Habkost
On Mon, Apr 15, 2013 at 05:24:36PM +0200, Andreas Färber wrote: Am 11.04.2013 16:51, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPI id without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it

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

2013-04-15 Thread Igor Mammedov
On Mon, 15 Apr 2013 12:47:52 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Mon, Apr 15, 2013 at 05:24:36PM +0200, Andreas Färber wrote: Am 11.04.2013 16:51, schrieb Igor Mammedov: get_arch_id() adds possibility for generic code to get guest visible CPI id without accessing

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

2013-04-12 Thread Igor Mammedov
On Thu, 11 Apr 2013 16:04:26 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Thu, Apr 11, 2013 at 04:51:47PM +0200, Igor Mammedov wrote: get_arch_id() adds possibility for generic code to get guest visible CPI id without accessing CPUArchState. If target doesn't override it, it will

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

2013-04-12 Thread Eduardo Habkost
On Fri, Apr 12, 2013 at 12:31:22PM +0200, Igor Mammedov wrote: On Thu, 11 Apr 2013 16:04:26 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Thu, Apr 11, 2013 at 04:51:47PM +0200, Igor Mammedov wrote: get_arch_id() adds possibility for generic code to get guest visible CPI id

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

2013-04-11 Thread Igor Mammedov
get_arch_id() adds possibility for generic code to get guest visible CPI 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

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

2013-04-11 Thread Eduardo Habkost
On Thu, Apr 11, 2013 at 04:51:47PM +0200, Igor Mammedov wrote: get_arch_id() adds possibility for generic code to get guest visible CPI id without accessing CPUArchState. If target doesn't override it, it will return cpu_index. Override it on target-i386 to return APIC ID. The code