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

xapi-project / xen-api / 27138336179
79%

Build:
DEFAULT BRANCH: master
Ran 08 Jun 2026 12:42PM UTC
Jobs 1
Files 36
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

08 Jun 2026 12:33PM UTC coverage: 78.996%. Remained the same
27138336179

push

github

web-flow
xapi_pci: Disallow passthrough for boot devices (#7113)

It is currently possible to accidentally pass through a PCI device
backing the boot drive, making the system unbootable and requiring
manual intervention (since dom0 will no longer be able to access the PCI
device).

Fix this at least for the drive behind '/', refusing to pass through its
PCI device.

As an example, for `00:1f.2` SATA controller behind '/':

    $ /usr/bin/findmnt -no source /
    /dev/sda1
    $ udevadm info -q path -n /dev/sda1

/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/sda1

Disabling dom0 access before this commit:

    $ xe pci-disable-dom0-access uuid=$UUID
    disable_on_reboot
    $ /opt/xensource/libexec/xen-cmdline --get-dom0 xen-pciback.hide
    xen-pciback.hide=(0000:00:1f.2)

After:

    $ xe pci-disable-dom0-access uuid=$UUID
    Passing through a PCI device backing a boot disk is disallowed
    device: /dev/sda1
    $ /opt/xensource/libexec/xen-cmdline --get-dom0 xen-pciback.hide
    <empty>

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 27138336179.1 08 Jun 2026 12:42PM UTC 36
79.0
GitHub Action Run
Source Files on build 27138336179
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27138336179
  • 3edd2a2c on github
  • Prev Build on gh-readonly-queue/master/pr-7105-0b3ee36614edc19f6fa89daf3c36b42322890bb1 (#27132670092)
  • Next Build on master (#27138726079)
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