Skip to contentSkip to conversation

Data path and tapdisk3 session note

HACKATHON Wei Liu 1 participant 1 message Apr 20, 2016

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

Data path and tapdisk 3

* Stop using block protocol for Windows, status of pvscsi

Windows 8 (10?) scsi only -- PV driver fakes a scsi device and translates.

Propose to use pvscsi in the data path.

Juergen: pvscsi is on track, no script provided in tree. but there is script available. planning to integrate that with libxl. not sure about how to deal with device removal, decide which device to delete, sharing. (Make sure disk is not accidentally removed when assigned to different domains)

* tapdisk 3 not in tree

Ross volunteer to work that out. Need guidance to work out. Contact XenServer, maybe act as upstream.

There is work to build blktap3 build outside of XenServer build system.

No-one in XenServer to support that. No-one works on that.

XenServer PoV: don't think tapdisk3 is maintained, doesn't believe to be the way forward. Use qemu instead.

Ross to work out whether to take over or whatnot. XenServer will keep in for compatibility reason.

Ross: using blktap2, old version. Seems that not that many ppl are instrested in tapdisk3. can't swith to qemu at the momemnt.

Ian: tapdisk3 has similarity with qemu, might be able to port Ross's tapdisk modification to qemu -- relief from maintenance burden.

Paul: qemu has better functionailities.

* qdisk

qemu qdisk uses grant map / unmap, performance is suboptimal.

qemu in dom0 used for mounting pv disk for pygrub.

For pv domain only creates qdisks when pv backend is required.

Process per domain doesn't scale, that is guest with large number of disks. qemu is not multi-threaded.

Can we make one process per disk? Probably not upstream. Ian: maybe 4 disks per qemu?

Ian: there is way to implement that based on Stefano's work to spawn multiple qemus

* emulation / pv

Windows will be able to boot from NVMe, would be good to add NVMe disk in libxl, qemu already has required backend.

Ian: use vdev identifier to get the type of devices you want.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel