Michal Privoznik
4b3dc045b9
conf: Deduplicate NUMA distance code
...
After previous patches we have two structures:
virCapsHostNUMACellDistance and virNumaDistance which express the
same thing. And have the exact same members (modulo their names).
Drop the former in favor of the latter.
This change means that distances with value of 0 are no longer
printed out into capabilities XML, because domain XML code allows
partial distance specification and thus threats value of 0 as
unspecified by user (see virDomainNumaGetNodeDistance() which
returns the default LOCAL/REMOTE distance for value of 0).
Also, from ACPI 6.1 specification, section 5.2.17 System Locality
Distance Information Table (SLIT):
Distance values of 0-9 are reserved and have no meaning.
Thus we shouldn't be ever reporting 0 in neither domain nor
capabilities XML.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2021-05-24 19:57:45 +02:00
..
2020-08-03 09:27:06 +02:00
2020-09-25 16:00:06 +02:00
2020-08-03 09:27:06 +02:00
2021-04-13 17:00:38 +02:00
2020-08-03 09:27:06 +02:00
2021-05-24 12:47:15 +02:00
2020-10-05 10:28:37 +01:00
2021-05-20 16:24:06 +02:00
2021-05-24 19:57:45 +02:00
2020-09-01 21:58:46 +02:00
2021-03-15 17:31:35 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-03-15 17:31:35 +01:00
2021-03-15 17:31:35 +01:00
2021-03-15 17:31:57 +01:00
2021-03-23 17:55:06 +01:00
2020-09-01 21:58:46 +02:00
2021-03-15 17:32:27 +01:00
2020-09-01 21:58:46 +02:00
2021-02-10 13:37:12 +01:00
2020-07-03 11:00:51 +02:00
2021-04-13 17:00:38 +02:00
2020-08-03 09:27:09 +02:00
2021-03-16 10:49:33 +01:00
2020-09-01 21:58:46 +02:00
2020-09-10 09:13:52 +02:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-06-03 13:38:33 +02:00
2020-04-08 09:32:35 +02:00
2020-11-16 14:04:04 +01:00
2021-04-09 13:48:54 +02:00
2020-01-27 11:04:29 +00:00
2020-10-12 15:26:00 +04:00
2020-10-05 10:28:37 +01:00
2020-11-09 15:26:02 +00:00
2021-03-12 10:52:41 +01:00
2020-11-11 16:56:33 +01:00
2020-09-01 21:58:46 +02:00
2021-05-03 12:14:44 +02:00
2020-01-27 17:36:05 +01:00
2020-09-01 21:58:46 +02:00
2021-03-24 14:24:55 +03:00
2020-09-01 21:58:46 +02:00
2021-03-12 10:52:51 +01:00
2020-11-04 17:21:45 +01:00
2020-10-05 10:28:37 +01:00
2020-12-08 15:12:34 +01:00
2020-01-16 15:11:42 +00:00
2020-12-04 16:15:03 +01:00
2021-05-21 14:29:09 +02:00
2021-05-18 14:33:21 +02:00
2021-01-26 14:29:48 +01:00
2021-04-01 13:32:25 +02:00
2021-05-20 11:10:08 +02:00
2020-11-04 17:21:45 +01:00
2020-01-28 18:10:36 +01:00
2021-01-08 15:27:00 +01:00
2021-05-21 14:00:43 +02:00
2020-12-02 16:15:43 +01:00
2021-01-05 13:54:11 +01:00
2020-08-03 18:41:11 +02:00
2020-10-02 14:10:44 +02:00
2020-10-02 14:10:40 +02:00
2020-10-05 10:28:37 +01:00
2021-02-03 16:33:18 +00:00
2020-09-01 21:58:46 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-07 14:07:33 +02:00
2020-07-07 14:07:33 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-11-16 14:04:04 +01:00
2020-09-01 21:58:46 +02:00
2021-04-06 17:00:11 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2021-01-05 13:40:25 +01:00
2020-08-04 17:06:33 +01:00
2020-06-11 12:03:41 +02:00
2020-07-10 16:07:02 +02:00
2020-09-01 21:58:46 +02:00
2020-11-16 14:04:04 +01:00
2021-04-15 15:42:21 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2021-04-12 16:09:41 +02:00
2020-11-12 15:01:42 +01:00
2020-04-20 14:06:25 +01:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-08-04 17:06:33 +01:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-07-10 16:07:02 +02:00
2020-05-11 13:55:27 +02:00
2020-10-09 09:12:39 +02:00
2020-08-04 17:06:33 +01:00
2020-06-03 13:38:33 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2021-02-16 08:35:09 +01:00
2021-02-05 16:02:22 +01:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00