Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 9f2c5ce

Browse files
committed
Fix ImageInstaller to correctly not set 'features' for PV guests.
1 parent dcb293d commit 9f2c5ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

virtinst/ImageManager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def prepare(self, guest, meter, distro = None):
9999
self._make_disks(guest)
100100

101101
# Ugly: for PV xen, there's no guest.features, and nothing to toggle
102-
if self.type != "xen":
102+
if self.os_type != "xen":
103103
for f in ['pae', 'acpi', 'apic']:
104104
if self.boot_caps.features[f] & Cap.FEATURE_ON:
105105
guest.features[f] = True

0 commit comments

Comments
 (0)