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

[RHEL8][Secure-execution][s390x] The error message is not clear when boot up a SE guest with wrong encryption

    • qemu-kvm-6.2.0-46.el8
    • Critical
    • sst_virtualization
    • ssg_virtualization
    • 22
    • 24
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • s390x

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

       The error message is not clear when boot up a SE guest with wrong notification on Z16 host and with Z15 notification

      Please provide the package NVR for which bug is seen:

      qemu version: qemu-kvm-6.2.0-41.module+el8.10.0+20088+3901493e.s390x

      kernel version: kernel-4.18.0-527.el8.s390x

      How reproducible:

      100%

      Steps to reproduce

      1.  set LPAR kernel command for SE guest on z16
        1. grubby --update-kernel='/boot/vmlinuz-4.18.0-527.el8.s390x' --args="prot_virt=1"
        2. zipl
        3. reboot
      2. boot a SE guest with z15 verification
      3.  

      Expected results

      the error message could show more details about the root cause

      Actual results

      [root@rdu-z16-l27 home]# cat /sys/firmware/uv/prot_virt_host
      1
      [root@rdu-z16-l27 home]# sh se.sh 
      QEMU 6.2.0 monitor - type 'help' for more information
      (qemu) qemu-kvm: KVM PV command 2 (KVM_PV_SET_SEC_PARMS) failed: header rc 108 rrc 5 IOCTL rc: -22
      [root@rdu-z16-l27 home]

      [root@rdu-z16-l26 home]

            thuth@redhat.com Thomas Huth
            bfu@redhat.com Leo Fu
            Thomas Huth Thomas Huth
            Leo Fu Leo Fu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: