Pavel Hrdina
0a476f1521
conf: Introduce virDomainDefPostParseMemtune
...
Previously we were ignoring "nodeset" attribute for hugepage pages
if there was no guest NUMA topology configured in the domain XML.
Commit <fa6bdf6afa878b8d7c5ed71664ee72be8967cdc5> partially fixed
that issue but it introduced a somehow valid regression.
In case that there is no guest NUMA topology configured and the
"nodeset" attribute is set to "0" it was accepted and was working
properly even though it was not completely valid XML.
This patch introduces a workaround that it will ignore the nodeset="0"
only in case that there is no guest NUMA topology in order not to
hit the validation error.
After this commit the following XML configuration is valid:
<memoryBacking>
<hugepages>
<page size='2048' unit='KiB' nodeset='0'/>
</hugepages>
</memoryBacking>
but this configuration remains invalid:
<memoryBacking>
<hugepages>
<page size='2048' unit='KiB' nodeset='0'/>
<page size='1048576' unit='KiB'/>
</hugepages>
</memoryBacking>
The issue with the second configuration is that it was originally
working, however changing the order of the <page> elements resolved
into using different page size for the guest. The code is written
in a way that it expect only one page configured and always uses only
the first page in case that there is no guest NUMA topology configured.
See qemuBuildMemPathStr() function for details.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1591235
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2018-08-10 17:06:48 +02:00
..
2018-03-13 13:05:43 +01:00
2018-02-13 14:40:03 +01:00
2018-02-13 14:40:02 +01:00
2018-02-13 14:40:03 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-01-29 09:08:38 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-04-06 14:12:25 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-08-10 07:16:03 +02:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:34 +02:00
2018-07-23 15:32:34 +02:00
2017-12-05 14:52:49 +01:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2017-12-05 14:52:49 +01:00
2018-07-23 15:32:33 +02:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:34 +02:00
2018-07-23 15:32:35 +02:00
2018-07-23 15:32:35 +02:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2018-07-23 15:32:33 +02:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-07-03 16:32:42 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-08-10 07:16:03 +02:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-05-11 09:02:56 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-06-05 08:14:00 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-05-25 08:04:34 -04:00
2018-05-25 08:04:34 -04:00
2018-05-25 08:04:34 -04:00
2018-05-25 08:04:34 -04:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-07-18 18:16:07 +02:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-07-18 18:16:07 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-07-18 13:27:07 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-07-18 18:16:08 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-01-20 22:01:24 -05:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-05-14 12:27:44 -04:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-23 19:40:20 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-08-10 07:16:03 +02:00
2018-08-10 07:16:03 +02:00
2017-12-05 14:52:49 +01:00
2018-06-05 08:11:12 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-08-10 07:16:03 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2018-08-10 17:06:48 +02:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-04-23 15:20:54 +02:00
2018-04-23 15:20:54 +02:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-07-03 09:46:59 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-08-10 17:06:48 +02:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-06-18 19:27:49 -04:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2017-12-05 14:52:49 +01:00
2018-05-23 09:51:53 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-06-06 10:48:41 -04:00
2018-06-06 10:48:41 -04:00
2018-05-03 11:28:42 -04:00
2017-12-05 14:52:49 +01:00
2018-06-08 10:28:46 +02:00
2018-06-08 10:28:46 +02:00
2018-06-08 10:28:46 +02:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-08-10 07:16:03 +02:00
2017-12-05 14:52:49 +01:00
2018-06-01 14:31:19 +02:00
2018-08-07 15:02:59 +02:00
2018-08-07 15:02:59 +02:00
2018-05-29 15:42:03 +02:00
2017-12-05 14:52:49 +01:00
2018-07-18 18:23:51 +02:00
2018-03-13 13:05:43 +01:00
2018-03-13 13:05:43 +01:00
2018-03-23 19:40:20 +01:00
2018-03-23 19:40:20 +01:00
2017-12-05 14:52:49 +01:00
2018-05-15 16:50:38 -04:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2018-05-03 16:37:41 -04:00
2017-12-05 14:52:49 +01:00