lcr/0004-nano-cpus-add-support-nano-cpus.patch
gaohuatao 385a897570 update from openeuler master
Signed-off-by: gaohuatao <gaohuatao@huawei.com>
(cherry picked from commit 8099a6b8a545ec9e465075d2113a7c1bd44d5a3b)
Signed-off-by: gaohuatao <gaohuatao@huawei.com>
2020-11-12 18:36:46 +08:00

35 lines
909 B
Diff

From d10eb785228c60ccaad7f8a476c88107ea51b0b1 Mon Sep 17 00:00:00 2001
From: lifeng68 <lifeng68@huawei.com>
Date: Wed, 9 Sep 2020 15:20:20 +0800
Subject: [PATCH 04/10] nano cpus: add support nano cpus
Signed-off-by: lifeng68 <lifeng68@huawei.com>
---
src/json/schema/host-config.json | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/json/schema/host-config.json b/src/json/schema/host-config.json
index b3fca51..4eac222 100644
--- a/src/json/schema/host-config.json
+++ b/src/json/schema/host-config.json
@@ -133,6 +133,9 @@
"BlkioDeviceWriteIops": {
"$ref": "defs.json#/definitions/ArrayOfBlkioDevice"
},
+ "NanoCpus": {
+ "type": "int64"
+ },
"CPUPeriod": {
"type": "int64"
},
@@ -256,4 +259,4 @@
"type": "string"
}
}
-}
+}
\ No newline at end of file
--
2.20.1