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

xapi-project / sm / 101 / 1
47%
master: 47%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2015 04:18PM UTC
Files 76
Run time 7s
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

09 Apr 2015 04:11PM UTC coverage: 31.655% (-0.006%) from 31.661%
101.1

Pull #251

travis-ci

franciozzy
CP-11936: Automatically plug block-based RAW VDIs via blkback

This patch causes block-based (LV) RAW VDIs to be automatically plugged by
blkback. This is achieved as follows:

During VDI.attach, we detect that the SR handles LVM and that the VDI driver
is 'aio'. In that case, we write 'backend-kind: vbd' to xenstore_data, which
causes the toolstack to use the /local/domain/0/backend/vbd/ path instead of
.../vbd3/. This is the preferred method following CP-11511. By writing to
.../vbd/, blkback wakes up instead of tapback.

During VDI.activate, we create the /dev/sm/backend/ node using the maj/min
numbers of the actual VDI (LV) instead of those of the blktap2 device. This
causes the udev hotplug scripts to write the /physical-device/ entry with
information of the LV, creating the blkfront-blkback-vdi datapath without
blktap2 or tapdisk3 in the middle.

Note that a tapdisk3 and a blktap2 will still exist in dom0, providing all
necessary backend infrastructure resources for other operations.

Signed-off-by: Felipe Franciosi <felipe@paradoxo.org>
Pull Request #251: CP-11936: Automatically plug block-based RAW VDIs via blkback

6128 of 19359 relevant lines covered (31.65%)

0.32 hits per line

Source Files on job 101.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 101
  • Travis Job 101.1
  • 46f880a8 on github
  • Prev Job for on master (#96.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