Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-03-03 Thread Paolo Bonzini
On 03/03/2015 11:56, Alex Bennée wrote: This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a number of potential states for x86 we only use two for ARM. Either the process is running or not. By this

Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-03-03 Thread Alex Bennée
Peter Maydell peter.mayd...@linaro.org writes: On 3 March 2015 at 20:06, Paolo Bonzini pbonz...@redhat.com wrote: On 03/03/2015 11:56, Alex Bennée wrote: This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a

Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-03-03 Thread Paolo Bonzini
On 03/03/2015 17:30, Alex Bennée wrote: Right now this is not migrated on ARM if I remember correctly, but perhaps you'll want to add it in the future. ...which is why we don't need to migrate this: it just means that migration during WFI causes an unnecessary-wakeup, which is

Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-03-03 Thread Alex Bennée
Peter Maydell peter.mayd...@linaro.org writes: On 26 February 2015 at 01:02, Alex Bennée alex.ben...@linaro.org wrote: This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a number of potential states for x86 we

Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-03-03 Thread Peter Maydell
On 3 March 2015 at 20:06, Paolo Bonzini pbonz...@redhat.com wrote: On 03/03/2015 11:56, Alex Bennée wrote: This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a number of potential states for x86 we only use

Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-02-26 Thread Paolo Bonzini
On 25/02/2015 17:02, Alex Bennée wrote: +#if defined CONFIG_KVM +{ +.name = mp_state, +.version_id = 0, +.size = sizeof(uint32_t), +.info = vmstate_mpstate, +.flags = VMS_SINGLE, +.offset = 0, +},

[PATCH 1/6] target-arm: kvm: save/restore mp state

2015-02-25 Thread Alex Bennée
This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a number of potential states for x86 we only use two for ARM. Either the process is running or not. Signed-off-by: Alex Bennée alex.ben...@linaro.org diff --git

Re: [PATCH 1/6] target-arm: kvm: save/restore mp state

2015-02-25 Thread Peter Maydell
On 26 February 2015 at 01:02, Alex Bennée alex.ben...@linaro.org wrote: This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a number of potential states for x86 we only use two for ARM. Either the process is running