From 2d94e92d80eefc411fe760a7ab38f002456afb7a Mon Sep 17 00:00:00 2001 From: Lin Ma Date: Thu, 5 Jan 2023 19:29:30 +0800 Subject: [PATCH] guest: Drop the '_' prefix for _add_q35_pcie_controllers We will use it in domain.py as well. Signed-off-by: Lin Ma --- virtinst/guest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtinst/guest.py b/virtinst/guest.py index 9270ebda0..1a40fbb8c 100644 --- a/virtinst/guest.py +++ b/virtinst/guest.py @@ -830,7 +830,7 @@ class Guest(XMLBuilder): dev.set_defaults(self) self.add_virtioscsi_controller() - self._add_q35_pcie_controllers() + self.add_q35_pcie_controllers() self._add_spice_devices() def add_extra_drivers(self, extra_drivers): @@ -1136,7 +1136,7 @@ class Guest(XMLBuilder): return True return False - def _add_q35_pcie_controllers(self): + def add_q35_pcie_controllers(self): if any([c for c in self.devices.controller if c.type == "pci"]): return if not self.defaults_to_pcie():