Bug 1523414
Summary: | [POWER guests] Verify compatible CPU & hypervisor capabilities across migration | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | David Gibson <dgibson> |
Component: | qemu-kvm-rhev | Assignee: | David Gibson <dgibson> |
Status: | CLOSED ERRATA | QA Contact: | xianwang <xianwang> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 7.5 | CC: | bugproxy, dgibson, drjones, dzheng, hannsj_uhl, junli, knoel, lmiksik, mdeng, michen, mtessun, qzhang, virt-maint, xianwang, xuma, yhong, yilzhang |
Target Milestone: | rc | Keywords: | Patch |
Target Release: | 7.5 | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.10.0-18.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-11 00:52:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1396114, 1399177, 1476742, 1517546, 1525303, 1525599, 1526266, 1527213, 1532050 |
Description
David Gibson
2017-12-07 22:58:35 UTC
I have posted a first draft upstream, and I'm working on a second spin. Hi, David Any suggestion on how to verify this? Thanks, Qunfang Qunfang, Here are some checks that should verify this. A. It should no longer be possible to start a POWER8 compatibility mode guest on POWER9 with the latest machine type 1. Start guest with "-M pseries-rhel7.4.0,max-cpu-compat=power8" on a POWER9 host before fix: guest will start, but HTM will be disabled unexpectedly after fix: guest will start, because POWER9 can't supply HTM B. A migration from a POWER8 guest with pseries-rhel7.4.0 or earlier machine type to a POWER9 host should fail (leaving the source guest running) 1. Start a guest with "-M pseries-rhel7.4.0,max-cpu-compat=power8" on a POWER8 host 2. migrate guest POWER9 (same parameters) before fix: guest will appear to migrate ok, but HTM will no longer work properly which could cause problems later after fix: migration will fail, leaving guest intact on the source Thanks David. And after some irc confirmation, we'll: (1) Test P8<->P9 migration with latest rhel7.5.0 machine type. This should succeed since 7.5 machine type disable HTM on both P8 and P9. (2) Test rhel7.4.0 and earlier machine type according to comment 4, which should make migration failed from P8 to P9. Pull request send upstream, waiting for merge. Draft backport made, brewing at: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=15049440 Had to fix a few problems with backport, successful brew at: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=15049550 Fix included in qemu-kvm-rhev-2.10.0-18.el7 *** Bug 1526266 has been marked as a duplicate of this bug. *** Bug verification: version: 4.14.0-33.el7a.ppc64le qemu-kvm-rhev-2.10.0-18.el7.ppc64le SLOF-20170724-2.git89f519f.el7.noarch # ppc64_cpu --smt=off # echo N > /sys/module/kvm_hv/parameters/indep_threads_mode machine type:rhel7.5.0 # /usr/libexec/qemu-kvm -M pseries-rhel7.5.0,max-cpu-compat=power8 VNC server running on ::1:5900 machine type:rhel7.4.0 # /usr/libexec/qemu-kvm -M pseries-rhel7.4.0,max-cpu-compat=power8 VNC server running on ::1:5900 qemu-kvm: KVM implementation does not support Transactional Memory, try cap-htm=off machine type:rhel7.3.0 # /usr/libexec/qemu-kvm -M pseries-rhel7.3.0,max-cpu-compat=power8 VNC server running on ::1:5900 qemu-kvm: KVM implementation does not support Transactional Memory, try cap-htm=off machine type:rhel7.2.0 # /usr/libexec/qemu-kvm -M pseries-rhel7.2.0,max-cpu-compat=power8 VNC server running on ::1:5900 qemu-kvm: KVM implementation does not support Transactional Memory, try cap-htm=off So, this bug is fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:1104 |