[Libvirt-cim] [PATCH] Fix (again) domain_online()
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed Jul 23 21:48:08 UTC 2008
Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1216844583 25200
> # Node ID 039b7c1f078d007f02224652235edea0a7113926
> # Parent 3327f39024303cb8a218110d039e37bf9c2b12cd
> Fix (again) domain_online()
>
> In the neverending quest to get domain_online() to do the Right Thing(tm),
> this patch attempts to count VIR_DOMAIN_NOSTATE as running for Xen,
> and as offline for KVM and LXC.
>
> Signed-off-by: Dan Smith <danms at us.ibm.com>
>
> diff -r 3327f3902430 -r 039b7c1f078d libxkutil/misc_util.c
+1 I don't have a really good way of testing this at the moment, other
than running the test suite to check for regressions (which I've done).
An explicit test case for this is needed.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list