Skip to content

failing to allocate vcpus #83

@eboyfriends

Description

@eboyfriends

0xc0350071

[hv] Attempting to allocate 14827520 bytes for 20 VCPUs

in create:

 DbgPrint("[hv] Attempting to allocate %zu bytes for %u VCPUs\n", arr_size, ghv.vcpu_count);
 ghv.vcpus = static_cast<vcpu*>(ExAllocatePool2(NonPagedPoolNx, arr_size, 'G0D')); // ExAllocatePoolWithTag deprecated

 if (!ghv.vcpus) {
   DbgPrint("[hv] Failed to allocate VCPUs.\n");
   return false;
 }```

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