Skip to contentSkip to conversation

xl/libxl: disable PV vNUMA

PATCH Superseded Wei Liu 3 participants 4 messages Jul 30, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 xl/libxl: disable PV vNUMA

Update xl manual and disable PV vNUMA in libxl.

---
Cc: Ian Campbell <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Dario Faggioli <[email protected]>

---
 docs/man/xl.cfg.pod.5      | 4 ++++
 tools/libxl/libxl_create.c | 9 +++++++++
 2 files changed, 13 insertions(+)
docs/man/xl.cfg.pod.5 +4 -0
index c78c3ba..782106c 100644
@@ -261,6 +261,10 @@ Specify virtual NUMA configuration with positional arguments. The
 nth B<VNODE_SPEC> in the list specifies the configuration of nth
 virtual node.
 
+Note that virtual NUMA for PV guest is not yet supported, because
+there is issue with regard to cpuid handling that affects PV virtual
+NUMA.
+
 Each B<VNODE_SPEC> is a list, which has a form of
 "[VNODE_CONFIG_OPTION,VNODE_CONFIG_OPTION, ... ]"  (without quotes).
 
tools/libxl/libxl_create.c +9 -0
index 4f2f50b..4f4273d 100644
@@ -860,6 +860,15 @@ static void initiate_domain_create(libxl__egc *egc,
         goto error_out;
     }
 
+    /* PV vNUMA is not yet supported because there is issue with
+     * regard to cpuid handling.
+     */
+    if (d_config->c_info.type == LIBXL_DOMAIN_TYPE_PV &&
+        d_config->b_info.num_vnuma_nodes) {
+        LOG(ERROR, "PV vNUMA not yet supported");
+        goto error_out;
+    }
+
     ret = libxl__domain_create_info_setdefault(gc, &d_config->c_info);
     if (ret) {
         LOG(ERROR, "Unable to set domain create info defaults");
Signature · 1 line
2.1.4
#1 lore raw

El 30/07/15 a les 17.12, Wei Liu ha escrit:

Quoted 17 lines

Update xl manual and disable PV vNUMA in libxl.

---
Cc: Ian Campbell <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Dario Faggioli <[email protected]>

---
 docs/man/xl.cfg.pod.5      | 4 ++++
 tools/libxl/libxl_create.c | 9 +++++++++
 2 files changed, 13 insertions(+)
docs/man/xl.cfg.pod.5 +0 -0
index c78c3ba..782106c 100644

docs/man/xl.cfg.pod.5 Specify virtual NUMA configuration with positional arguments. The · line 265

Quoted 5 lines
docs/man/xl.cfg.pod.5 +2 -0
@@ -261,6 +261,10 @@ Specify virtual NUMA configuration with positional arguments. The
 nth B<VNODE_SPEC> in the list specifies the configuration of nth
 virtual node.
 
+Note that virtual NUMA for PV guest is not yet supported, because
+there is issue with regard to cpuid handling that affects PV virtual

^ an ^regarding

Quoted 10 lines
docs/man/xl.cfg.pod.5 +2 -0
+NUMA.
+
 Each B<VNODE_SPEC> is a list, which has a form of
 "[VNODE_CONFIG_OPTION,VNODE_CONFIG_OPTION, ... ]"  (without quotes).
 
tools/libxl/libxl_create.c +0 -0
index 4f2f50b..4f4273d 100644

tools/libxl/libxl_create.c static void initiate_domain_create(libxl__egc *egc, · line 864

Quoted 5 lines
tools/libxl/libxl_create.c +2 -0
@@ -860,6 +860,15 @@ static void initiate_domain_create(libxl__egc *egc,
         goto error_out;
     }
 
+    /* PV vNUMA is not yet supported because there is issue with
+     * regard to cpuid handling.

Same.

Quoted 11 lines
tools/libxl/libxl_create.c +7 -0
+     */
+    if (d_config->c_info.type == LIBXL_DOMAIN_TYPE_PV &&
+        d_config->b_info.num_vnuma_nodes) {
+        LOG(ERROR, "PV vNUMA not yet supported");
+        goto error_out;
+    }
+
     ret = libxl__domain_create_info_setdefault(gc, &d_config->c_info);
     if (ret) {
         LOG(ERROR, "Unable to set domain create info defaults");
author
#2 lore raw
Quoted 21 lines · Roger Pau Monné

El 30/07/15 a les 17.12, Wei Liu ha escrit:

Quoted 20 lines

Update xl manual and disable PV vNUMA in libxl.

---
Cc: Ian Campbell <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Dario Faggioli <[email protected]>

---
 docs/man/xl.cfg.pod.5      | 4 ++++
 tools/libxl/libxl_create.c | 9 +++++++++
 2 files changed, 13 insertions(+)
docs/man/xl.cfg.pod.5 +0 -0
index c78c3ba..782106c 100644
@@ -261,6 +261,10 @@ Specify virtual NUMA configuration with positional arguments. The
 nth B<VNODE_SPEC> in the list specifies the configuration of nth
 virtual node.
 
Quoted 3 lines

docs/man/xl.cfg.pod.5 Specify virtual NUMA configuration with positional arguments. The · line 265

Quoted 2 lines
docs/man/xl.cfg.pod.5 +2 -0
+Note that virtual NUMA for PV guest is not yet supported, because
+there is issue with regard to cpuid handling that affects PV virtual

^ an ^regarding

Added "an", but "with regard to" is a commonly used phrase.

Did I miss anything?

Wei.

Quoted 29 lines
Quoted 10 lines
docs/man/xl.cfg.pod.5 +2 -0
+NUMA.
+
 Each B<VNODE_SPEC> is a list, which has a form of
 "[VNODE_CONFIG_OPTION,VNODE_CONFIG_OPTION, ... ]"  (without quotes).
 
tools/libxl/libxl_create.c +0 -0
index 4f2f50b..4f4273d 100644

tools/libxl/libxl_create.c static void initiate_domain_create(libxl__egc *egc, · line 864

Quoted 5 lines
tools/libxl/libxl_create.c +2 -0
@@ -860,6 +860,15 @@ static void initiate_domain_create(libxl__egc *egc,
         goto error_out;
     }
 
+    /* PV vNUMA is not yet supported because there is issue with
+     * regard to cpuid handling.

Same.

Quoted 11 lines
tools/libxl/libxl_create.c +7 -0
+     */
+    if (d_config->c_info.type == LIBXL_DOMAIN_TYPE_PV &&
+        d_config->b_info.num_vnuma_nodes) {
+        LOG(ERROR, "PV vNUMA not yet supported");
+        goto error_out;
+    }
+
     ret = libxl__domain_create_info_setdefault(gc, &d_config->c_info);
     if (ret) {
         LOG(ERROR, "Unable to set domain create info defaults");
#3 lore raw
Quoted 22 lines · Wei Liu
Quoted 21 lines · Roger Pau Monné

El 30/07/15 a les 17.12, Wei Liu ha escrit:

Quoted 20 lines

Update xl manual and disable PV vNUMA in libxl.

---
Cc: Ian Campbell <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Dario Faggioli <[email protected]>

---
 docs/man/xl.cfg.pod.5      | 4 ++++
 tools/libxl/libxl_create.c | 9 +++++++++
 2 files changed, 13 insertions(+)
docs/man/xl.cfg.pod.5 +0 -0
index c78c3ba..782106c 100644
@@ -261,6 +261,10 @@ Specify virtual NUMA configuration with positional arguments. The
 nth B<VNODE_SPEC> in the list specifies the configuration of nth
 virtual node.
 
Quoted 4 lines
Quoted 3 lines

docs/man/xl.cfg.pod.5 Specify virtual NUMA configuration with positional arguments. The · line 265

Quoted 2 lines
docs/man/xl.cfg.pod.5 +2 -0
+Note that virtual NUMA for PV guest is not yet supported, because
+there is issue with regard to cpuid handling that affects PV virtual

^ an ^regarding

Added "an", but "with regard to" is a commonly used phrase.

"with regards to" or "regarding" are both fine here, but the singular of "regard" is not.

~Andrew