[virt-manager] [PATCH 1/2] guest: Drop the '_' prefix for _add_q35_pcie_controllers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We will use it in domain.py as well.

Signed-off-by: Lin Ma <lma@xxxxxxxx>
---
 virtinst/guest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/virtinst/guest.py b/virtinst/guest.py
index e6636022..850039b4 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -809,7 +809,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):
@@ -1103,7 +1103,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():
-- 
2.37.3





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux