commit | c6d23c41cd0710b3d30f57f03863f75fba51fd35 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Jun 26 13:30:42 2019 +0100 |
committer | Andrew Walbran <qwandor@google.com> | Fri Jul 05 14:55:34 2019 +0100 |
tree | 01e225ac9651ed5aae58b3c06334091953e38b34 | |
parent | 3f509e0733f926f9a0742604c7bad00e22683344 [diff] [blame] |
Introducing hf_vcpu_count_t for vCPU count. Return 0 rather than -1 on error. Change-Id: I95cdde0744ef13e9bd748ce8ed32439d3d7f2010
diff --git a/src/vm.c b/src/vm.c index 0119fd8..f1b79e6 100644 --- a/src/vm.c +++ b/src/vm.c
@@ -27,7 +27,8 @@ static struct vm vms[MAX_VMS]; static spci_vm_count_t vm_count; -bool vm_init(uint32_t vcpu_count, struct mpool *ppool, struct vm **new_vm) +bool vm_init(spci_vcpu_count_t vcpu_count, struct mpool *ppool, + struct vm **new_vm) { uint32_t i; struct vm *vm;