From grendel at linux.vnet.ibm.com Thu May 1 12:54:19 2008 From: grendel at linux.vnet.ibm.com (Jay Gagnon) Date: Thu, 01 May 2008 08:54:19 -0400 Subject: [Libvirt-cim] [PATCH 0 of 2] Move MAC generation to DefineSystem In-Reply-To: References: Message-ID: <4819BD7B.5010708@linux.vnet.ibm.com> Dan Smith wrote: > This set moves the MAC generation to DefineSystem and out of the example > NetRASD from AC. > > Having already determined it's necessary to make this change, I guess there's not really a whole lot to be said about a patch that just moves code from one place to the other. So... +1! -- -Jay From kaitlin at linux.vnet.ibm.com Thu May 1 13:56:27 2008 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 01 May 2008 06:56:27 -0700 Subject: [Libvirt-cim] KVM test report on Fedora 9 (4/30) In-Reply-To: <4818049C.9070202@linux.vnet.ibm.com> References: <4817E363.7050105@linux.vnet.ibm.com> <4818049C.9070202@linux.vnet.ibm.com> Message-ID: <4819CC0B.7050207@linux.vnet.ibm.com> Zhengang Li wrote: >> ComputerSystemIndication - 01_created_indication.py: FAIL > Pegasus crashed after running this test case. > Log says 'BadStatusLine :' > Any more information on why the provider is crashing here? I'm able to run with KVM on current sources. Maybe this test is hitting a provider but that's been fixed? -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu May 1 14:17:19 2008 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 01 May 2008 07:17:19 -0700 Subject: [Libvirt-cim] CimTest Report for KVM on F9 30-04-2008 In-Reply-To: <48186C18.8020205@linux.vnet.ibm.com> References: <48186C18.8020205@linux.vnet.ibm.com> Message-ID: <4819D0EF.2030405@linux.vnet.ibm.com> Thanks for the test run Deepti! > > VSSD - 03_vssd_gi_errs.py: FAIL > ERROR - Unexpected rc code 0 and description The web server returned a > bad status line: '' > ERROR - ------ FAILED: INVALID_InstID_Keyval ------ > > ------------------------------------------------------------------------- > cimserver o/p when run in the background > misc_util.c(72): Connecting to libvirt with uri `qemu:///system' > misc_util.c(199): URI of connection is: qemu:///system > misc_util.c(72): Connecting to libvirt with uri `qemu:///system' > misc_util.c(199): URI of connection is: qemu:///system > Segmentation fault > ------------------------------------------------------------------------- > The segmentation fault occurs the InstanceID does not contain the VSType. Can you give an example query? This test passes for me on my system, so I'm not sure what the offending portion of the test is. I tried the following query: wbemcli gi 'http://localhost:5988/root/virt:KVM_VirtualSystemSettingData.InstanceID="Invalid"' * * wbemcli: Cim: (6) CIM_ERR_NOT_FOUND: No such instance (InstanceID) * Which returned an error, as expected. > The segmentation does not occur when the InstanceID contains something > like "KVM:Invaid" > > VirtualSystemManagementService - 01_definesystem_name.py: FAIL > VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL > VirtualSystemManagementService - 06_addresource.py: FAIL > > VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL > ERROR - Unexpected rc code 0 and description The web server returned a > bad status line: '' > > ERROR - ------ FAILED: KVM_VirtualSystemSettingData > INVALID_InstID_Keyval------ > > ------------------------------------------------------------------------- > cimserver o/p when run in the background > misc_util.c(72): Connecting to libvirt with uri `qemu:///system' > misc_util.c(199): URI of connection is: qemu:///system > misc_util.c(72): Connecting to libvirt with uri `qemu:///system' > misc_util.c(199): URI of connection is: qemu:///system > std_association.c(288): Getting handler ... > std_association.c(151): Calling Provider: 'associationVirt_VSSDComponent' > std_association.c(167): Check client's assocClass: > 'KVM_VirtualSystemSettingDataComponent' > std_association.c(178): AssocClass valid. > std_association.c(294): Getting handler succeeded. > std_association.c(298): Calling handler ... > std_association.c(301): Handler did not return CMPI_RC_OK. > std_association.c(288): Getting handler ... > std_association.c(151): Calling Provider: 'associationVirt_VSSDComponent' > std_association.c(167): Check client's assocClass: > 'KVM_VirtualSystemSettingDataComponent' > std_association.c(178): AssocClass valid. > std_association.c(294): Getting handler succeeded. > std_association.c(298): Calling handler ... > std_association.c(301): Handler did not return CMPI_RC_OK. > Segmentation fault > ------------------------------------------------------------------------- > The segmentation fault occurs the InstanceID does not contain the VSType. I had the same issue here - the test case passes. Can you give a sample query? Providers shouldn't seg fault, so it'll be good to track this down. Thanks! > The segmentation does not occur when the InstanceID contains something > like "KVM:Invaid" > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From danms at us.ibm.com Thu May 1 17:05:32 2008 From: danms at us.ibm.com (Dan Smith) Date: Thu, 01 May 2008 10:05:32 -0700 Subject: [Libvirt-cim] [PATCH] Remove PKG_CONFIG_PATH override Message-ID: # HG changeset patch # User Dan Smith # Date 1209661530 25200 # Node ID d50126c4ae1c0faca291f5c1e816de9dac65c605 # Parent ffa1024f9012873e29c732a9b355199bd61d0440 Remove PKG_CONFIG_PATH override ...so that you can actually set it if you need to :) Signed-off-by: Dan Smith diff -r ffa1024f9012 -r d50126c4ae1c configure.ac --- a/configure.ac Wed Apr 30 11:24:37 2008 -0700 +++ b/configure.ac Thu May 01 10:05:30 2008 -0700 @@ -134,7 +134,6 @@ CHECK_CIMSERVER CHECK_CIMSERVER # Check for presence of libraries -PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CHECK_LIBVIRT CHECK_LIBXML2 CHECK_LIBCU From danms at us.ibm.com Thu May 1 17:32:38 2008 From: danms at us.ibm.com (Dan Smith) Date: Thu, 01 May 2008 10:32:38 -0700 Subject: [Libvirt-cim] [TEST] test cases fix list and assignment for the next week In-Reply-To: <4818EB63.5050505@linux.vnet.ibm.com> (Kaitlin Rupert's message of "Wed, 30 Apr 2008 14:57:55 -0700") References: <48174407.9020804@linux.vnet.ibm.com> <87d4o8ievv.fsf@caffeine.beaverton.ibm.com> <4817C734.3090309@linux.vnet.ibm.com> <4818EB63.5050505@linux.vnet.ibm.com> Message-ID: <87mynand55.fsf@caffeine.beaverton.ibm.com> KR> I think what Dan meant is that we should be using a network KR> interface type for the cimtest guests. Well, the providers should be creating , so I need to check and make sure we're doing that. KR> Dan - should the provider return an error if the guest doesn't use KR> a network type interface? Meaning an existing guest created outside the providers with a network type we don't support? I dunno, I'll have to think on that one. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms at us.ibm.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: From grendel at linux.vnet.ibm.com Thu May 1 17:34:48 2008 From: grendel at linux.vnet.ibm.com (Jay Gagnon) Date: Thu, 01 May 2008 13:34:48 -0400 Subject: [Libvirt-cim] [PATCH] Remove PKG_CONFIG_PATH override In-Reply-To: References: Message-ID: <4819FF38.8030603@linux.vnet.ibm.com> Dan Smith wrote: > # HG changeset patch > # User Dan Smith > # Date 1209661530 25200 > # Node ID d50126c4ae1c0faca291f5c1e816de9dac65c605 > # Parent ffa1024f9012873e29c732a9b355199bd61d0440 > Remove PKG_CONFIG_PATH override > > ...so that you can actually set it if you need to :) > > Signed-off-by: Dan Smith > Letting them set things if they need to. When did we get all touchie-feelie? +1 -- -Jay From danms at us.ibm.com Thu May 1 18:38:05 2008 From: danms at us.ibm.com (Dan Smith) Date: Thu, 01 May 2008 11:38:05 -0700 Subject: [Libvirt-cim] [PATCH] Add the ValueRole to the SDC reference Message-ID: # HG changeset patch # User Dan Smith # Date 1209667072 25200 # Node ID df67e47476756c5cfdb77a976308677ac1742186 # Parent d4ea8516ae04a2e3ab0060f297035b107b59b81d Add the ValueRole to the SDC reference This extends the default make_reference() function to set the proper ValueRole and ValueRange properties for the AC->RASD reference. Signed-off-by: Dan Smith diff -r d4ea8516ae04 -r df67e4747675 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Thu May 01 10:45:16 2008 -0700 +++ b/src/Virt_SettingsDefineCapabilities.c Thu May 01 11:37:52 2008 -0700 @@ -1063,6 +1063,49 @@ static CMPIStatus vsmsd_to_migrate_cap(c return s; } +static CMPIInstance *make_ref_valuerole(const CMPIObjectPath *source_ref, + const CMPIInstance *target_inst, + struct std_assoc_info *info, + struct std_assoc *assoc) +{ + CMPIInstance *ref_inst = NULL; + uint16_t valuerole = SDC_ROLE_SUPPORTED; + uint16_t valuerange; + const char *iid = NULL; + + ref_inst = make_reference(_BROKER, + source_ref, + target_inst, + info, + assoc); + + if (cu_get_str_prop(target_inst, "InstanceID", &iid) != CMPI_RC_OK) { + CU_DEBUG("Target instance does not have an InstanceID"); + goto out; + } + + if (strstr("Default", iid) != NULL) + valuerange = SDC_RANGE_POINT; + else if (strstr("Increment", iid) != NULL) + valuerange = SDC_RANGE_INC; + else if (strstr("Maximum", iid) != NULL) + valuerange = SDC_RANGE_MAX; + else if (strstr("Minimum", iid) != NULL) + valuerange = SDC_RANGE_MIN; + else + CU_DEBUG("Unknown default RASD type: `%s'", iid); + + if (valuerange == SDC_RANGE_POINT) + valuerole = SDC_ROLE_DEFAULT; + + CMSetProperty(ref_inst, "ValueRole", + (CMPIValue *)&valuerole, CMPI_uint16); + CMSetProperty(ref_inst, "ValueRange", + (CMPIValue *)&valuerange, CMPI_uint16); + out: + return ref_inst; +} + LIBVIRT_CIM_DEFAULT_MAKEREF() static char* group_component[] = { @@ -1105,7 +1148,7 @@ static struct std_assoc _alloc_cap_to_ra .assoc_class = (char**)&assoc_classname, .handler = alloc_cap_to_rasd, - .make_ref = make_ref + .make_ref = make_ref_valuerole }; static struct std_assoc _rasd_to_alloc_cap = { From grendel at linux.vnet.ibm.com Thu May 1 18:47:10 2008 From: grendel at linux.vnet.ibm.com (Jay Gagnon) Date: Thu, 01 May 2008 14:47:10 -0400 Subject: [Libvirt-cim] [PATCH] Add the ValueRole to the SDC reference In-Reply-To: References: Message-ID: <481A102E.2070204@linux.vnet.ibm.com> Dan Smith wrote: > # HG changeset patch > # User Dan Smith > # Date 1209667072 25200 > # Node ID df67e47476756c5cfdb77a976308677ac1742186 > # Parent d4ea8516ae04a2e3ab0060f297035b107b59b81d > Add the ValueRole to the SDC reference > > This extends the default make_reference() function to set the proper > ValueRole and ValueRange properties for the AC->RASD reference. > > Signed-off-by: Dan Smith > This is probably something I should have done when I wrote the sdc stuff in the first place, if I had only understood even remotely what make_reference() was supposed to do :-P. So thanks for picking up the slack there. +1 -- -Jay From danms at us.ibm.com Thu May 1 18:49:13 2008 From: danms at us.ibm.com (Dan Smith) Date: Thu, 01 May 2008 11:49:13 -0700 Subject: [Libvirt-cim] [PATCH 1 of 2] Add the ValueRole to the SDC reference In-Reply-To: Message-ID: # HG changeset patch # User Dan Smith # Date 1209667695 25200 # Node ID db6526d1cb9c15334a73c25ab6e5fb511855013a # Parent d4ea8516ae04a2e3ab0060f297035b107b59b81d Add the ValueRole to the SDC reference This extends the default make_reference() function to set the proper ValueRole and ValueRange properties for the AC->RASD reference. Changes: - Add in PropertyPolicy Signed-off-by: Dan Smith diff -r d4ea8516ae04 -r db6526d1cb9c src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Thu May 01 10:45:16 2008 -0700 +++ b/src/Virt_SettingsDefineCapabilities.c Thu May 01 11:48:15 2008 -0700 @@ -1063,6 +1063,52 @@ static CMPIStatus vsmsd_to_migrate_cap(c return s; } +static CMPIInstance *make_ref_valuerole(const CMPIObjectPath *source_ref, + const CMPIInstance *target_inst, + struct std_assoc_info *info, + struct std_assoc *assoc) +{ + CMPIInstance *ref_inst = NULL; + uint16_t valuerole = SDC_ROLE_SUPPORTED; + uint16_t valuerange; + uint16_t ppolicy = SDC_POLICY_INDEPENDENT; + const char *iid = NULL; + + ref_inst = make_reference(_BROKER, + source_ref, + target_inst, + info, + assoc); + + if (cu_get_str_prop(target_inst, "InstanceID", &iid) != CMPI_RC_OK) { + CU_DEBUG("Target instance does not have an InstanceID"); + goto out; + } + + if (strstr("Default", iid) != NULL) + valuerange = SDC_RANGE_POINT; + else if (strstr("Increment", iid) != NULL) + valuerange = SDC_RANGE_INC; + else if (strstr("Maximum", iid) != NULL) + valuerange = SDC_RANGE_MAX; + else if (strstr("Minimum", iid) != NULL) + valuerange = SDC_RANGE_MIN; + else + CU_DEBUG("Unknown default RASD type: `%s'", iid); + + if (valuerange == SDC_RANGE_POINT) + valuerole = SDC_ROLE_DEFAULT; + + CMSetProperty(ref_inst, "ValueRole", + (CMPIValue *)&valuerole, CMPI_uint16); + CMSetProperty(ref_inst, "ValueRange", + (CMPIValue *)&valuerange, CMPI_uint16); + CMSetProperty(ref_inst, "PropertyPolicy", + (CMPIValue *)&ppolicy, CMPI_uint16); + out: + return ref_inst; +} + LIBVIRT_CIM_DEFAULT_MAKEREF() static char* group_component[] = { @@ -1105,7 +1151,7 @@ static struct std_assoc _alloc_cap_to_ra .assoc_class = (char**)&assoc_classname, .handler = alloc_cap_to_rasd, - .make_ref = make_ref + .make_ref = make_ref_valuerole }; static struct std_assoc _rasd_to_alloc_cap = { From danms at us.ibm.com Thu May 1 18:49:14 2008 From: danms at us.ibm.com (Dan Smith) Date: Thu, 01 May 2008 11:49:14 -0700 Subject: [Libvirt-cim] [PATCH 2 of 2] Remove incorrectly-placed ValueRole/ValueRange in RASDs from AC::SDC In-Reply-To: Message-ID: <122027a2c63e87593949.1209667754@guaranine.danplanet.com> # HG changeset patch # User Dan Smith # Date 1209667697 25200 # Node ID 122027a2c63e875939492ec0c7f39299ca6fed25 # Parent db6526d1cb9c15334a73c25ab6e5fb511855013a Remove incorrectly-placed ValueRole/ValueRange in RASDs from AC::SDC Signed-off-by: Dan Smith diff -r db6526d1cb9c -r 122027a2c63e src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Thu May 01 11:48:15 2008 -0700 +++ b/src/Virt_SettingsDefineCapabilities.c Thu May 01 11:48:17 2008 -0700 @@ -856,10 +856,6 @@ static CMPIInstance *sdc_rasd_inst(const const char *inst_id = NULL; const char *base = NULL; uint16_t resource_type; - /* Defaults for the following are from - CIM_SettingsDefineCapabilities.mof. */ - uint16_t policy = SDC_POLICY_INDEPENDENT; - uint16_t role = SDC_ROLE_SUPPORTED; switch(type) { case SDC_RASD_MIN: @@ -867,29 +863,24 @@ static CMPIInstance *sdc_rasd_inst(const goto out; prop_list = rasd->min(ref, s); inst_id = "Minimum"; - range = SDC_RANGE_MIN; break; case SDC_RASD_MAX: if (rasd->max == NULL) goto out; prop_list = rasd->max(ref, s); inst_id = "Maximum"; - range = SDC_RANGE_MAX; break; case SDC_RASD_INC: if (rasd->inc == NULL) goto out; prop_list = rasd->inc(ref, s); inst_id = "Increment"; - range = SDC_RANGE_INC; break; case SDC_RASD_DEF: if (rasd->def == NULL) goto out; prop_list = rasd->def(ref, s); inst_id = "Default"; - role = SDC_ROLE_DEFAULT; - range = SDC_RANGE_POINT; break; default: cu_statusf(broker, s, @@ -913,9 +904,6 @@ static CMPIInstance *sdc_rasd_inst(const NAMESPACE(ref)); CMSetProperty(inst, "InstanceID", inst_id, CMPI_chars); - CMSetProperty(inst, "PropertyPolicy", &policy, CMPI_uint16); - CMSetProperty(inst, "ValueRole", &role, CMPI_uint16); - CMSetProperty(inst, "ValueRange", &range, CMPI_uint16); resource_type = rasd->resource_type; CMSetProperty(inst, "ResourceType", &resource_type, CMPI_uint16); From danms at us.ibm.com Thu May 1 18:49:12 2008 From: danms at us.ibm.com (Dan Smith) Date: Thu, 01 May 2008 11:49:12 -0700 Subject: [Libvirt-cim] [PATCH 0 of 2] Correctly place the ValueRole, ValueRange, and PropertyPolicy attributes Message-ID: This set (which includes my previous patch) creates a reference function to set the mentioned attributes on the SDC reference, as well as removing the code to set the on the RASD. From grendel at linux.vnet.ibm.com Thu May 1 20:43:21 2008 From: grendel at linux.vnet.ibm.com (Jay Gagnon) Date: Thu, 01 May 2008 16:43:21 -0400 Subject: [Libvirt-cim] [PATCH] Update web content to match libvirt.org Message-ID: <9616af4ad2341ecb47dc.1209674601@naegling> # HG changeset patch # User Jay Gagnon # Date 1209666871 14400 # Node ID 9616af4ad2341ecb47dc0b139017636d14e0e86a # Parent bd075f76943a0facc8aa69d7788f3d6a1a2f8d8c Update web content to match libvirt.org Signed-off-by: Jay Gagnon diff -r bd075f76943a -r 9616af4ad234 doc/Makefile.am --- a/doc/Makefile.am Thu Apr 24 10:25:48 2008 -0400 +++ b/doc/Makefile.am Thu May 01 14:34:31 2008 -0400 @@ -1,23 +1,26 @@ XSLTPROC = /usr/bin/xsltproc XSLTPROC = /usr/bin/xsltproc +XMLLINT = /usr/bin/xmllint -WEB_PAGES = index.html \ - architecture.html \ - downloads.html \ - intro.html \ - news.html \ - patches.html \ - platforms.html \ - schema.html +dot_html_in = $(wildcard *.html.in) +dot_html = $(dot_html_in:%.html.in=%.html) -EXTRA_DIST = site.xsl libvirt-cim.html $(WEB_PAGES) - -$(WEB_PAGES): libvirt-cim.html site.xsl - -@(if [ -x $(XSLTPROC) ]; then \ - $(XSLTPROC) --nonet --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/libvirt-cim.html > index.html; \ - fi); +EXTRA_DIST = site.xsl $(dot_html) $(dot_html_in) install-data-local: $(mkinstalldirs) $(DESTDIR)$(HTML_DIR) @INSTALL@ -m 0644 $(srcdir)/*.html $(DESTDIR)$(HTML_DIR) -all: $(WEB_PAGES) +all: $(dot_html) + +%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in + @(if [ -x $(XSLTPROC) ] ; then \ + echo "Generating $@"; \ + name=`echo $@ | sed -e 's/.tmp//'`; \ + echo "name: $$name"; \ + $(XSLTPROC) --stringparam pagename $$name --nonet --html $(top_srcdir)/doc/site.xsl $< > $@ || (rm $@ && exit 1) ; fi ) + + +%.html: %.html.tmp + @(if [ -x $(XMLLINT) ] ; then \ + echo "Validating $@" ; \ + $(XMLLINT) --nonet --format --valid $< > $@ || : ; fi ); diff -r bd075f76943a -r 9616af4ad234 doc/architecture.html.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/architecture.html.in Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,30 @@ + + +

Architecture

+ +

+ The libvirt-cim provider consists of two major parts: +

+
    +
  • + The provider classes themselves (src/) +
  • +
  • + A helper library of common components (libxkutil/) +
  • +
+

+ The provider classes implement the actual CIM class model. Some of + the provider libraries implement one CIM class and one providier. + However, many of them perform more than one task. For example, + the Virt_Device and Virt_DevicePool providers + implement the device and device pool classes for each of the major + device types: Memory, Processor, Network, and Disk. +

+

+ The helper library contains common routines that almost all of the + providers use, such as libvirt connection type detection and device + and system XML parsing. +

+ + diff -r bd075f76943a -r 9616af4ad234 doc/downloads.html.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/downloads.html.in Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,27 @@ + + +

Downloads

+ +

+ Official releases can be found on the libvirt.org + FTP server. Alternatively, + you can grab a + tarball or + zip file + snapshot of the development repository. These snapshots will have the + latest features (and bugs). +

+

+ The libvirt-cim development tree can be found in the + libvirt.org/hg repository. +

+

+ To get a copy of the development tree, use + mercurial's clone + feature: +

+
+      $ hg clone http://libvirt.org/hg/libvirt-cim
+    
+ + diff -r bd075f76943a -r 9616af4ad234 doc/generic.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/generic.css Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,75 @@ + +body { + margin: 0em; + padding: 0px; + color: rgb(0,0,0); + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 80%; +// font-size: 83%; +} + +p, ul, ol, dl { + padding: 0px; + margin: 0px; +} + +ol,ul { + margin-left: 3em; +} + +ol,ul,dl,p { + margin-top: 1em; + margin-bottom: 1em; +} + +p:first-line { + margin-right: 1em; +} + +div.body p:first-letter { + font-size: 1.2em; + font-weight: bold; +} + +h1,h2,h3,h4,h5,h6 { + font-weight: bold; + margin: 0px; + padding: 0px; + margin-top: 0.5em; +} + +div.footer { + margin-top: 1em; +} + +h1 { + font-size: 2em; +} +h2 { + font-size: 1.6em; +} +h3 { + font-size: 1.4em; +} +h4 { + font-size: 1.2em; +} +h5 { + font-size: 1em; +} +h6 { + font-size: 0.8em; +} + +dl dt { + margin-left: 1em; + margin-right: 2em; + font-weight: bold; + font-size: larger; +} + +dl dd { + margin-left: 2em; + margin-right: 2em; + margin-bottom: 0.5em; +} diff -r bd075f76943a -r 9616af4ad234 doc/index.html.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/index.html.in Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,25 @@ + + +

What is libvirt-cim?

+

+ Libvirt-CIM is a CIM provider for managing linux virtualization platforms + using libvirt. It is written in C and should work in any CIMOM that + supports CMPI 2.0 providers. The intent is to implement the SVPC + virtualization class model currently available in the DMTF Experimental + 2.16 schema. +

+

+ Libvirt-CIM is a CIM provider for managing linux virtualization platforms + using libvirt. It is written in C and should work in any CIMOM that + supports CMPI 2.0 providers. The intent is to implement the SVPC + virtualization class model currently available in the DMTF Experimental 2. + 16 schema. +

+

+ The providers are currently under heavy development. Focus is on Xen + support right now, which means some of the providers have some "shortcuts" + hard-coded to Xen right now. The long-term goal is to support all of the + platforms that libvirt supports with minimal differences. +

+ + diff -r bd075f76943a -r 9616af4ad234 doc/libvirt.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/libvirt.css Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,343 @@ + + +h1 { + font-weight: normal; + color: #3c857c; +} +h1 strong { + font-weight: bold; +} + +h2, h3, h4, h5, h6 { + color: #3c857c; +} + +#header { + position: absolute; + top: 0px; + left: 0px; + margin: 0px; + height: 104px; + width: 100%; + background: url(libvirt-header-bg.png); + border: 0px; +} + +#body { + position: relative; + border: 0px; + padding-top: 104px; + left: 0px; + margin: 0px; + padding-left: 250px; +} + +#content { + float: right; + padding: 0px; + width: 100%; + padding-bottom: 1em; +} + +#menu { + border: 0px; + margin-left: -250px; + position: relative; + margin-top: 0px; + left: 0px; + width: 220px; + margin-bottom: 1em; +} + +#menu ul { + margin: 0px; + padding: 0px; + margin-left: 40px; +} + +#menu li ul { + margin-left: 0px; +} + +#menu ul li { + list-style: none; + color: black; + padding: 0px; + font-weight: bold; + font-size: 1.2em; +} + +#menu li ul li { + font-size: 1em; +} + +#menu ul li a, #menu ul li span { + text-decoration: inherit; + color: inherit; + display: block; + padding: 6px; + margin: 2px; +} + +#menu ul li .active { + background: #a4c6c2; +} + +#menu ul.l0 li .inactive { + background: #c5dbd8; +} + + +#menu ul.l1 li .inactive, +#menu ul.l2 li .inactive { + background: #dfebea; + border-left: 8px solid #dfebea; +} + +#menu ul.l1 li .inactive, +#menu ul.l1 li .active { + padding-left: 1em; +} + +#menu ul.l1 li .inactive { + border-left: 6px solid #dfebea; +} +#menu ul.l1 li .active { + border-left: 6px solid #a5c6c2; +} + +#menu ul.l2 li .inactive, +#menu ul.l2 li .active { + padding-left: 2em; + border-left: 8px solid #c5dbd8; +} + + +#headerLogo { + position: absolute; + top: 0px; + left: 0px; + height: 104px; + width: 400px; + background: url(libvirt-header-logo.png); +} +#headerSearch { + position: absolute; + top: 0px; + right: 0px; + padding: 2em; + z-index: 10; +} + +#headerSearch input { + border: 1px solid #999999; + color: #999999; + background: white; + padding: 3px; + font-size: 1em; +} + +#headerSearch #submit { + border: 1px solid #999999; + background: #eeeeee; + color: black; + padding: 3px; + font-size: 1em; +} + + +#sitemap ul li { + list-style: none; +} + +#sitemap ul { + margin: 1em; + padding: 0em; +} + +#sitemap ul ul { + padding-left: 2em; +} + +#sitemap li { + margin: 0.5em; +} + +#sitemap a { + color: inherit; + text-decoration: underline; + font-weight: bold; +} + +pre { + border: 1px solid #999999; + background: #eeeeee; + color: black; + padding: 1em; +} + +a { + color: #566866; +} + + +div.api { + border: 1px solid #999999; + background: #eeeeee; + color: black; +} + +div.api pre { + margin: 0px; + border: 0px; + background: inherit; +} + +div.api table { + margin: 0px; + padding-left: 2em; + font-family: fixed; + whitespace: pre; +} + + +h1 a, h2 a, h3 a, h4 a, h5 a { + color: inherit; + text-decoration: inherit; +} + +#changelog .author { + color: #3c857c; + font-weight: bold; +} + +p.image { + text-align: center; +} + +.top_table { + border-collapse: collapse; +} + +.top_table th { + background: #a4c6c2; +} + +.top_table th a { + color: inherit; + text-decoration: inherit; +} + +.top_table td, .top_table th { + border: 1px solid #999999; +} + +.top_table tr:hover td, .top_table col:hover td { + background: #eeeeee; +} + +.top_table tr td:hover { + background: #c5dbd8; +} + +#footer { + clear: both; + position: relative; + margin: 0px; + padding: 0px; + border: 0px; + width: 100%; + background: #757575 url(footer_pattern.png) repeat-x; + height: 180px; +} + +#footer p { + position: absolute; + top: 0px; + left: 0px; + margin: 0px; + border: 0px solid red; + width: 220px; + text-align: center; +} + +#footer p a img { + border: 0px; +} + +#projects { + margin: 0px; + border: 0px; + position: absolute; + top: 0px; + left: 0px; + width: 100%; +} + + +#projects dl { + margin: 0px; + border: 0px solid white; + background: url(footer_corner.png) no-repeat; + height: 180px; + position: absolute; + top: 0px; + left: 0px; +} + + +#projects #p1 { + margin-left: 25%; + width: 75%; +} + +#projects #p2 { + margin-left: 50%; + width: 50%; +} + +#projects #p3 { + margin-left: 75%; + width: 25%; +} + +#projects dt, #projects dd { + padding: 0px; + margin: 0px; +} + +#projects #p1 dt, #projects #p1 dd { + width: 33%; +} +#projects #p2 dt, #projects #p2 dd { + width: 50%; +} +#projects #p3 dt, #projects #p3 dd { + width: 99%; +} + +#projects { +} + +#projects span { + font-size: 0.8em; + display: block; + padding-left: 1em; + padding-top: 0.5em; +} + +#projects a { + font-size: 0.8em; + display: block; + padding-left: 0.8em; + padding-top: 1em; +} + +#projects a { + color: white; + text-decoration: inherit; +} + +#projects span { + color: #ccc; +} diff -r bd075f76943a -r 9616af4ad234 doc/main.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/main.css Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,2 @@ + at import url(generic.css); + at import url(libvirt.css); diff -r bd075f76943a -r 9616af4ad234 doc/page.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/page.xsl Thu May 01 14:34:31 2008 -0400 @@ -0,0 +1,127 @@ + + + + + + + + + + +
    + +
  • + + + + + active + + + inactive + + + + + + + + + + + + + + + + + + + + + + + + +
  • +
    +
+
+ + + + + + + This file is autogenerated from .in + Do not edit this file. Changes will be lost. + + + + + libvirt: <xsl:value-of select="html/body/h1"/> + + + +