[Libvirt-cim] [PATCH] (#3) Fix device_parsing of processors

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Apr 15 19:53:04 UTC 2008


Jay Gagnon wrote:
> # HG changeset patch
> # User Jay Gagnon <grendel at linux.vnet.ibm.com>
> # Date 1208284430 14400
> # Node ID f07c4d4649dfabce47957ca276b5227290bcbcae
> # Parent  01b0a24fc16f9daff19f3733552f223ddf6d7a18
> (#3) Fix device_parsing of processors.
> 
> Kaitlin discovered that my changes to device_parsing.c make it so we only get one Processor as well, not just one Proc RASD.  This moves the flattening step up a little higher so that enumerating on Processor works correctly.  It's not the prettiest approach to things, but I think given Processor's unique Device-RASD relationship it's a good compromise.  I would of course be open to suggestions for making it a bit more elegant.
> 
> Changes from 1 to 2:
> Fix xml_parse_test.c's print_dev_vcpu, and by "fix" I mean "fix, because once again I made a change that breaks it."
> 
> Changes from 2 to 3:
> VirtualQuantity is supposed to be 64-bit, not 32.
> 

+1 Pegasus 2.7 is happy this time around. =)

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list