[PATCH] Add console profile support

# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1228165302 28800 # Node ID 4195d0d40649577c643b71145ad9cddb6342f8bd # Parent 6e8a488cf67b47efb618c28aa2a9104d5b0e1b91 Add console profile support. Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r 6e8a488cf67b -r 4195d0d40649 src/Virt_ElementConformsToProfile.c --- a/src/Virt_ElementConformsToProfile.c Mon Dec 01 10:00:45 2008 -0800 +++ b/src/Virt_ElementConformsToProfile.c Mon Dec 01 13:01:42 2008 -0800 @@ -248,6 +248,7 @@ "Xen_NetworkPool", "Xen_ProcessorPool", "Xen_VirtualSystemMigrationService", + "Xen_ConsoleRedirectionService", "KVM_HostSystem", "KVM_ComputerSystem", "KVM_DiskPool", @@ -255,6 +256,7 @@ "KVM_NetworkPool", "KVM_ProcessorPool", "KVM_VirtualSystemMigrationService", + "KVM_ConsoleRedirectionService", "LXC_HostSystem", "LXC_ComputerSystem", "LXC_DiskPool", @@ -262,6 +264,7 @@ "LXC_NetworkPool", "LXC_ProcessorPool", "LXC_VirtualSystemMigrationService", + "LXC_ConsoleRedirectionService", "Linux_ComputerSystem", NULL }; diff -r 6e8a488cf67b -r 4195d0d40649 src/profiles.h --- a/src/profiles.h Mon Dec 01 10:00:45 2008 -0800 +++ b/src/profiles.h Mon Dec 01 13:01:42 2008 -0800 @@ -104,6 +104,16 @@ .scoping_profile = &SystemVirtualization }; +struct reg_prof KVMRedirection = { + .reg_org = 2, + .reg_id = "CIM:DSP1076-KVMRedirection-1.0.0", + .reg_name = "KVM Redirection", + .reg_version = "1.0.0", + .scoping_class = "HostSystem", + .central_class = "ConsoleRedirectionService", + .scoping_profile = &SystemVirtualization +}; + // Make sure to add pointer to your reg_prof struct here. struct reg_prof *profiles[] = { &SystemVirtualization, @@ -113,6 +123,7 @@ &GDRVP_Proc, &MemoryResourceVirtualization, &VirtualSystemMigration, + &KVMRedirection, NULL };
participants (1)
-
Kaitlin Rupert