# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1207907205 25200
# Node ID a80c7a68af12a390861171e38d2b216c22fb2b41
# Parent a185e443ad6012d86690194112393d58e8c51967
[PATCH] fix vcpu dev error in xml_parse_test.c
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r a185e443ad60 -r a80c7a68af12 libxkutil/xml_parse_test.c
--- a/libxkutil/xml_parse_test.c Tue Apr 08 11:32:06 2008 -0400
+++ b/libxkutil/xml_parse_test.c Fri Apr 11 02:46:45 2008 -0700
@@ -93,7 +93,7 @@ static void print_dev_vcpu(struct virt_d
static void print_dev_vcpu(struct virt_device *dev,
FILE *d)
{
- print_u32(d, "Virtual CPU", dev->dev.vcpu.number);
+ print_u32(d, "Virtual CPU", dev->dev.vcpu.quantity);
}
static void print_dev_emu(struct virt_device *dev,