[Qemu-devel] [PATCH 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Paolo Bonzini
On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific code for CPU_INTERRUPT_RESET to other targets, and provide a function that will raise the interrupt on all CPUs.

Re: [Qemu-devel] [PATCH 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Anthony Liguori
Paolo Bonzini pbonz...@redhat.com writes: On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific code for CPU_INTERRUPT_RESET to other targets, and provide a

Re: [Qemu-devel] [PATCH 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Andreas Färber
Am 05.03.2013 16:38, schrieb Anthony Liguori: Paolo Bonzini pbonz...@redhat.com writes: On the x86, some devices need access to the CPU reset pin (INIT#). Provide a generic service to do this, using one of the internal cpu_interrupt targets. Generalize the PPC-specific code for

Re: [Qemu-devel] [PATCH 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Paolo Bonzini
Il 05/03/2013 17:10, Andreas Färber ha scritto: I would like to take this through qom-cpu please since I already changed cpu_interrupt() to CPUState with my last patch series, for which the prereqs got an Rb now. cpu_soft_reset() still needs to live outside qom/cpu.c due to the CPU

Re: [Qemu-devel] [PATCH 1/3] cpu: make CPU_INTERRUPT_RESET available on all targets

2013-03-05 Thread Laszlo Ersek
Comments in-line. (In advance, can you please change your format-series alias so that format-patch gets -O/abs/path/to/order-file, where order-file puts *.h before *.c? Thanks.) On 03/05/13 16:04, Paolo Bonzini wrote On the x86, some devices need access to the CPU reset pin (INIT#). Provide a