Skip to content

Error attaching to VM, exiting #2

Description

@allewwaly

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions