libvirt: stop enabling hyperv feature reenlightenment

The 'reenlightenment' hyperv enlightenment will cause
instances live-migration to fail (KVM currently doesn’t
fully support reenlightenment notifications, see
www.qemu.org/docs/master/system/i386/hyperv.html),
so don't enable it now.

Change-Id: I6821819450bc96e4304125ea3b76a0e462e6e33f
Closes-Bug: #2046549
Related-Bug: #2009280
This commit is contained in:
songjie
2023-12-25 16:59:36 +08:00
parent 39f560d673
commit e618e78edc
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -28048,7 +28048,9 @@ class LibvirtDriverTestCase(test.NoDBTestCase, TraitsComparisonMixin):
self.assertTrue(hv.synic)
self.assertTrue(hv.reset)
self.assertTrue(hv.frequencies)
self.assertTrue(hv.reenlightenment)
# NOTE(jie) reenlightenment will cause instances live-migration
# failure, so don't enable it now. See bug 2046549.
self.assertFalse(hv.reenlightenment)
self.assertTrue(hv.tlbflush)
self.assertTrue(hv.ipi)
self.assertTrue(hv.evmcs)
-1
View File
@@ -6262,7 +6262,6 @@ class LibvirtDriver(driver.ComputeDriver):
hv.synic = True
hv.reset = True
hv.frequencies = True
hv.reenlightenment = True
hv.tlbflush = True
hv.ipi = True
hv.evmcs = True