]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix values of PM target type constants
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Nov 2011 13:58:32 +0000 (13:58 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 30 Nov 2011 10:12:29 +0000 (10:12 +0000)
commit866b0a706935ec2f1829baae4fe1b0fc0a50c2ea
treedf170601f09eeacb426947b1b1e90df58902b9e1
parenta001a5e28b920a6a89f1e4c47ef311a988f7f341
Fix values of PM target type constants

The VIR_NODE_SUSPEND_TARGET constants are not flags, so they
should just be assigned straightforward incrementing values.

* include/libvirt/libvirt.h.in: Change VIR_NODE_SUSPEND_TARGET
  values
* src/util/virnodesuspend.c: Fix suspend target checks
include/libvirt/libvirt.h.in
src/util/virnodesuspend.c