From 72058f2bbf52e4e883de11a40b6438f62bff8d48 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 29 Sep 2013 09:19:56 -0400 Subject: [PATCH] support: Remove unused nodedev support checks --- virtManager/connection.py | 2 -- virtinst/connection.py | 2 -- virtinst/support.py | 5 ----- 3 files changed, 9 deletions(-) diff --git a/virtManager/connection.py b/virtManager/connection.py index cfe0d3f3d..ae3cf651c 100644 --- a/virtManager/connection.py +++ b/virtManager/connection.py @@ -418,8 +418,6 @@ class vmmConnection(vmmGObject): return self._backend.check_domain_support(*args) def check_pool_support(self, *args): return self._backend.check_pool_support(*args) - def check_nodedev_support(self, *args): - return self._backend.check_nodedev_support(*args) def check_interface_support(self, *args): return self._backend.check_interface_support(*args) def check_stream_support(self, *args): diff --git a/virtinst/connection.py b/virtinst/connection.py index 4200dedad..0b17f5e1f 100644 --- a/virtinst/connection.py +++ b/virtinst/connection.py @@ -356,8 +356,6 @@ class VirtualConnection(object): return support.check_support(self, feature, dom) def check_pool_support(self, pool, feature): return support.check_support(self, feature, pool) - def check_nodedev_support(self, nodedev, feature): - return support.check_support(self, feature, nodedev) def check_interface_support(self, iface, feature): return support.check_support(self, feature, iface) def check_stream_support(self, feature): diff --git a/virtinst/support.py b/virtinst/support.py index a25d695d6..1ba169909 100644 --- a/virtinst/support.py +++ b/virtinst/support.py @@ -354,11 +354,6 @@ SUPPORT_STORAGE_CREATEVOLFROM = _make(function="virStoragePool.createXMLFrom", version=6004) SUPPORT_STORAGE_ISACTIVE = _make(function="virStoragePool.isActive", args=()) -# Nodedev checks -# This can't ever require a nodedev object for back compat reasons -SUPPORT_NODEDEV_PCI_DETACH = _make(function="virNodeDevice.dettach", - version=6001) - # Interface checks SUPPORT_INTERFACE_XML_INACTIVE = _make(function="virInterface.XMLDesc",