libvirt: Skip CPU compatibility check for emulated guests
Comparing host to guest CPU model for emulated guests (<domain
type='qemu'>) should not matter -- in this mode the CPU is fully
emulated in software and no hardware acceleration, like KVM, is
involved.
So, skip the CPU compatibility check for the QEMU domain type,
and retain it for KVM guests.
Closes-Bug: #1588003
Co-Authored-By: Daniel P. Berrange <email address hidden>
Change-Id: I8b782678a6dfa7bcfc203381037e1df4475c3194
(cherry picked from commit afa31e67c3b7f8999da179b78a7051d70ca126bf)
(cherry picked from commit 54448676db784bfc233d4e846eacd115d03d9f3f)
Reviewed: https:/ /review. openstack. org/325566 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=895e7da3273 a1a9de921f1fc8a d409df79d58809
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 895e7da3273a1a9 de921f1fc8ad409 df79d58809
Author: Kashyap Chamarthy <email address hidden>
Date: Tue May 31 17:50:51 2016 +0200
libvirt: Skip CPU compatibility check for emulated guests
Comparing host to guest CPU model for emulated guests (<domain
type='qemu'>) should not matter -- in this mode the CPU is fully
emulated in software and no hardware acceleration, like KVM, is
involved.
So, skip the CPU compatibility check for the QEMU domain type,
and retain it for KVM guests.
Closes-Bug: #1588003
Co-Authored-By: Daniel P. Berrange <email address hidden> bcfc203381037e1 df4475c3194 99da179b78a7051 d70ca126bf) c233d4e846eacd1 15d03d9f3f)
Change-Id: I8b782678a6dfa7
(cherry picked from commit afa31e67c3b7f89
(cherry picked from commit 54448676db784bf