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

Failed to migrate rhel79 guest with pc machine between rhel 8.9 and rhel9.0z

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

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • rhel-9.3.0
    • qemu-kvm
    • Yes
    • Important
    • Regression, CustomerScenariosInitiative
    • rhel-virt-core
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      Description of problem:
      Failed to migrate rhel79 guest with pc machine between rhel 8.9 to rhel9.3

      Version-Release number of selected component (if applicable):
      RHEL 8.9.0:
      kernel-4.18.0-510.el8.x86_64
      qemu-kvm-6.2.0-38.module+el8.9.0+19636+489b90af.x86_64
      seabios-bin-1.16.0-4.module+el8.9.0+19570+14a90618.noarch
      edk2-ovmf-20220126gitbb1bba3d77-6.el8.noarch
      RHEL 9.3
      kernel-5.14.0-355.el9.x86_64
      qemu-kvm-8.0.0-12.el9.x86_64
      seabios-bin-1.16.1-1.el9.noarch
      edk2-ovmf-20230524-2.el9.noarch

      How reproducible:
      3/3
      Steps to Reproduce:
      1.boot up a guest
      /usr/libexec/qemu-kvm -name "mouse-vm" -sandbox on \
      -name guest=rhel79,debug-threads=on \
      -machine pc-i440fx-rhel7.6.0,usb=off,dump-guest-core=off,memory-backend=pc.ram,hpet=off,acpi=on \
      -accel kvm \
      -cpu Broadwell-noTSX,ibpb=on,md-clear=on,spec-ctrl=on,ssbd=on,vme=on,f16c=on,rdrand=on,hypervisor=on,arat=on,xsaveopt=on,abm=on \
      -m size=4194304k \
      -object '

      {"qom-type":"memory-backend-ram","id":"pc.ram","size":4294967296}

      ' \
      -overcommit mem-lock=off \
      -smp 4,sockets=1,dies=1,cores=4,threads=1 \
      -uuid 509b0c90-72a1-4ce3-acbc-7a72211ab221 \
      -no-user-config \
      -nodefaults \
      -rtc base=utc,driftfix=slew \
      -global kvm-pit.lost_tick_policy=delay \
      -no-shutdown \
      -global PIIX4_PM.disable_s3=1 \
      -global PIIX4_PM.disable_s4=1 \
      -boot strict=on \
      -device '

      {"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.0","addr":"0x4"}

      ' \
      -device '

      {"driver":"virtio-scsi-pci","id":"scsi0","bus":"pci.0","addr":"0x5"}

      ' \
      -device '

      {"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x6"}

      ' \
      -blockdev '{"driver":"file","filename":"rhel79-64-virtio-scsi.qcow2.seabios","node-name":"libvirt-1-storage","cache":

      {"direct":true,"no-flush":false}

      ,"auto-read-only":true,"discard":"unmap"}' \
      -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":

      {"direct":true,"no-flush":false}

      ,"driver":"raw","file":"libvirt-1-storage"}' \
      -device '

      {"driver":"scsi-hd","bus":"scsi0.0","channel":0,"scsi-id":0,"lun":0,"device_id":"drive-scsi0-0-0-0","drive":"libvirt-1-format","id":"scsi0-0-0-0","bootindex":1,"write-cache":"on"}

      ' \
      -device '

      {"driver":"virtio-net-pci","id":"net0","mac":"52:56:00:00:00:11","bus":"pci.0","addr":"0x3"}

      ' \
      -chardev file,id=charserial0,path=/tmp/t11,append=on \
      -device '

      {"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}

      ' \
      -chardev pty,id=charserial1 \
      -device '

      {"driver":"isa-serial","chardev":"charserial1","id":"serial1","index":1}

      ' \
      -device '

      {"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"id":"channel0","name":"org.qemu.guest_agent.0"}

      ' \
      -device '

      {"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}

      ' \
      -audiodev '

      {"id":"audio1","driver":"none"}

      ' \
      -vnc 0.0.0.0:0,audiodev=audio1 \
      -device '

      {"driver":"VGA","id":"video0","vgamem_mb":16,"bus":"pci.0","addr":"0x2"}

      ' \
      -incoming defer \
      -device '

      {"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x7"}

      ' \
      -object '

      {"qom-type":"rng-random","id":"objrng0","filename":"/dev/urandom"}

      ' \
      -device '

      {"driver":"virtio-rng-pci","rng":"objrng0","id":"rng0","bus":"pci.0","addr":"0x8"}

      ' \
      -monitor stdio
      2.migrate it with pc-i440fx-rhel7.6.0 for RHEL9.3

      Actual results:
      QEMU 8.0.0 monitor - type 'help' for more information
      (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
      Expected results:
      Migration successfully

      Additional info:

              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:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: