Re: [Qemu-devel] [PATCH] pseries: Fix breakage in CPU QOM conversion

2013-03-15 Thread Andreas Färber
Am 15.03.2013 04:59, schrieb David Gibson: > Commit 259186a7d2f7184efc96ae99bc5658e6159f53ad "cpu: Move halted and > interrupt_request fields to CPUState" broke the pseries machine. That's > because it uses CPU() instead of ENV_GET_CPU() to convert from the global > first_cpu pointer (still a CPUA

Re: [Qemu-devel] [PATCH] pseries: Fix breakage in CPU QOM conversion

2013-03-15 Thread Alexander Graf
On 15.03.2013, at 04:59, David Gibson wrote: > Commit 259186a7d2f7184efc96ae99bc5658e6159f53ad "cpu: Move halted and > interrupt_request fields to CPUState" broke the pseries machine. That's > because it uses CPU() instead of ENV_GET_CPU() to convert from the global > first_cpu pointer (still a

[Qemu-devel] [PATCH] pseries: Fix breakage in CPU QOM conversion

2013-03-14 Thread David Gibson
Commit 259186a7d2f7184efc96ae99bc5658e6159f53ad "cpu: Move halted and interrupt_request fields to CPUState" broke the pseries machine. That's because it uses CPU() instead of ENV_GET_CPU() to convert from the global first_cpu pointer (still a CPUArchState) to a CPUState. This patch fixes the brea