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

xapi-project / xen-api / 15824377084
80%

Build:
DEFAULT BRANCH: master
Ran 23 Jun 2025 12:36PM UTC
Jobs 1
Files 33
Run time 1min
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
15824377084

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

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15824377084.1 23 Jun 2025 12:36PM UTC 33
77.72
GitHub Action Run
Source Files on build 15824377084
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15824377084
  • 95b765fa on github
  • Prev Build on gh-readonly-queue/master/pr-6537-e572953386b540f97fcfd61510bfb6040ce85d2b (#15820842499)
  • Next Build on master (#15824670331)
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