Some small improvements to the fake hypervisor
authorIustin Pop <iustin@google.com>
Fri, 13 Feb 2009 15:35:05 +0000 (15:35 +0000)
committerIustin Pop <iustin@google.com>
Fri, 13 Feb 2009 15:35:05 +0000 (15:35 +0000)
commitbfc30ec0c8afc0a2d8299d1d55d343fd32d51894
tree1cda32f11d8acd6f79b51390dbacebd5685b77ce
parentc0e4a2c3d28e2a7d534d36d4b57c0e8481712b73
Some small improvements to the fake hypervisor

This patch modifies the fake hypervisor to substract the memory “used”
by “running” instances from the free memory, so the actual node
information changes based on the running instances.

Also some style changes and fixes are added.

Reviewed-by: ultrotter
lib/hypervisor/hv_fake.py