diff options
author | Cole Robinson <crobinso@redhat.com> | 2023-01-19 11:54:03 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2023-01-19 11:54:03 -0500 |
commit | 5c49151df90addcb8798e8fe6bf07d475ac11b50 (patch) | |
tree | 80db02107b836a716de48c50e085e186ce0b9d6d /virtinst | |
parent | cc4a39ea94f42bc92765eb3bb56e2b7f9198be67 (diff) | |
download | virt-manager-5c49151df90addcb8798e8fe6bf07d475ac11b50.tar.gz |
tests: test win11 XML generation
And drop the futureproofing workaround now that it's no longer
required
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtinst')
-rw-r--r-- | virtinst/osdict.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/virtinst/osdict.py b/virtinst/osdict.py index c04b1e59..0e7eb319 100644 --- a/virtinst/osdict.py +++ b/virtinst/osdict.py @@ -464,13 +464,6 @@ class _OsVariant(object): except Exception: # pragma: no cover log.debug("Error checking osinfo firmware support", exc_info=True) - if self.name == "win11": # pragma: no cover - # 2022-03 the libosinfo APIs for firmware haven't landed, and - # there's no osinfo-db entry for win11. But we know win11 requires - # UEFI. Hardcode it for now, so the next virt-install release has - # a better chance of doing the right thing for win11 when - # it pops up in a osinfo-db release. - ret = True return ret def get_recommended_resources(self): |