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

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

Build:
Build:
LAST BUILD BRANCH: private/edvint/hardclaim
DEFAULT BRANCH: master
Ran 23 Jun 2025 12:29PM UTC
Files 33
Run time 1s
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

23 Jun 2025 12:25PM UTC coverage: 77.719%. Remained the same
15824179991.1

push

github

web-flow
Optimize `xapi<->xenopsd` communication (#6549)

Some refactoring, but the most important commit is this one-line change
that greatly improves things on its own:

---

xenopsd: Remove `data/updated` from the list of watched paths

"data/updated" is not read or used anywhere in xenopsd or xapi:
* xapi_guest_agent's last_updated field is just Unix.gettimeofday ().
* xapi_xenops removes "data/updated" from the guest agent state
altogether before
checking if it's changed:

```
let ignored_keys = ["data/meminfo_free"; "data/updated"; "data/update_cnt"]
```

So there is no need to watch this path at all.

This greatly reduces unnecessary traffic between xapi and xenopsd, since
any VM
with a guest agent would write to data/updated once every 60 seconds,
which
would generate a Dynamic.Vm event, making xapi call xenopsd's VM.stat to
rescan
the domain's xenstore tree and perform several hypercalls. Almost
always, this
would be completely unnecessary as nothing else about the VM would
change, but
a lot of work would be done anyhow.

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Source Files on job python3.11 - 15824179991.1
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15824179991
  • 95b765fa on github
  • Prev Job for on gh-readonly-queue/master/pr-6549-a7e874def6ede5e5aae377be3cd168c5380c27a7 (#15820842499.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