|
|
c55d09 |
From 222a32198b3584ae221474a6d7288c91b8e76578 Mon Sep 17 00:00:00 2001
|
|
|
c55d09 |
From: John Ferlan <jferlan@redhat.com>
|
|
|
c55d09 |
Date: Thu, 27 Mar 2014 16:36:32 -0400
|
|
|
c55d09 |
Subject: [PATCH 56/60] Add MOFS and change install for ControllerPools
|
|
|
c55d09 |
|
|
|
c55d09 |
Add the new MOF and modify the build/install to handle.
|
|
|
c55d09 |
|
|
|
c55d09 |
Signed-off-by: John Ferlan <jferlan@redhat.com>
|
|
|
c55d09 |
---
|
|
|
c55d09 |
Makefile.am | 2 ++
|
|
|
c55d09 |
libvirt-cim.spec.in | 2 ++
|
|
|
c55d09 |
schema/ControllerPool.mof | 6 ++++++
|
|
|
c55d09 |
schema/ControllerPool.registration | 3 +++
|
|
|
c55d09 |
4 files changed, 13 insertions(+)
|
|
|
c55d09 |
create mode 100644 schema/ControllerPool.mof
|
|
|
c55d09 |
create mode 100644 schema/ControllerPool.registration
|
|
|
c55d09 |
|
|
|
c55d09 |
diff --git a/Makefile.am b/Makefile.am
|
|
|
c55d09 |
index 24b11af..e332b5a 100644
|
|
|
c55d09 |
--- a/Makefile.am
|
|
|
c55d09 |
+++ b/Makefile.am
|
|
|
c55d09 |
@@ -56,6 +56,7 @@ MOFS = \
|
|
|
c55d09 |
$(top_srcdir)/schema/PointingDevice.mof \
|
|
|
c55d09 |
$(top_srcdir)/schema/GraphicsPool.mof \
|
|
|
c55d09 |
$(top_srcdir)/schema/InputPool.mof \
|
|
|
c55d09 |
+ $(top_srcdir)/schema/ControllerPool.mof \
|
|
|
c55d09 |
$(top_srcdir)/schema/HostedAccessPoint.mof \
|
|
|
c55d09 |
$(top_srcdir)/schema/ServiceAccessBySAP.mof \
|
|
|
c55d09 |
$(top_srcdir)/schema/SAPAvailableForElement.mof \
|
|
|
c55d09 |
@@ -147,6 +148,7 @@ REGS = \
|
|
|
c55d09 |
$(top_srcdir)/schema/PointingDevice.registration \
|
|
|
c55d09 |
$(top_srcdir)/schema/GraphicsPool.registration \
|
|
|
c55d09 |
$(top_srcdir)/schema/InputPool.registration \
|
|
|
c55d09 |
+ $(top_srcdir)/schema/ControllerPool.registration \
|
|
|
c55d09 |
$(top_srcdir)/schema/HostedAccessPoint.registration \
|
|
|
c55d09 |
$(top_srcdir)/schema/ServiceAccessBySAP.registration \
|
|
|
c55d09 |
$(top_srcdir)/schema/SAPAvailableForElement.registration \
|
|
|
c55d09 |
diff --git a/libvirt-cim.spec.in b/libvirt-cim.spec.in
|
|
|
c55d09 |
index f4e4fcf..d876b81 100644
|
|
|
c55d09 |
--- a/libvirt-cim.spec.in
|
|
|
c55d09 |
+++ b/libvirt-cim.spec.in
|
|
|
c55d09 |
@@ -114,6 +114,7 @@ rm -fr $RPM_BUILD_ROOT
|
|
|
c55d09 |
%{_datadir}/%{name}/PointingDevice.registration \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/GraphicsPool.registration \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/InputPool.registration \\\
|
|
|
c55d09 |
+ %{_datadir}/%{name}/ControllerPool.registration \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/HostedAccessPoint.registration \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/ServiceAccessBySAP.registration \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/SAPAvailableForElement.registration \\\
|
|
|
c55d09 |
@@ -176,6 +177,7 @@ rm -fr $RPM_BUILD_ROOT
|
|
|
c55d09 |
%{_datadir}/%{name}/PointingDevice.mof \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/GraphicsPool.mof \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/InputPool.mof \\\
|
|
|
c55d09 |
+ %{_datadir}/%{name}/ControllerPool.mof \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/HostedAccessPoint.mof \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/ServiceAccessBySAP.mof \\\
|
|
|
c55d09 |
%{_datadir}/%{name}/SAPAvailableForElement.mof \\\
|
|
|
c55d09 |
diff --git a/schema/ControllerPool.mof b/schema/ControllerPool.mof
|
|
|
c55d09 |
new file mode 100644
|
|
|
c55d09 |
index 0000000..6dbb8a8
|
|
|
c55d09 |
--- /dev/null
|
|
|
c55d09 |
+++ b/schema/ControllerPool.mof
|
|
|
c55d09 |
@@ -0,0 +1,6 @@
|
|
|
c55d09 |
+// Copyright Red Hat Corp. 2014
|
|
|
c55d09 |
+
|
|
|
c55d09 |
+[Provider("cmpi::Virt_DevicePool")]
|
|
|
c55d09 |
+class KVM_ControllerPool : CIM_ResourcePool
|
|
|
c55d09 |
+{
|
|
|
c55d09 |
+};
|
|
|
c55d09 |
diff --git a/schema/ControllerPool.registration b/schema/ControllerPool.registration
|
|
|
c55d09 |
new file mode 100644
|
|
|
c55d09 |
index 0000000..0785f83
|
|
|
c55d09 |
--- /dev/null
|
|
|
c55d09 |
+++ b/schema/ControllerPool.registration
|
|
|
c55d09 |
@@ -0,0 +1,3 @@
|
|
|
c55d09 |
+# Copyright Red Hat Corp. 2014
|
|
|
c55d09 |
+# Classname Namespace ProviderName ProviderModule ProviderTypes
|
|
|
c55d09 |
+KVM_ControllerPool root/virt Virt_DevicePool Virt_DevicePool instance
|
|
|
c55d09 |
--
|
|
|
c55d09 |
2.1.0
|
|
|
c55d09 |
|