with smp value in
vm_create. (ioctl naming credit to KVM)
This commit results in if ioctl doesn't exist or occur error, it will
continue running but output warning, if smp value is larger than the
min(hax max,qemu max), it will terminate and output error message.
Signed-off-by: Wang
terminate,
otherwise it will allocate array of size smp to store the status.
Signed-off-by: WangBowen
---
target/i386/hax-all.c | 25 +++--
target/i386/hax-i386.h | 5 +++--
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/target/i386/hax-all.c b/target/i386
terminate,
otherwise it will allocate array of size smp to store the status.
Signed-off-by: WangBowen
---
target/i386/hax-all.c | 25 +++--
target/i386/hax-i386.h | 5 +++--
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/target/i386/hax-all.c b/target/i386/hax