Re: [Qemu-devel] [PATCH] spapr: compute interrupt vector address from LPCR

2016-03-28 Thread David Gibson
On Thu, Mar 24, 2016 at 04:28:53PM +0100, Cédric Le Goater wrote: > This address is changed by the linux kernel using the H_SET_MODE hcall > and needs to be migrated in order to restart a spapr VM running in > TCG. This can be done using the AIL bits from the LPCR register. > > The patch introduce

[Qemu-devel] [PATCH] spapr: compute interrupt vector address from LPCR

2016-03-24 Thread Cédric Le Goater
This address is changed by the linux kernel using the H_SET_MODE hcall and needs to be migrated in order to restart a spapr VM running in TCG. This can be done using the AIL bits from the LPCR register. The patch introduces a spapr_h_set_mode_resource_addr() helper to share some code with the H_SE