When I run nitro with parameters of qemu pid number and guest ram file name in /tmp/hugetlbfs, it output error like "Error attaching to VM, exiting". After tracing back the error, I found the function kvm_ioctl(KVM_NITRO_ATTACH_VM, &creator) in libnitro.c returns errno 22 which means the parameters are wrong. So I believe the problem comes form the parameter "KVM_NITRO_ATTACK_VM" which is defined in nitro.h as _IOW(KVMIO, 0xE1, pid_t). Would you please check that? Thanks
When I run nitro with parameters of qemu pid number and guest ram file name in /tmp/hugetlbfs, it output error like "Error attaching to VM, exiting". After tracing back the error, I found the function kvm_ioctl(KVM_NITRO_ATTACH_VM, &creator) in libnitro.c returns errno 22 which means the parameters are wrong. So I believe the problem comes form the parameter "KVM_NITRO_ATTACK_VM" which is defined in nitro.h as _IOW(KVMIO, 0xE1, pid_t). Would you please check that? Thanks