Bug 2157060
Summary: | 100g ice card: the guest start failed with Setting CPU affinity failed: Invalid argument when running sriov dpdk pvp case on rhel9.2 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | liting <tli> |
Component: | libvirt | Assignee: | Virtualization Maintenance <virt-maint> |
libvirt sub component: | General | QA Contact: | yalzhang <yalzhang> |
Status: | CLOSED DUPLICATE | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | hewang, lhuang, lmen, virt-maint, yalzhang |
Version: | 9.2 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-06 06:10:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
liting
2022-12-30 11:28:27 UTC
It should be the same issue with bug 2154750. RHEL-9.2.0-20221224.0 also has this issue https://beaker.engineering.redhat.com/jobs/7382376 Actually, this issue occurs since qemu-kvm-7.2.0-1.el9.x86_64 1. test on qemu-kvm-7.1.0: # rpm -q qemu-kvm libvirt qemu-kvm-7.1.0-7.el9.x86_64 libvirt-8.10.0-2.el9.x86_64 Set vm with xml includes: <cputune> <emulatorpin cpuset='1'/> </cputune> <numatune> <memory mode='strict' nodeset='0'/> </numatune> (host cpu 1 belongs to host node 1, not host node 0) the related qemu cmdline: -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":2147483648,"host-nodes":[0],"policy":"bind"}' \ 2. Update to qemu-kvm-7.2.0-1.el9.x86_64, vm start failed with the same setting # rpm -q libvirt qemu-kvm libvirt-8.10.0-2.el9.x86_64 qemu-kvm-7.2.0-1.el9.x86_64 # virsh start rhel error: Failed to start domain 'rhel' error: internal error: process exited while connecting to monitor: 2023-01-06T06:05:25.568613Z qemu-kvm: Setting CPU affinity failed: Invalid argument 3. Update the setting to be: <cputune> <emulatorpin cpuset='2'/> </cputune> <numatune> <memory mode='strict' nodeset='0'/> </numatune> (host cpu 2 belongs to host node 0) # virsh start rhel Domain 'rhel' started related qemu cmdline: -object '{"qom-type":"thread-context","id":"tc-pc.ram","node-affinity":[0]}' \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":2147483648,"host-nodes":[0],"policy":"bind","prealloc-context":"tc-pc.ram"}' \ *** This bug has been marked as a duplicate of bug 2154750 *** rhel9.2 ctc2 still has this issue https://beaker.engineering.redhat.com/jobs/7476912 |