# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1212005642 25200
# Node ID 19c940c809dde457eb16af15a9de0cb4ad87df1c
# Parent e987c6ce099434eddec21ca021eba5cd37c4e946
Set processor device type and id in parse_vcpu_device().
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r e987c6ce0994 -r 19c940c809dd libxkutil/device_parsing.c
--- a/libxkutil/device_parsing.c Tue May 20 10:33:56 2008 -0700
+++ b/libxkutil/device_parsing.c Wed May 28 13:14:02 2008 -0700
@@ -351,6 +351,9 @@
goto err;
list->dev.vcpu.quantity = count;
+
+ list->type = CIM_RES_TYPE_PROC;
+ list->id = strdup("proc");
*vdevs = list;