Bug 1630143
| Summary: | virsh domiflist return NULL for the vhostuser interface source | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | chhu |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.6 | CC: | lmen, xuzhang, yalzhang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-18 08:57:01 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: | |||
This is the same bug as 1630164 which deals with both Source and Interface name. Closing is as a duplicate. *** This bug has been marked as a duplicate of bug 1630164 *** |
Description of problem: virsh domiflist return NULL for the vhostuser interface source Version-Release number of selected component (if applicable): libvirt-4.5.0-9.el7.x86_64 qemu-kvm-rhev-2.12.0-15.el7.x86_64 Test steps: 1. Prepare guest with xml: <memoryBacking> <hugepages> <page size='2048' unit='KiB'/> </hugepages> </memoryBacking> ...... <cpu mode='custom' match='exact' check='full'> <model fallback='forbid'>Broadwell</model> ...... <numa> <cell id='0' cpus='0-1' memory='1048576' unit='KiB' memAccess='shared'/> </numa> </cpu> ...... <interface type='vhostuser'> <mac address='52:54:00:93:51:dd'/> <source type='unix' path='/var/run/openvswitch/vhost-user1' mode='client'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </interface> 2. Start the guests with vhostuser interface # virsh start vhostuser1 Domain vhostuser1 started # virsh list --all Id Name State ---------------------------------------------------- 25 vhostuser1 running 3. Check the virsh domiflist: no source is listed # virsh domiflist vhostuser1 Interface Type Source Model MAC ------------------------------------------------------- vhost-user1 vhostuser - virtio 52:54:00:93:51:dd Actual results: In step3, the virsh domiflist return NULL for source Expected results: In step3, the virsh domiflist return the vhostuser source