• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 15387434952 / 1
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/master/pr-6813-1878ccc6f7cc59eb3d0b83701051f3ca963f4b3a
DEFAULT BRANCH: master
Ran 02 Jun 2025 08:27AM UTC
Files 33
Run time 649min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2025 08:22AM UTC coverage: 77.719%. Remained the same
15387434952.1

push

github

web-flow
Add experimental feature to use hard affinities when using best-effort (CP-54234) (#6491)

This needed:
- Changes in the C bindings to be able to set the hard affinity for each
vcpu. This needed change in the basic call to be able to set hard and
soft affinities, at the same time.
- Stop feeding xenguest the hard affinities when user did not set any in
particular. Prior to the all->all priorities were set instead, with the
misfortune of setting them after the NUMA code had decided the
affinities and set them, overriding the desired values. Fortunately
xenguest is able to cope with the missing values. (edwin found this
strange behaviour)

I took time to fix the exhaustivity issue when defining features, and
now xenopsd sets the hard affinities when the user has hardcoded them
for a VM, instead of sending them for xenguest to read them.

Tests:
- manually tested that soft-pinning works by default
- manually tested that enabling the feature and restart xapi enables
hard-pinning
- manually tested that setting the vcpu mask works (`xe vm-param-set
uuid=A_UUID VCPUs-params:mask=20`)
- manually checked that the all_features contains the same features as
before using the REPL, in case some got forgotten (there are also
unit-tests for the module)

The vcpu affinities were checked using `xl vcpu-list` and restarting a
VM repeatedly while changing the feature and the vm arguments.

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Source Files on job python3.11 - 15387434952.1
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15387434952
  • ae2d8599 on github
  • Prev Job for on gh-readonly-queue/master/pr-6491-bb63de6ff735718839d6df43f122812ad85abdb3 (#15327309189.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc