[PATCH] hax: Add hax max vcpu IOCTL and support 64 vcpu

2020-04-09 Thread WangBowen
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

[PATCH] hax: Dynamic allocate vcpu state structure

2020-04-06 Thread WangBowen
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

[PATCH] hax: Dynamic allocate vcpu state structure

2020-04-05 Thread WangBowen
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