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

[RHEL.8.10.0]Failed to migrate guest with pc (i440x) between RHELAV 8.4.0 and RHEL 8.10.0

    • qemu-kvm-6.2.0-45.el8
    • None
    • Important
    • ZStream, CustomerScenariosInitiative
    • rhel-sst-virtualization
    • ssg_virtualization
    • 22
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • x86_64
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      RHEL 8.4.0: 

      kernel-4.18.0-305.119.1.el8_4.x86_64
      qemu-kvm-5.2.0-16.module+el8.4.0+18177+78c83690.19.x86_64
      seabios-bin-1.13.0-2.module+el8.3.0+7353+9de0a3cc.noarch

      RHEL 8.10.0 :
      kernel-4.18.0-531.el8.x86_64
      6.2.0-44.module+el8.10.0+21054+d49ef27e.x86_64</pre>
      seabios-bin-1.16.0-4.module+el8.9.0+19570+14a90618.noarch

      How reproducible:

      5/5

      Steps to reproduce
      1. boot up a guest with PC machine type - i440fx, not be reproduced on q35
      2. /usr/libexec/qemu-kvm -name "mouse-vm" -sandbox on -machine pc-i440fx-rhel7.6.0 -nodefaults  -vga qxl -cpu Icelake-Server,hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,+kvm_pv_unhalt -chardev socket,id=charmonitor,path=/home/tmp1,server,nowait -chardev pty,id=charserial0 -chardev spicevmc,id=charchannel0,name=vdagent -chardev socket,id=charchannel1,path=/home/tmp2,server,nowait -chardev spicevmc,id=charredir0,name=usbredir -chardev socket,id=seabioslog_id,path=/home/seabios,server,nowait -device ich9-usb-ehci1,id=usb0,bus=pci.0,addr=0x5.0x7 -device ich9-usb-uhci1,masterbus=usb0.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device ich9-usb-uhci2,masterbus=usb0.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device ich9-usb-uhci3,masterbus=usb0.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -device virtio-scsi-pci,id=scsi0,cmd_per_lun=234,bus=pci.0,addr=0x8 -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x9,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -device virtio-scsi-pci,id=scsi1,addr=0x13 -device scsi-hd,drive=drive-scsi-disk,bus=scsi1.0,id=data-disk2 -device isa-serial,chardev=charserial0,id=serial0 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -device usb-tablet,id=input0 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device intel-hda,id=sound1,bus=pci.0,addr=0x6 -device hda-micro,id=sound1-codec0,bus=sound1.0 -device intel-hda,id=sound2,bus=pci.0,addr=0x17 -device hda-output,id=sound2-codec0,bus=sound2.0,cad=0 -device ich9-intel-hda,id=sound3,bus=pci.0,addr=0x18 -device hda-duplex,id=sound3-codec0,bus=sound3.0,cad=0 -device usb-redir,chardev=charredir0,id=redir0 -device usb-host,id=hostdev0 -device pvpanic,ioport=1285 -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=b6:af:42:c8:66:18,bus=pci.0,addr=0x14 -device e1000,netdev=hostnet1,id=virtio-net-pci1,mac=b6:2f:a8:85:82:7c,bus=pci.0,addr=0x15,multifunction=off -device rtl8139,netdev=hostnet2,id=virtio-net-pci2,mac=4e:63:28:bc:c1:75,bus=pci.0,addr=0x16,multifunction=off -device e1000e,netdev=hostnet4,id=virtio-net-pci4,mac=4e:63:28:bc:c1:85,bus=pci.0,addr=0x19,multifunction=off -device e1000-82540em,netdev=hostnet3,id=virtio-net-pci3,mac=4e:63:28:bc:c1:86,bus=pci.0,addr=0x1e,multifunction=off -device ide-hd,drive=drive-data-disk,id=system-disk,logical_block_size=512,physical_block_size=512,min_io_size=512,opt_io_size=512,discard_granularity=512,bus=ide.0,unit=0 -device ich9-usb-uhci6,id=uhci6,bus=pci.0,addr=0xa -device usb-kbd,id=kdb0,bus=uhci6.0 -device ich9-usb-uhci5,id=uhci5,bus=pci.0,addr=0xb -device usb-mouse,id=mouse0,bus=uhci5.0 -device nec-usb-xhci,id=xhci,bus=pci.0,addr=0xd -device usb-ehci,id=ehci,bus=pci.0,addr=0xe -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0xf -device ich9-usb-uhci3,id=uhci,bus=pci.0,addr=0x10 -device usb-storage,drive=drive-usb-0,id=usb-0,removable=on,bus=uhci.0,port=1 -device ich9-usb-ehci1,id=ehci1,bus=pci.0,addr=0x11 -device usb-storage,drive=drive-usb-1,id=usb-1,removable=on,bus=ehci1.0,port=1 -device virtio-rng-pci,id=rng0,bus=pci.0,addr=0x1c -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x1d -device isa-debugcon,chardev=seabioslog_id,iobase=0x402 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/a1.iso,node-name=drive_sys1 -blockdev driver=raw,node-name=drive-ide0-1-0,file=drive_sys1 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/a2.iso,node-name=drive_sys2 -blockdev driver=raw,node-name=drive-fdc0-0-0,file=drive_sys2 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/win10-64-virtio-scsi.qcow2,node-name=drive_sys3 -blockdev driver=qcow2,node-name=drive-virtio-disk0,file=drive_sys3 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d2.qcow2,node-name=drive_sys4 -blockdev driver=qcow2,node-name=drive-scsi-disk,file=drive_sys4 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d3.raw,node-name=drive_sys5 -blockdev driver=raw,node-name=drive-data-disk,file=drive_sys5 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/a3.iso,node-name=drive_sys6 -blockdev driver=raw,node-name=usb-cdrom1,file=drive_sys6 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d4.qcow2,node-name=drive_sys7 -blockdev driver=qcow2,node-name=usb-disk1,file=drive_sys7 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/a4.iso,node-name=drive_sys8 -blockdev driver=raw,node-name=usb-cdrom2,file=drive_sys8 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d5.qcow2,node-name=drive_sys9 -blockdev driver=qcow2,node-name=usb-disk2,file=drive_sys9 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/a5.iso,node-name=drive_sys10 -blockdev driver=raw,node-name=usb-cdrom3,file=drive_sys10 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d6.qcow2,node-name=drive_sys11 -blockdev driver=qcow2,node-name=usb-disk3,file=drive_sys11 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d7.qcow2,node-name=drive_sys12 -blockdev driver=qcow2,node-name=drive-usb-0,file=drive_sys12 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d8.qcow2,node-name=drive_sys13 -blockdev driver=qcow2,node-name=drive-usb-1,file=drive_sys13 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=/home/rhel840/d9.qcow2,node-name=drive_sys14 -blockdev driver=qcow2,node-name=drive-usb-2,file=drive_sys14 -object memory-backend-ram,policy=bind,id=mem-1,size=2048M,prealloc=yes,host-nodes=0 -numa node,memdev=mem-1 -object memory-backend-ram,policy=bind,id=mem-2,size=2048M,prealloc=yes,host-nodes=0 -numa node,memdev=mem-2 -netdev tap,id=hostnet0,vhost=on,id=hostnet0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -netdev tap,id=hostnet2,vhost=on,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -netdev tap,id=hostnet4,vhost=on,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -netdev tap,id=hostnet3,vhost=on,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -m 4096,slots=256,maxmem=32G -smp 8,cores=1,threads=1,sockets=8 -vnc :10 -rtc base=utc,clock=host -boot order=cdn,once=c,menu=on,strict=on -enable-kvm  -qmp tcp:0:3333,server,nowait -qmp tcp:0:9999,server=on,wait=off -qmp tcp:0:9888,server=on,wait=off -serial tcp:0:4444,server,nowait -monitor stdio -watchdog-action reset 

        3. migrate the guest from RHEL 8.4.0 to RHEL 8.10.0

      Expected results

      Migration is successful

      Actual results

      Failed to migrate the guest. 

      On dst side, 

      (qemu)  migrate_incoming tcp:[::]:4000
      (qemu) qemu-kvm: Missing section footer for 0000:00:01.3/piix4_pm
      qemu-kvm: load of migration failed: Invalid argument

              zhexu@redhat.com Peter Xu
              mdeng@redhat.com Min Deng
              Peter Xu Peter Xu
              Min Deng Min Deng
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: