Re: [PATCH 1/1] KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()

2017-10-03 Thread Radim Krčmář
2017-10-02, David Gibson: > Paolo, > > Here's BenH's ack. Again, this is a pretty important fix for us, and > Paulus is away. Can you take this into the KVM tree please. Applied to kvm/master, thanks. (Turns out I'm not on any cc'd list, so the author date might be off.)

Re: [PATCH 1/1] KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()

2017-10-02 Thread David Gibson
On Thu, Sep 28, 2017 at 10:07:13AM +0200, Benjamin Herrenschmidt wrote: > On Thu, 2017-09-28 at 11:45 +1000, David Gibson wrote: > > On Tue, Sep 26, 2017 at 04:47:04PM +1000, Sam Bobroff wrote: > > > In KVM's XICS-on-XIVE emulation, kvmppc_xive_get_xive() returns the > > > value of

Re: [PATCH 1/1] KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()

2017-09-28 Thread Benjamin Herrenschmidt
On Thu, 2017-09-28 at 11:45 +1000, David Gibson wrote: > On Tue, Sep 26, 2017 at 04:47:04PM +1000, Sam Bobroff wrote: > > In KVM's XICS-on-XIVE emulation, kvmppc_xive_get_xive() returns the > > value of state->guest_server as "server". However, this value is not > > set by it's counterpart

Re: [PATCH 1/1] KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()

2017-09-27 Thread David Gibson
On Tue, Sep 26, 2017 at 04:47:04PM +1000, Sam Bobroff wrote: > In KVM's XICS-on-XIVE emulation, kvmppc_xive_get_xive() returns the > value of state->guest_server as "server". However, this value is not > set by it's counterpart kvmppc_xive_set_xive(). When the guest uses > this interface to

[PATCH 1/1] KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()

2017-09-26 Thread Sam Bobroff
In KVM's XICS-on-XIVE emulation, kvmppc_xive_get_xive() returns the value of state->guest_server as "server". However, this value is not set by it's counterpart kvmppc_xive_set_xive(). When the guest uses this interface to migrate interrupts away from a CPU that is going offline, it sees all