Michal Privoznik
3fd64fb0e2
virDomainMemoryDefValidate: Check for overlapping memory devices
...
As of v9.4.0-rc2~5 it is possible to specify guest address where
a virtio-mem/virtio-pmem memory device is mapped to. What that
commit forgot to introduce was a check for overlaps.
And yes, this is technically an O(n^2) algorithm, as
virDomainMemoryDefValidate() is called over each memory device
and after this, virDomainMemoryDefValidate() also iterates over
each memory device. But given there's usually only a handful of
such devices, and this runs only when parsing domain XML I guess
code readability wins over some less obvious solution.
Resolves: https://issues.redhat.com/browse/RHEL-4452
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-09-22 16:37:10 +02:00
..
2023-08-25 10:07:36 +02:00
2023-02-14 13:59:45 +01:00
2023-06-29 11:51:27 +02:00
2023-05-16 10:26:33 +02:00
2023-05-16 10:26:33 +02:00
2023-09-06 20:35:45 +02:00
2023-03-06 20:55:49 +01:00
2023-09-04 16:01:24 +02:00
2023-09-04 16:01:24 +02:00
2023-03-10 11:01:42 -07:00
2023-08-24 13:46:22 +02:00
2023-06-05 13:23:06 +02:00
2023-06-05 13:23:06 +02:00
2023-07-20 15:23:34 +02:00
2023-09-19 14:28:49 -05:00
2023-09-12 11:06:41 -05:00
2023-09-01 12:09:04 +02:00
2023-07-20 15:23:43 +02:00
2023-07-20 15:23:24 +02:00
2023-08-21 13:51:26 +02:00
2023-09-04 10:31:52 +02:00
2023-08-17 17:22:09 +02:00
2023-08-17 17:22:09 +02:00
2023-04-20 08:37:22 +02:00
2023-09-19 14:28:50 -05:00
2023-09-19 14:28:50 -05:00
2023-09-22 16:37:10 +02:00
2023-09-06 14:09:45 +02:00
2023-04-06 12:48:22 +02:00
2023-03-15 12:46:21 +01:00
2023-03-10 11:02:02 -07:00
2023-07-20 11:22:08 +02:00
2023-02-14 13:59:45 +01:00
2023-08-24 12:45:00 +02:00
2023-03-06 20:55:50 +01:00
2023-07-19 08:42:08 +02:00
2023-07-20 15:22:20 +02:00
2023-09-04 16:01:24 +02:00
2023-08-03 16:41:19 +02:00
2023-03-10 11:01:42 -07:00
2023-09-19 14:28:50 -05:00
2023-08-25 12:36:37 +02:00
2023-08-24 13:46:22 +02:00
2023-08-03 16:41:19 +02:00
2023-08-03 16:41:19 +02:00
2023-06-05 13:23:06 +02:00
2023-07-20 15:23:34 +02:00
2023-09-19 14:28:49 -05:00
2023-04-03 09:19:06 +02:00
2023-04-03 09:19:06 +02:00
2023-04-03 09:19:07 +02:00
2023-07-20 15:23:43 +02:00
2023-07-20 15:23:24 +02:00
2023-08-21 13:51:27 +02:00
2023-09-12 11:06:41 -05:00
2023-09-04 10:31:52 +02:00
2023-07-20 15:23:16 +02:00
2023-04-03 09:19:06 +02:00
2023-08-03 16:41:19 +02:00
2023-08-03 16:41:19 +02:00
2023-06-05 13:20:12 +02:00
2023-09-19 14:28:50 -05:00
2023-03-06 20:55:50 +01:00
2023-09-06 14:09:46 +02:00
2023-09-12 11:06:41 -05:00
2023-09-22 16:37:10 +02:00
2023-09-06 14:09:45 +02:00
2023-03-03 13:52:37 +01:00
2023-09-06 14:09:42 +02:00
2023-08-03 16:41:19 +02:00
2023-07-20 14:59:57 +02:00
2023-03-03 13:52:37 +01:00
2023-03-06 20:55:50 +01:00
2023-09-19 14:28:50 -05:00
2023-09-19 14:28:50 -05:00
2023-06-05 13:20:13 +02:00
2023-04-03 09:19:07 +02:00
2023-04-03 09:19:06 +02:00
2023-04-06 12:48:22 +02:00
2023-03-13 13:29:07 +01:00
2023-03-03 13:52:37 +01:00
2023-04-03 08:21:27 +02:00
2023-04-01 11:40:35 +02:00
2023-05-10 14:44:22 +02:00
2023-04-04 10:52:15 +02:00
2023-08-03 16:41:19 +02:00
2023-08-24 23:36:18 -04:00
2023-08-24 13:47:41 +02:00
2023-05-16 08:48:17 +02:00
2023-03-13 13:29:07 +01:00
2023-08-03 16:41:19 +02:00
2023-08-03 16:35:11 +02:00
2023-03-15 12:46:21 +01:00
2023-08-24 23:36:18 -04:00
2023-07-19 13:09:11 +02:00
2023-08-25 10:07:36 +02:00
2023-06-29 11:51:27 +02:00
2023-06-14 12:47:54 +02:00
2023-02-08 16:50:45 +01:00