Re: [Qemu-devel] [PATCH v4 8/8] xics_kvm: Add cpu_destroy method to XICS

2015-06-15 Thread David Gibson
On Fri, Jun 05, 2015 at 02:45:59PM +0530, Bharata B Rao wrote: > On Fri, Jun 05, 2015 at 06:09:38PM +1000, Alexey Kardashevskiy wrote: > > On 06/05/2015 02:25 PM, Bharata B Rao wrote: > > >XICS is setup for each CPU during initialization. Provide a routine > > >to undo the same when CPU is unplugge

Re: [Qemu-devel] [PATCH v4 8/8] xics_kvm: Add cpu_destroy method to XICS

2015-06-05 Thread Bharata B Rao
On Fri, Jun 05, 2015 at 06:09:38PM +1000, Alexey Kardashevskiy wrote: > On 06/05/2015 02:25 PM, Bharata B Rao wrote: > >XICS is setup for each CPU during initialization. Provide a routine > >to undo the same when CPU is unplugged. Also ensure xics reset doesn't set > >irq for CPUs that are already

Re: [Qemu-devel] [PATCH v4 8/8] xics_kvm: Add cpu_destroy method to XICS

2015-06-05 Thread Alexey Kardashevskiy
On 06/05/2015 02:25 PM, Bharata B Rao wrote: XICS is setup for each CPU during initialization. Provide a routine to undo the same when CPU is unplugged. Also ensure xics reset doesn't set irq for CPUs that are already unplugged. This allows reboot of a VM that has undergone CPU hotplug and unplu

[Qemu-devel] [PATCH v4 8/8] xics_kvm: Add cpu_destroy method to XICS

2015-06-04 Thread Bharata B Rao
XICS is setup for each CPU during initialization. Provide a routine to undo the same when CPU is unplugged. Also ensure xics reset doesn't set irq for CPUs that are already unplugged. This allows reboot of a VM that has undergone CPU hotplug and unplug to work correctly. Signed-off-by: Bharata B