Huaqiang
1d0c3c3a62
cachetune schema: a looser check for the order of <cache> and <monitor> element
...
Originally, inside <cputune/cachetune>, it requires the <cache> element to
be in the position before <monitor>, and following configuration is not
permitted by schema, but it is better to let it be valid.
<cputune>
<cachetune vcpus='0-1'>
<monitor level='3' vcpus='0-1'/>
^
|__ Not permitted originally because it is in the place
before <cache> element.
<cache id='0' level='3' type='both' size='3' unit='MiB'/>
<cache id='1' level='3' type='both' size='3' unit='MiB'/>
</cachetune>
...
</cputune>
And, let schema do more strict check by identifying following configuration to
be invalid, due to <cachetune> should contain at least one <cache> or <monitor>
element.
<cputune>
<cachetune vcpus='0-1'>
^
|__ a <cachetune> SHOULD contain at least one <cache> or <monitor>
</cachetune>
...
</cputune>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Huaqiang <huaqiang.wang@intel.com>
2019-12-13 15:31:26 +00:00
..
2016-11-21 13:15:12 +01:00
2019-11-05 12:12:14 +01:00
2012-02-03 15:27:16 -07:00
2019-09-13 10:05:17 +01:00
2019-06-20 17:01:44 +02:00
2019-12-04 16:10:28 +00:00
2019-08-29 12:46:33 +01:00
2019-12-12 11:16:47 +00:00
2019-12-13 15:31:26 +00:00
2017-10-16 10:22:34 +01:00
2017-08-02 17:00:11 +01:00
2019-12-04 15:48:28 +00:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2019-08-28 13:39:26 +02:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2019-04-09 16:59:49 +02:00
2018-04-09 11:38:47 -06:00
2018-06-06 10:48:41 -04:00
2019-09-03 15:37:54 -06:00
2018-03-23 12:59:56 +01:00
2017-08-02 17:00:11 +01:00
2018-04-09 11:38:47 -06:00
2019-11-15 15:45:20 +01:00
2019-11-08 17:07:35 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2018-03-21 14:48:01 +00:00
2019-08-28 13:39:26 +02:00
2018-03-21 14:48:01 +00:00
2019-12-13 13:55:35 +00:00
2019-04-04 12:33:55 +01:00
2019-05-06 07:33:01 -04:00
2019-02-01 22:08:55 +04:00
2019-11-14 14:55:56 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2018-05-14 12:27:47 -04:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2019-12-11 16:01:20 +00:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-11-07 17:50:15 -05:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2019-07-09 10:27:19 +02:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2019-02-01 12:57:13 -05:00
2019-12-10 12:41:56 +01:00
2019-12-10 12:41:56 +01:00
2018-12-17 17:52:46 +01:00
2019-12-10 12:41:56 +01:00
2019-12-09 10:15:16 +00:00
2019-12-10 12:41:58 +01:00
2019-07-17 17:18:56 -04:00
2019-06-18 14:35:43 +02:00
2019-03-22 12:59:56 +03:00
2018-12-17 17:52:46 +01:00
2019-12-11 11:34:12 -05:00
2019-07-29 08:22:29 -05:00
2019-03-19 16:46:21 +01:00
2019-03-07 12:01:09 +01:00
2018-06-26 14:02:43 -04:00
2019-12-04 15:48:28 +00:00
2019-12-04 15:48:28 +00:00
2017-08-02 17:00:11 +01:00
2019-01-25 14:04:20 +01:00
2019-12-12 14:24:35 +01:00
2019-06-17 15:19:54 +01:00
2019-10-23 14:46:26 +02:00
2019-12-10 12:41:56 +01:00
2017-08-02 17:00:11 +01:00
2018-03-21 14:48:01 +00:00
2019-12-04 16:10:28 +00:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2013-03-04 17:36:03 -05:00
2013-03-04 17:36:03 -05:00
2019-12-04 15:48:28 +00:00
2019-10-18 16:25:17 +01:00
2017-08-07 14:44:40 +01:00
2019-12-11 14:28:41 +00:00
2017-08-02 15:00:28 -04:00
2019-12-04 15:48:28 +00:00
2019-04-11 15:20:17 +01:00
2017-08-02 17:00:11 +01:00
2019-12-04 15:48:28 +00:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2019-07-09 10:42:39 -05:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2019-04-03 09:46:02 +02:00
2019-07-17 17:34:08 +02:00
2017-04-05 09:51:51 +02:00
2019-12-06 15:55:30 +00:00
2017-08-02 17:00:11 +01:00
2019-12-04 15:48:28 +00:00
2019-06-20 10:03:22 +02:00
2018-03-21 14:48:01 +00:00
2018-10-23 16:16:36 +01:00
2017-08-02 17:00:11 +01:00
2019-12-04 15:48:28 +00:00
2018-03-16 17:05:56 +00:00
2017-08-02 17:00:11 +01:00
2019-07-12 17:09:43 +02:00
2019-10-01 13:08:01 +01:00
2019-12-11 14:28:41 +00:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2019-12-04 15:48:28 +00:00
2019-12-04 15:48:28 +00:00
2018-03-21 14:48:01 +00:00
2019-11-08 17:07:35 +01:00