Andrea Bolognani
4fe4ffdbdf
tests: Create full host NUMA topology in more cases
...
vircapstest has code to add a full host NUMA topology, that
is, one that includes all information about nodes and CPUs
including IDs; testQemuCapsInit(), which is used to create a
mock virCapsPtr for QEMU tests, however, just fakes it by
setting nnumaCell_max to some number.
While the latter approach has served us well so far, we're
going to need all the information to be filled in soon. In
order to do that, we can just move the existing code from
vircapstest to testutils and, with some renaming and
trivial tweaking, use it as-is.
Interestingly, the NUMA topology generated by the function
is rigged up so that the NUMA nodes aren't (necessarily)
numbered starting from 0, which is a nice way to spot
mistaken assumptions in our codebase.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2018-04-19 17:57:52 +02:00
..
2017-02-11 06:51:28 +04:00
2017-08-06 09:24:26 +04:00
2017-08-06 09:24:26 +04:00
2017-04-11 14:06:47 +02:00
2017-11-20 13:22:48 +01:00
2018-04-18 11:39:53 +02:00
2018-03-23 20:27:52 +01:00
2017-04-11 14:06:47 +02:00
2017-11-07 14:58:04 +01:00
2018-03-13 13:54:06 +01:00
2017-01-18 06:31:54 -05:00
2018-02-02 14:51:32 +01:00
2018-02-02 14:51:32 +01:00
2018-04-17 21:15:27 -06:00
2017-07-11 10:41:24 +02:00
2017-03-21 11:25:59 -04:00
2017-03-21 11:25:59 -04:00
2017-03-21 11:25:59 -04:00
2017-09-18 08:32:24 -04:00
2016-12-06 13:34:00 +01:00
2017-12-07 09:21:04 +00:00
2017-12-07 09:21:04 +00:00
2017-12-05 14:52:49 +01:00
2018-01-31 11:32:04 -05:00
2018-04-19 11:20:34 +02:00
2017-11-30 16:49:05 +01:00
2017-10-27 14:43:21 +02:00
2018-03-19 21:22:43 +01:00
2017-07-15 14:50:42 +02:00
2018-04-17 10:46:23 +02:00
2018-04-17 12:45:26 -04:00
2018-04-17 10:46:23 +02:00
2018-04-19 11:20:34 +02:00
2018-04-03 15:48:38 +02:00
2018-04-06 14:12:25 +02:00
2018-04-11 11:47:33 -06:00
2017-03-29 10:36:55 +02:00
2017-03-29 10:36:55 +02:00
2018-04-11 10:15:58 +02:00
2017-03-08 13:22:33 -05:00
2017-03-08 13:22:33 -05:00
2018-03-14 17:43:40 +01:00
2018-01-25 17:16:08 +01:00
2017-07-13 09:37:52 +02:00
2017-10-16 10:22:34 +01:00
2017-07-26 15:33:45 +02:00
2018-01-11 14:23:09 +01:00
2017-07-11 14:24:17 +02:00
2017-08-03 09:54:36 +02:00
2018-02-02 13:00:48 +00:00
2018-01-25 17:16:08 +01:00
2017-04-04 16:36:15 +02:00
2018-04-01 12:43:42 +02:00
2018-04-17 21:15:27 -06:00
2018-04-11 11:47:33 -06:00
2018-04-09 11:33:30 -06:00
2017-02-14 10:54:29 +01:00
2018-02-19 13:15:00 -05:00
2017-11-03 13:24:12 +01:00
2018-02-22 13:52:45 +01:00
2018-02-22 13:52:45 +01:00
2018-03-13 15:32:31 +01:00
2017-09-19 16:04:53 +02:00
2017-09-21 08:55:07 +01:00
2017-11-20 13:22:48 +01:00
2018-04-18 11:39:53 +02:00
2018-03-23 20:27:52 +01:00
2017-11-03 13:24:12 +01:00
2018-03-13 13:54:06 +01:00
2017-11-03 13:24:12 +01:00
2017-04-27 14:13:19 +02:00
2017-04-11 13:23:01 +02:00
2017-04-28 14:17:10 +02:00
2018-03-13 13:54:11 +01:00
2017-11-03 13:24:12 +01:00
2018-04-17 21:15:27 -06:00
2017-11-03 13:24:12 +01:00
2018-03-13 13:54:11 +01:00
2018-04-18 10:02:14 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2016-12-06 13:33:18 +01:00
2016-12-06 13:34:00 +01:00
2017-11-03 13:24:12 +01:00
2017-04-19 10:51:51 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-09-20 11:52:56 +02:00
2017-09-19 16:04:53 +02:00
2017-11-03 13:24:12 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-04-03 13:34:33 +02:00
2018-04-10 15:16:44 +02:00
2017-11-03 13:24:12 +01:00
2018-03-01 19:04:19 +01:00
2018-04-10 15:16:23 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-07-26 15:35:24 +02:00
2018-03-23 14:52:07 +01:00
2018-02-02 14:52:23 -05:00
2018-04-17 10:46:23 +02:00
2018-04-17 12:45:26 -04:00
2017-11-03 13:24:12 +01:00
2018-04-17 12:45:26 -04:00
2018-04-17 12:45:26 -04:00
2018-03-23 14:52:07 +01:00
2018-04-17 14:02:09 +02:00
2018-04-19 11:20:34 +02:00
2018-04-17 14:49:21 +02:00
2017-04-04 17:30:03 +02:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-04-09 11:34:35 -06:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-01-31 18:34:48 +00:00
2017-11-03 13:24:12 +01:00
2018-03-12 20:04:08 +04:00
2017-05-15 12:34:19 +02:00
2018-04-19 17:57:52 +02:00
2018-04-19 17:57:52 +02:00
2017-07-26 15:35:02 +02:00
2018-04-19 17:57:52 +02:00
2018-04-19 11:20:34 +02:00
2018-03-23 14:52:07 +01:00
2018-03-23 14:52:07 +01:00
2018-04-09 11:37:15 -06:00
2018-04-09 11:37:15 -06:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2018-02-05 16:08:57 +01:00
2017-11-03 13:24:12 +01:00
2017-11-22 11:27:40 +01:00
2018-04-19 17:57:52 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-09 08:04:26 -07:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-08-03 09:54:36 +02:00
2018-04-09 11:37:15 -06:00
2017-04-04 17:30:03 +02:00
2017-07-26 15:33:45 +02:00
2018-04-18 10:04:55 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-05-09 13:12:40 +02:00
2017-11-03 13:24:12 +01:00
2018-04-11 11:18:37 +02:00
2017-04-27 14:13:19 +02:00
2018-01-10 17:34:37 -05:00
2017-11-24 11:47:26 -05:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2018-04-04 15:08:32 +02:00
2018-03-12 16:30:49 +01:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-04-18 09:59:52 +02:00
2018-02-02 13:00:48 +00:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2018-02-02 13:00:48 +00:00
2017-08-30 10:50:17 +02:00
2018-03-06 10:09:44 +00:00
2017-11-03 13:24:12 +01:00
2018-03-06 10:09:44 +00:00
2017-05-09 13:12:40 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2018-02-22 13:52:45 +01:00
2017-02-19 06:45:09 -05:00
2018-01-25 17:16:08 +01:00
2017-04-04 17:30:03 +02:00
2018-04-09 11:37:15 -06:00
2017-11-03 13:24:12 +01:00
2017-04-11 14:06:47 +02:00
2017-04-13 10:14:42 +02:00
2018-02-13 10:27:32 -05:00
2018-02-14 16:04:46 +01:00
2017-11-03 13:24:12 +01:00
2018-01-04 09:29:49 +01:00
2017-11-03 13:24:12 +01:00
2018-03-23 07:14:58 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-10-05 09:09:50 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-04-01 12:43:42 +02:00
2018-04-17 21:15:27 -06:00
2018-04-09 11:36:17 -06:00
2018-04-09 11:33:30 -06:00
2017-11-03 13:24:12 +01:00