Files
linux-apfs/arch/powerpc/include/asm
Paul Mackerras 5d5b99cd68 KVM: PPC: Book3S HV: Get rid of vcore nap_count and n_woken
We can tell when a secondary thread has finished running a guest by
the fact that it clears its kvm_hstate.kvm_vcpu pointer, so there
is no real need for the nap_count field in the kvmppc_vcore struct.
This changes kvmppc_wait_for_nap to poll the kvm_hstate.kvm_vcpu
pointers of the secondary threads rather than polling vc->nap_count.
Besides reducing the size of the kvmppc_vcore struct by 8 bytes,
this also means that we can tell which secondary threads have got
stuck and thus print a more informative error message.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-04-21 15:21:32 +02:00
..
2014-08-14 12:48:11 +02:00
2015-01-23 14:02:50 +11:00
2014-11-17 17:55:11 +11:00
2014-06-25 18:49:40 -05:00
2015-01-12 05:04:13 -08:00
2015-02-03 18:47:18 +01:00
2014-11-03 12:12:32 +11:00
2015-02-23 14:52:04 +11:00
2014-07-28 14:10:23 +10:00
2014-11-07 18:10:42 -06:00
2014-07-28 14:10:23 +10:00
2014-06-26 13:19:42 +02:00
2014-11-10 09:59:25 +11:00
2015-01-28 15:00:24 +11:00
2014-06-24 12:43:15 +10:00
2014-07-11 16:06:08 +10:00
2014-11-03 12:12:32 +11:00