Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-105323

RHEL-10.1 - Non-Cross Migration- Virtual network with trustGuestRxFilters element

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • 1
    • rhel-virt-networking
    • ssg_virtualization
    • VIRT-NET-CY25-July-31-Sprint 3
    • 2
    • False
    • Hide

      None

      Show
      None
    • None

      Task from Migration for linked issue, which related virtual network features.

      Tested the precopy and postcopy migration test on rhel10.1,

       

      ENV: same source and dest host 

      [root@dell-per740xd-24 ~]# rpm -q libvirt qemu-kvm
      libvirt-11.5.0-4.el10.x86_64
      qemu-kvm-10.0.0-12.el10.x86_64
      [root@dell-per740xd-24 ~]# uname -r
      6.12.0-122.el10.x86_64
      

      Pre-set

      root@dell-per740xd-24 ~]# virsh dumpxml vm1 --xpath //interface
      
      <interface type="vhostuser" trustGuestRxFilters="yes">
        <mac address="52:54:00:3a:f5:b3"/>
        <model type="virtio"/>
        <backend type="passt"/>
        <alias name="net1"/>
        <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
      </interface>
      
      [root@dell-per740xd-24 ~]# virsh dumpxml vm1 | grep q35
          <type arch='x86_64' machine='pc-q35-rhel10.0.0'>hvm</type>
      [root@dell-per740xd-24 ~]# virsh dumpxml vm1 | grep efi
        <os firmware='efi'>
      

      Postcopy – which was expected

      ~]# virsh migrate vm1 qemu+ssh://dell-per740xd-28.lab.eng.pek2.redhat.com/system   --postcopy --timeout 10 --live
      root@dell-per740xd-28.lab.eng.pek2.redhat.com's password: 
      error: internal error: unable to execute QEMU command 'migrate-set-capabilities': Postcopy is not supported: vhost-user backend not capable of postcopy
      
      
      qemu]# grep -r "vhost-user backend not capable of postcopy"
      
      hw/virtio/vhost-user.c:   "vhost-user backend not capable of postcopy");

      Precopy

       

      ]# virsh migrate vm1 qemu+ssh://dell-per740xd-24.lab.eng.pek2.redhat.com/system
      root@dell-per740xd-24.lab.eng.pek2.redhat.com's password: 
       ~]#
      [root@dell-per740xd-28 ~]# virsh list --all
       Id   Name   State
      ----------------------
       5    vm1    running
      
      
      virsh # event --all
      event 'lifecycle' for domain 'vm1': Suspended Migrated
      events received: 1
       
      
      
      also
      
      0xd-24 qemu]# virsh migrate vm1 qemu+ssh://dell-per740xd-28.lab.eng.pek2.redhat.com/system --live --p2p --persistent --undefinesource --verbose
      Migration: [100.00 %]
      

       

              nanli@redhat.com Nannan Li
              nanli@redhat.com Nannan Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: