[Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-04-16 Thread Igor Mammedov
From: Igor Mammedov Signed-off-by: Igor Mammedov --- target-i386/helper.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index de7637c..1996b97 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1134,6 +1134,

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-05-21 Thread Igor Mammedov
On 05/10/2012 01:15 AM, Andreas Färber wrote: Am 17.04.2012 12:28, schrieb Igor Mammedov: - Original Message - From: "Andreas Färber" ... I think the right name would be /machine/cpu[%d]/cpu. The local APIC for example should reside under /machine/cpu[%d]/apic. Depends on how we mo

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-05-21 Thread Jan Kiszka
On 2012-05-21 11:50, Igor Mammedov wrote: >> I've used cpu_index, but it seems cpuid_apic_id is assigned only once, >> from cpu_index, so it should be identical. What's the difference? > Once Jan voiced that user visible cpu id, should be apic_id in context of cpu > hotplug > (i.e. when doing: dev

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-04-17 Thread Paolo Bonzini
Il 17/04/2012 01:37, Igor Mammedov ha scritto: > From: Igor Mammedov > > Signed-off-by: Igor Mammedov > --- > target-i386/helper.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/target-i386/helper.c b/target-i386/helper.c > index de7637c..1996b97 100644 > ---

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-04-17 Thread Andreas Färber
Am 17.04.2012 09:19, schrieb Paolo Bonzini: > Il 17/04/2012 01:37, Igor Mammedov ha scritto: >> From: Igor Mammedov >> >> Signed-off-by: Igor Mammedov >> --- >> target-i386/helper.c |4 >> 1 files changed, 4 insertions(+), 0 deletions(-) >> >> diff --git a/target-i386/helper.c b/target-

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-04-17 Thread Igor Mammedov
- Original Message - > From: "Paolo Bonzini" > To: "Igor Mammedov" > Cc: qemu-devel@nongnu.org, afaer...@suse.de, aligu...@us.ibm.com, "jan > kiszka" > Sent: Tuesday, April 17, 2012 9:19:44 AM > Subject: Re: [PATCH RFC 6/6] target-i386: make cpus childs of /machine > > Il 17/04/2012 01

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-04-17 Thread Igor Mammedov
- Original Message - > From: "Andreas Färber" > To: "Paolo Bonzini" , "Igor Mammedov" > > Cc: qemu-devel@nongnu.org, aligu...@us.ibm.com, "jan kiszka" > > Sent: Tuesday, April 17, 2012 10:46:14 AM > Subject: Re: [PATCH RFC 6/6] target-i386: make cpus childs of /machine > > Am 17.04.201

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-05-09 Thread Andreas Färber
Am 17.04.2012 12:28, schrieb Igor Mammedov: > - Original Message - >> From: "Andreas Färber" >> To: "Paolo Bonzini" , "Igor Mammedov" >> >> Cc: qemu-devel@nongnu.org, aligu...@us.ibm.com, "jan kiszka" >> >> Sent: Tuesday, April 17, 2012 10:46:14 AM >> Subject: Re: [PATCH RFC 6/6] targe

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-05-09 Thread Paolo Bonzini
Il 10/05/2012 01:15, Andreas Färber ha scritto: > In particular I needed /machine/cpu[n] to pass the X86CPU to the APIC in > a sensible way - next commit on that branch, currently: > https://github.com/afaerber/qemu-cpu/commit/1134efc143aa1629f8961ef058416e1acfa50f8e Yay, thanks for doing that! P

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-05-10 Thread Andreas Färber
Am 10.05.2012 08:57, schrieb Paolo Bonzini: > Il 10/05/2012 01:15, Andreas Färber ha scritto: >> In particular I needed /machine/cpu[n] to pass the X86CPU to the APIC in >> a sensible way - next commit on that branch, currently: >> https://github.com/afaerber/qemu-cpu/commit/1134efc143aa1629f8961ef

Re: [Qemu-devel] [PATCH RFC 6/6] target-i386: make cpus childs of /machine

2012-05-10 Thread Paolo Bonzini
Il 10/05/2012 11:51, Andreas Färber ha scritto: >>> >> In particular I needed /machine/cpu[n] to pass the X86CPU to the APIC in >>> >> a sensible way - next commit on that branch, currently: >>> >> https://github.com/afaerber/qemu-cpu/commit/1134efc143aa1629f8961ef058416e1acfa50f8e >> > >> > Yay,