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

xapi-project / xen-api / 15407721016
80%

Build:
DEFAULT BRANCH: master
Ran 03 Jun 2025 03:21AM UTC
Jobs 1
Files 0
Run time –
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

pending completion
15407721016

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.
Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15407721016.1 03 Jun 2025 03:21AM UTC 33
GitHub Action Run
Source Files on build 15407721016
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #15407721016
  • ae2d8599 on github
  • Prev Build on gh-readonly-queue/master/pr-6490-d27a1181bbf043ed00eb0b2d61fe434d8588d2d2 (#15327309189)
  • Next Build on master (#15420745900)
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

© 2025 Coveralls, Inc