search for: virbitmapnextsetbit

Displaying 4 results from an estimated 4 matches for "virbitmapnextsetbit".

2015 Feb 10
2
Re: HugePages - can't start guest that requires them
...> > + if (def->cpu && def->cpu->ncells) { > + /* Fortunately, we allow only guest NUMA nodes to be continuous > + * starting from zero. */ > + pos = def->cpu->ncells - 1; > + } > + > + next_bit = virBitmapNextSetBit(page->nodemask, pos); > + if (next_bit >= 0) { > + virReportError(VIR_ERR_XML_DETAIL, > + _("hugepages: node %zd not found"), > + next_bit); > + return -1; > + } > > With...
2015 Feb 04
2
Re: HugePages - can't start guest that requires them
*facepalm* Now that I'm re-reading the documentation it's obvious that <page/> and @nodeset are for the guest, "This tells the hypervisor that the guest should have its memory allocated using hugepages instead of the normal native page size." Pretty clear there. Thank you SO much for the guidance, I'll return to my tweaking. I'll report back here with my results.
2015 Feb 20
0
Re: HugePages - can't start guest that requires them
...(def->cpu && def->cpu->ncells) { >> + /* Fortunately, we allow only guest NUMA nodes to be continuous >> + * starting from zero. */ >> + pos = def->cpu->ncells - 1; >> + } >> + >> + next_bit = virBitmapNextSetBit(page->nodemask, pos); >> + if (next_bit >= 0) { >> + virReportError(VIR_ERR_XML_DETAIL, >> + _("hugepages: node %zd not found"), >> + next_bit); >> + return -1; >> +...
2015 Feb 09
0
Re: HugePages - can't start guest that requires them
...responsible for throwing this error [3], + if (def->cpu && def->cpu->ncells) { + /* Fortunately, we allow only guest NUMA nodes to be continuous + * starting from zero. */ + pos = def->cpu->ncells - 1; + } + + next_bit = virBitmapNextSetBit(page->nodemask, pos); + if (next_bit >= 0) { + virReportError(VIR_ERR_XML_DETAIL, + _("hugepages: node %zd not found"), + next_bit); + return -1; + } Without digging too deeply into the actual c...