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
..
2015-04-21 15:21:29 +02:00
2014-07-28 15:22:21 +02:00
2014-08-14 12:48:11 +02:00
2014-12-11 21:15:06 -05:00
2014-11-12 16:31:46 +11:00
2014-09-25 23:14:43 +10:00
2014-07-28 15:23:17 +02:00
2015-02-05 13:35:30 -08:00
2014-06-24 14:05:32 +10:00
2014-10-08 20:15:37 +11:00
2014-06-11 17:03:28 +10:00
2014-12-15 10:46:40 +11:00
2015-01-23 14:02:50 +11:00
2015-04-01 12:05:44 +11:00
2014-10-15 07:48:18 +02:00
2014-05-23 08:28:02 +09:00
2014-05-20 10:54:06 +10:00
2014-05-30 14:26:25 +02:00
2014-09-30 17:15:20 +10:00
2014-06-11 17:04:33 +10:00
2015-01-23 14:02:54 +11:00
2014-11-17 17:55:11 +11:00
2014-08-05 16:33:48 +10:00
2014-10-30 16:52:46 +11:00
2014-06-25 18:49:40 -05:00
2014-11-07 18:10:47 -06: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
2014-11-14 17:24:21 +11:00
2014-07-28 15:22:19 +02:00
2014-05-20 10:54:06 +10:00
2014-08-05 16:33:48 +10:00
2014-09-25 23:14:43 +10:00
2014-12-11 17:48:14 -08:00
2015-03-04 13:19:33 +11:00
2015-02-23 14:52:04 +11:00
2014-09-25 23:14:43 +10:00
2014-07-28 14:11:23 +10:00
2014-07-11 16:05:58 +10:00
2014-12-10 15:17:46 -05:00
2014-12-29 15:44:53 +11:00
2015-01-23 14:02:51 +11:00
2014-09-22 10:11:34 +02:00
2015-04-21 15:21:31 +02:00
2014-05-30 14:26:22 +02:00
2015-04-21 15:21:28 +02:00
2014-09-22 10:11:36 +02:00
2015-04-21 15:21:32 +02:00
2015-04-21 15:21:29 +02:00
2014-12-05 16:26:15 +11:00
2014-07-28 14:10:23 +10:00
2014-11-07 18:10:42 -06:00
2014-07-28 15:23:13 +02:00
2014-12-05 16:26:15 +11:00
2014-07-28 14:10:23 +10:00
2014-04-23 10:05:34 +10:00
2014-07-02 17:32:41 -05:00
2014-09-19 15:20:42 -05:00
2015-02-04 13:08:25 +11:00
2014-07-28 14:10:25 +10:00
2014-12-15 10:46:41 +11:00
2014-10-02 16:04:21 +10:00
2014-11-14 17:24:21 +11:00
2015-01-29 19:56:15 -06:00
2014-05-27 16:23:58 -06:00
2014-07-28 14:30:47 +10:00
2014-10-15 11:23:20 +11:00
2014-11-17 10:12:42 +00:00
2015-02-16 17:56:05 -08:00
2014-11-14 17:24:21 +11:00
2014-11-14 17:24:21 +11:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:05 -08:00
2014-10-07 22:01:56 +11:00
2015-02-02 14:51:31 +11:00
2014-06-26 13:19:42 +02:00
2015-03-20 14:51:53 +11:00
2014-04-28 17:34:32 +10:00
2014-12-15 10:46:41 +11:00
2014-09-25 23:14:43 +10:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:05 -08:00
2015-02-12 18:54:08 -08:00
2015-02-16 17:56:05 -08:00
2015-02-16 17:56:05 -08:00
2014-08-13 18:20:41 +10:00
2015-02-16 17:56:05 -08:00
2014-09-09 19:02:45 +10:00
2014-06-11 16:35:38 +10:00
2014-09-22 10:11:33 +02:00
2015-03-20 14:51:53 +11:00
2014-09-25 23:14:43 +10:00
2015-01-27 14:03:53 +11:00
2014-06-10 18:54:22 -07:00
2014-11-10 09:59:25 +11:00
2015-01-28 15:00:24 +11:00
2014-08-13 15:13:26 +10:00
2014-10-08 20:14:54 +11:00
2014-09-25 23:14:51 +10:00
2014-04-30 15:26:18 +10:00
2014-06-24 12:43:15 +10:00
2014-06-11 17:03:41 +10:00
2014-12-12 20:14:08 +11:00
2014-12-29 15:44:53 +11:00
2015-02-12 18:54:12 -08:00
2015-04-21 15:21:31 +02:00
2014-11-17 10:12:42 +00:00
2014-12-05 16:26:15 +11:00
2014-06-10 18:54:22 -07:00
2014-07-11 16:06:08 +10:00
2014-09-25 23:14:43 +10:00
2014-12-18 19:11:09 +11:00
2014-09-25 23:14:43 +10:00
2014-12-29 15:44:53 +11:00
2014-11-10 09:59:31 +11:00
2014-09-30 14:59:13 +10:00
2014-11-03 12:12:32 +11:00