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