Home | History | Annotate | Download | only in nvmmctl

Lines Matching defs:cap

68 static struct nvmm_capability cap;
120 if (nvmm_capability(&cap) == -1)
123 printf("nvmm: Kernel API version %u\n", cap.version);
124 printf("nvmm: State size %u\n", cap.state_size);
125 printf("nvmm: Max machines %u\n", cap.max_machines);
126 printf("nvmm: Max VCPUs per machine %u\n", cap.max_vcpus);
128 if (humanize_number(ram, sizeof(ram), cap.max_ram, NULL, HN_AUTOSCALE,
133 snprintb(buf, sizeof(buf), MACH_CONF_FLAGS, cap.arch.mach_conf_support);
136 snprintb(buf, sizeof(buf), VCPU_CONF_FLAGS, cap.arch.vcpu_conf_support);
139 snprintb(buf, sizeof(buf), XCR0_FLAGS1, cap.arch.xcr0_mask);
153 if (nvmm_capability(&cap) == -1)
160 for (i = 0; i < cap.max_machines; i++) {