Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly handle error from check_extension_int()
Kvm::check_extension_int() may return negative value as error code, so Kvm::get_max_vcpus() and Kvm::get_max_vcpu_id() should handle the error cases. Signed-off-by: Liu Jiang <[email protected]>
- Loading branch information