[virt-tools-list] [PATCH 06/11] Created the KvmHypervisor type.

Darryl L. Pierce dpierce at redhat.com
Thu Apr 14 18:06:05 UTC 2011


---
 src/virtlib/hypervisors/kvm.py |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 src/virtlib/hypervisors/kvm.py

diff --git a/src/virtlib/hypervisors/kvm.py b/src/virtlib/hypervisors/kvm.py
new file mode 100644
index 0000000..dd746bf
--- /dev/null
+++ b/src/virtlib/hypervisors/kvm.py
@@ -0,0 +1,26 @@
+# kvm.py - Copyright (C) 2011 Red Hat, Inc.
+# Written by Darryl L. Pierce <dpierce at redhat.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA  02110-1301, USA.  A copy of the GNU General Public License is
+# also available at http://www.gnu.org/copyleft/gpl.html.
+
+import libvirt
+
+from base import Hypervisor
+
+class KvmHypervisor(Hypervisor):
+    '''
+    A hypervisor that works with the KVM hypervisor on Linux.
+    '''
-- 
1.7.4.2




More information about the virt-tools-list mailing list