Richard Maciel wrote:
# HG changeset patch
# User Richard Maciel <richardm(a)br.ibm.com>
# Date 1228337994 7200
# Node ID 7a9f4c0b781a65d5c1e4d1b70e5c380e64ce0ca7
# Parent 63fa1c7aece56430f1b2b15376dcdf8a114e26d2
Added association HostedAccessPoint (HostSystem <-> KVMRedirectionSAP)
* Added schema/HostedAccessPoint.mof (and .registration) to
create and register the new associations
* Changed Makefile.am to regiser HostedAccessPoint association
Signed-off by: Richard Maciel <richardm(a)br.ibm.com>
diff -r 63fa1c7aece5 -r 7a9f4c0b781a Makefile.am
--- a/Makefile.am Wed Dec 03 18:52:00 2008 -0200
+++ b/Makefile.am Wed Dec 03 18:59:54 2008 -0200
@@ -51,7 +51,8 @@
schema/DisplayController.mof \
schema/PointingDevice.mof \
schema/GraphicsPool.mof \
- schema/InputPool.mof
+ schema/InputPool.mof \
+ schema/HostedAccessPoint.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -120,7 +121,8 @@
schema/DisplayController.registration \
schema/PointingDevice.registration \
schema/GraphicsPool.registration \
- schema/InputPool.registration
+ schema/InputPool.registration \
+ schema/HostedAccessPoint.registration
You'll also need to add the HAP mof and reg to CIMV2_MOFS and CIMV2_REG.
Otherwise, the following query still fails:
wbemcli ain -ac KVM_HostedAccessPoint
'http://localhost/root/cimv2:Linux_ComputerSystem.CreationClassName="Linux_ComputerSystem",Name="elm3b41"'
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com