Open
Conversation
We patch blktap to use blktap-control as the misc device name since upstream blktap uses blktap/control. Change our linux patch to use blktap/control and drop our blktap patching to align with upstream. refpolicy needs an additional fixup to label /dev/blktap/control properly. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
tapback is making a comeback! We'll run it in dom0 to directly provide the tapdisk backends. This reverts commit 7151b14. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Add patches for libxl compatibility. Pass --libxl flag to tapback for compatibility mode. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Add patches for libxl to directly support vbd3 without going through blkback. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
tapdisk exposes its disks over NBD, and libxl uses that to configure QEMU's access in dom0. We need to re-enabled NBD support for the non-stubdom case to access the disks. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
QEMU needs to connect to the tapdisk unix socket to access the exported disk images. Allow it. Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Xen 4.14 uprev dropped libxl blktap integration. The data path became:
blkfront <-> blkback <-> /dev/xen/blktap-2/tapdevX <-> tapdisk <-> vhd
This PR introduces upstream-able libxl patches to switch to:
blkfront <-> tapdisk <-> .vhd
Goes with OpenXT/manager#209