osdict: Make the broken uefi+hyperv bit more explicit

And add links to the relevant bug reports
This commit is contained in:
Cole Robinson 2018-09-04 14:43:24 -04:00
parent 4394eff9fa
commit 242844fefa
2 changed files with 7 additions and 1 deletions

View File

@ -506,7 +506,7 @@ class Guest(XMLBuilder):
if not self.osinfo.is_windows():
return False
if (self.os.loader_type == "pflash" and
self.os_variant in ("win2k8r2", "win7")):
self.osinfo.broken_uefi_with_hyperv()):
return False
return True

View File

@ -331,6 +331,12 @@ class _OsVariant(object):
# https://bugs.launchpad.net/bugs/1395217
return self.name in ('solaris10', 'solaris11')
def broken_uefi_with_hyperv(self):
# Some windows versions are broken with hyperv enlightenments + UEFI
# https://bugzilla.redhat.com/show_bug.cgi?id=1185253
# https://bugs.launchpad.net/qemu/+bug/1593605
return self.name in ("win2k8r2", "win7")
def get_clock(self):
if self.is_windows() or self._family in ['solaris']:
return "localtime"