This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2103526 - Update the interface trustGuestRxFilters and backend setting return succeed but no changes
Summary: Update the interface trustGuestRxFilters and backend setting return succeed b...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libvirt
Version: 9.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: yalzhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-04 01:43 UTC by yalzhang@redhat.com
Modified: 2023-07-07 19:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-07 19:20:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-735 0 None None None 2023-07-07 19:20:54 UTC
Red Hat Issue Tracker RHELPLAN-126901 0 None None None 2022-07-04 01:46:31 UTC

Description yalzhang@redhat.com 2022-07-04 01:43:23 UTC
Description of problem:
Update the interface trustGuestRxFilters and backend setting return succeed but no changes

Version-Release number of selected component (if applicable):
libvirt-8.5.0-1.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Start a vm with direct type interface as below:
# virsh start vm2
Domain 'vm2' started
# virsh dumpxml vm2 | grep /interface -B7
    <interface type='direct' trustGuestRxFilters='yes'>
      <mac address='52:54:00:65:52:cb'/>
      <source dev='eno2' mode='bridge'/>
      <target dev='macvtap0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
2. update the trustGuestRxFilters setting from "yes" to "no" by update-device:
# cat direct.xml
 <interface type='direct' trustGuestRxFilters='no'>
      <mac address='52:54:00:65:52:cb'/>
      <source dev='eno2' mode='bridge'/>
      <target dev='macvtap0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
# virsh update-device vm2 direct.xml
Device updated successfully

3. the update-device command succeed, but the live xml do not changes:
# virsh dumpxml vm2 | grep /interface -B7
    <interface type='direct' trustGuestRxFilters='yes'>
      <mac address='52:54:00:65:52:cb'/>
      <source dev='eno2' mode='bridge'/>
      <target dev='macvtap0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>

Another scenario for backend:
# virsh dumpxml vm2 | grep /interface -B8
    <interface type='network'>
      <mac address='52:54:00:cf:af:c6'/>
      <source network='default' portid='1c06f82e-fa6c-4de9-9cac-8973b1db1eec' bridge='virbr0'/>
      <target dev='vnet1'/>
      <model type='virtio'/>
      <backend tap='/dev/net/tun' vhost='/dev/vhost-net'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
# cat backend.xml
 <interface type='network'>
      <mac address='52:54:00:cf:af:c6'/>
      <source network='default' portid='1c06f82e-fa6c-4de9-9cac-8973b1db1eec' bridge='virbr0'/>
      <target dev='vnet1'/>
      <model type='virtio'/>
      <backend tap='/dev/net/tun1' vhost='/dev/vhost-net2'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
# virsh update-device vm2 backend.xml
Device updated successfully
# virsh dumpxml vm2 | grep backend
      <backend tap='/dev/net/tun' vhost='/dev/vhost-net'/>

Actual results:
Use update-device to update trustGuestRxFilters attribute or backend elements, the command returns succeed, but the live xml does not update accordingly.

Expected results:
libvirt should return unsupported error if such elements can not be live updated

Additional info:


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