Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xen-dom-mgmt: change xstat result "if" check to assert
Result from xstat sysctl was tested on 0, which stands for 0 active domains. This condition is theoretically impossible in Dom0 and definitely not a valid state, so change it to ASSERT instead of if condition. Signed-off-by: Dmytro Firsov <[email protected]> Acked-by: Volodymyr Babchuk <[email protected]>
- Loading branch information