[Libvirt-cim] [PATCH 0/8] Support for full function consoles

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Thu Sep 5 15:36:34 UTC 2013


Motivation: the current libvirt-cim support for consoles is
very limited in that it doesn't allow to specify the target
and source types supported by libvirt. Having full support
of the libvirt console feature is however mandatory for
architectures like s390.

The current implementation using a Graphics_RASD to represent
consoles cannot easily be extended without breaking the existing
implementation (or without being entirely unusable).

Therefore a new RASD class is added to represent consoles in
the model. Since there's no SVPC resource type for a console
we use the combination of ResourceType = 1 (Other) and 
OtherResourceType = "console" for the new RASD instances.

In order to be backward compatible, the only console type supported
by older libvirt-cim versions (target type 'pty') will still
be returned as Graphics_RASD. In the long run, this should be
deprecated.

Thilo Boehm (6):
  schema: Add CIM_ResourceAllocationSettingData for console resources
  schema: New SVPC types for chardev/consoles
  libxkutil: Console Support
  RASD: Provider Support for Console RASDs
  VSMS: Support for domains with console devices
  VSMS: add default console

Viktor Mihajlovski (2):
  VSMS: Set resource types for default devices
  Device: CIM_LogicalDevice for consoles

 libxkutil/device_parsing.c                        |  316 ++++++++++++++++++-
 libxkutil/device_parsing.h                        |   43 ++-
 libxkutil/xmlgen.c                                |  191 +++++++++++-
 schema/ResourceAllocationSettingData.mof          |  247 ++++++++++++++-
 schema/ResourceAllocationSettingData.registration |    5 +-
 src/Virt_Device.c                                 |   33 ++
 src/Virt_RASD.c                                   |  148 ++++++++-
 src/Virt_VirtualSystemManagementService.c         |  336 +++++++++++++++++++--
 src/svpc_types.h                                  |  102 ++++++-
 9 files changed, 1384 insertions(+), 37 deletions(-)

-- 
1.7.9.5




More information about the Libvirt-cim mailing list