[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: vnuma_nodes missing pnode 0


  • To: Jim Fehlig <jfehlig@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Mon, 14 Nov 2022 01:18:24 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MsATxt7qa+FQO28pzai6izHvkY7Or/JLb2YXVkoOEbE=; b=azQiOzCi7bDKVzrFrQsX4bjh5vMt0Ar5tgYBg6eTGR//MUJQB824fh/96+sekzGjxMA5fsr+Bdwd8FZlU1G3R0pLleSXwbdlLXbcgpprbiEu+ivDcqaYxDc0ZfwzXcvvs2wnyz7nsW2rw4AfFWvZGRAmYiAhxPJlTYeBWiEciOEcR8vf0XDU+ws10jQxPHSlrhQZ5XXxZj4jvM9QUgi7Yr5sKE4VWn4ZuPyLRFIiBRr2ziUhExkUSt/rPqLwH0J/sc4V7xCHg3RsR7U0u2l3uEt6jqnhZFaPG6lSjjk0VrMPCMpLoTk50Yj2SivSt4aNMRaEDKSZBOWawcp6r/VXYg==
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MsATxt7qa+FQO28pzai6izHvkY7Or/JLb2YXVkoOEbE=; b=KZ3uY2GV5SatJcJ0JJyathsxxYk4JbEt/ZtNroip07KKB67+oeTygC53B3jzAK6xPi/QJCQbm2zuV5F0jQW757t7kXmTSlF+9GYfepPh0yb5UyaD7b/s+/cr3DkAUbVh4RhES0k6XjqCABmKwthDKkgtOgsS16fPTke5cRfeXioAA1YNJaH3jtlQ3k4DxpOi2ks7F5kKfiFH8vkvFNyJqbFFCaNiLADez2LAVjdzC2cEPGmNhc0J59JzsXlwdN5k/CuCfdKRTPkv7ygBc22NpmHuMqrqqCtjZV5xeMYEkyKosEAREwcpxdLrHAwMPQxY7kP7HK1qdkq65IVoNkmKTw==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=IfKgzMdsJAKpl57lA8z9nDDRl2d2dDeQUNKvNWNWPP7yqSP9YnpoMtsV/TKBUVn6jpZkB8msYmxWgAc43VcMWu3TFh3WMeEQ39B2BiHYfoJbTKE6+GChEdJY9J/0j4xu93aDhGTMARoY1Q2tW/gTYEx+tsyC3IeKWKdx4RSHwQNTbOQXhho6FcQdfHXE2DVNdCREN8bnbl7SJn1xW3RrvCz9lkc6gkJL4gWeglkz/SQYkHGMhoiRFlNFq6Rs0m5EDlZ0wkknFxC7xNuVpUwwBlG32QGf8lPpxia8tmaObKHyWAnku5FWBrqsf478uJnMxiENlIXyovQ+uB1NsF68kw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OXsGLxn5qxiCR9KvBMfIKIAnjFtP3a0S9V/Tly7Cqesu8W4rQaARCcmsOZn3xG6DH2yLq7nn1NTwmxaZkY2f/jV2FM33xwo/FsBMdsHc8iX623VTX4qK5Te3PP3xEJl3AZMMFynQ9K2hvt4faKxW4NvVYWuS5vflxHfTzss++rUGMAYRSsMCUWocRWj+DX/X0oYpYXHpiSkgvnBF/4Iul5mPEg+UW1aOHpA8twVhV2WT0ekKh/oizUtRzyWm0uNeBD8KEdPOF3T/U2fHkYe3Ano+vmhp5IH0AbpAG611Q7jeDAbKskB4EYFZwRT9AE5NjWAIv5ZEBFVsErdbWpk1YQ==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Mon, 14 Nov 2022 01:18:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHY9iDYCXvlfuymEU2cRUBeAI3Esq49n+1w
  • Thread-topic: vnuma_nodes missing pnode 0

(Add x86 maintainers for more visibility)

Hi x86 maintainers,

Since this report might be related with the release, if you have time,
please have a look. Thank you very much.

Kind regards,
Henry

> -----Original Message-----
> Subject: vnuma_nodes missing pnode 0
> 
> Hi All,
> 
> While fixing [1] a recent downstream libvirt build failure against 4.17 rc3, I
> noticed the json representation of libxl_vnode_info omits pnode when value
> is 0.
> The problem can be seen by starting a VM containing the following vnuma
> config
> 
> vnuma = [ [ "pnode=0", "size=2048", "vcpus=0", "vdistances=10,20" ], [
> "pnode=1", "size=2048", "vcpus=1", "vdistances=20,10" ] ]
> 
> The json representation for this config does not contain pnode 0
> 
>                 "vnuma_nodes": [
>                      {
>                          "memkb": 2097152,
>                          "distances": [
>                              10,
>                              20
>                          ],
>                          "vcpus": [
>                              0
>                          ]
>                      },
>                      {
>                          "memkb": 2097152,
>                          "distances": [
>                              20,
>                              10
>                          ],
>                          "pnode": 1,
>                          "vcpus": [
>                              1
>                          ]
>                      }
>                  ],
> 
> I'm not familiar with the code generator for the *_to_json functions, but with
> a
> hint I can probably cook up a patch :-).
> 
> Regards,
> Jim
> 
> [1] https://listman.redhat.com/archives/libvir-list/2022-
> November/235745.html


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.