diff options
author | Sascha Silbe <silbe@linux.vnet.ibm.com> | 2015-06-02 18:51:00 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-06-03 18:07:09 +0200 |
commit | b853d4cbf2062813e84f9bb880feff8daf467e05 (patch) | |
tree | 8c9d15f0a2204a1f214039f9f3f1ac9269563cad /target-ppc/STATUS | |
parent | 2a72ea5f66b3b87a975475bdc1cabacbbb402937 (diff) |
s390x/kvm: always ignore empty vcpu interrupt state
kvm_s390_vcpu_interrupt_pre_save() and
kvm_s390_vcpu_interrupt_post_load() are essentially no-ops on hosts
without KVM_CAP_S390_IRQ_STATE. Move the capability check after the
check for saved IRQ state in kvm_s390_vcpu_interrupt_post_load() so that
migration between hosts without KVM_CAP_S390_IRQ_STATE (including save /
restore on the same host) continues to work.
Fixes: 3cda44f7bae5 ("s390x/kvm: migrate vcpu interrupt state")
Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-ppc/STATUS')
0 files changed, 0 insertions, 0 deletions