Bug 2077923 - Remove '\n' from vhostuser ifname [rhel-av-8.4.z]
Summary: Remove '\n' from vhostuser ifname [rhel-av-8.4.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.5
Assignee: Jiri Denemark
QA Contact: yalzhang@redhat.com
URL:
Whiteboard:
Depends On: 2077328
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-22 15:31 UTC by RHEL Program Management Team
Modified: 2022-06-13 11:52 UTC (History)
8 users (show)

Fixed In Version: libvirt-7.0.0-14.7.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2077328
Environment:
Last Closed: 2022-06-13 11:51:38 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-119710 0 None None None 2022-04-22 15:53:32 UTC
Red Hat Product Errata RHSA-2022:5002 0 None None None 2022-06-13 11:52:10 UTC

Comment 5 yalzhang@redhat.com 2022-04-28 07:11:18 UTC
Reproduce it on libvirt-7.0.0-14.1.module+el8.4.0+11095+d46acebf.x86_64
start vm and check the xml:
# virsh dumpxml rhel | grep /interface -B9
    <interface type='vhostuser'>
      <mac address='52:54:00:93:51:dd'/>
      <source type='unix' path='/var/lib/libvirt/qemu/vhost-user1' mode='server'/>
      <target dev='vhost-user1
'/>
      <model type='virtio'/>
      <driver queues='4'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>

Update libvirt to libvirt-7.0.0-14.7.module+el8.4.0+14999+7018bc43.x86_64 and start the vm, check the xml, the bug is fixed
 virsh dumpxml rhel | grep /interface -B8
    <interface type='vhostuser'>
      <mac address='52:54:00:93:51:dd'/>
      <source type='unix' path='/var/lib/libvirt/qemu/vhost-user1' mode='server'/>
      <target dev='vhost-user1'/>
      <model type='virtio'/>
      <driver queues='4'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>

Comment 8 errata-xmlrpc 2022-06-13 11:51:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: virt:av and virt-devel:av security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5002


Note You need to log in before you can comment on or make changes to this bug.