Bug 9139 - [Anolis23.1 GA][Beta][loongarch64]virt-manager不支持虚拟机numa node与物理机numa node绑定
Summary: [Anolis23.1 GA][Beta][loongarch64]virt-manager不支持虚拟机numa node与物理机numa node绑定
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 19:54 UTC by wuzhiguo
Modified: 2024-05-22 20:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wuzhiguo loongson_group 2024-05-22 19:54:38 UTC
Description of problem:
virt-manager不支持虚拟机numa node与物理机numa node绑定

Version-Release number of selected component (if applicable):
系统版本: Anolis 23.1
内核版本: 6.6.25-2_rc1.1.an23.loongarch64
qemu版本: qemu-8.2.0-12.an23
libvirt版本: 9.10.0
virtu-manager版本: 4.1.0

How reproducible:


Steps to Reproduce:
1. virt-manager创建虚拟机
2. 在虚拟机xml中添加虚拟机numa node与物理机numa node绑定
# virsh edit vm_name
例如: 
  <numatune>
    <memory mode='strict' nodeset='0'/>
    <memnode cellid='0' mode='strict' nodeset='0'/>
  </numatune>
  <cpu mode='custom' match='exact' check='partial'>
    <model fallback='allow'>la464</model>
    <numa>
      <cell id='0' cpus='0' memory='1048576' unit='KiB'/>
    </numa>
  </cpu>
3. 启动虚拟机

Actual results:
虚拟机启动失败,报错信息如下:
libvirt.libvirtError: unsupported configuration: NUMA node 0 is unavailable

Expected results:
虚拟机启动成功

Additional info: