-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OXT-787 : Populate meta-openxt-qt #1
Conversation
Signed-off-by: Christopher Clark <[email protected]>
Please could one of the repository maintainers let me know the next steps to proceed with this PR -- thanks. |
Could you maybe provide a list of steps to follow to build and test these changes, in case someone out there is interested in reviewing these PRs? |
As most of those bits were lifted from my github, so I'll have to say it looks good ;) Is it worth moving db.default into its own recipe, so it's not duplicated? Perhaps not. I don't have cycles atm to do any testing of it though. |
@cjp256 : thanks for the review and I think you're right that db.default probably does belong in its own recipe. I can respin an update to this PR to do that. Also: thanks for the original code! @jean-edouard : This PR is paired with this corresponding one: After the changes from both of these are applied, there is no immediate change to the build since the layer file is not enabled by default -- it deliberately does not have the ".layer" suffix that would enable it. If the layer is manually enabled, by removing ".optional" from the layer definition file in openxt.git, then running build-scripts/setup.sh will install it, and subsequent builds will include the qtdbd daemon. Enabling and disabling the layer in between individual builds is performed by renaming the two layer definition files in the build user's home directory:
to add or remove the ".optional" suffix. So after applying, testing for this PR should cover:
The dbd version can be deduced via
whereas the Qt variant would show a Qt library dependency. dbd is exercised in typical VM lifecycle operations and a simple smoke test should be sufficient to check this change is OK. |
Actually, after a bit of consideration, I think moving the db.default file out will be better handled in a subsequent PR that does just that change. I'm happy to do that; this PR can still go in the meantime. |
Build was tested with one minor defect and moderate defect found with qtdbd itself. Testing consisted of,
Before accepting the community needs to decide if qtdbd must reproduce the exact behavior of the OCaml version or if this approximation is acceptable. The moderate defect can be resolved by allowing the dump method to be called by domains with domstore-read-access boolean is enabled in their configuration. |
So it seems there are two issues. I am very concerned about the first one where the order of nodes does not match in the db after re-writing one. The second issue concerning db-ls-dom0 seems like something that needs to be fixed in qtdbd. I believe the right way to fix it is to make qtdbd do whatever ocaml dbd does to do the ls rather than allowing new RPCs. |
|
On #2 we can alternately allow the dump method to be used in service VMs (for use cases where ls is needed). I am ok with this approach. |
Going to merge this in but will not merge the openxt.git portion that activates this. For addressing the policy, instead of doing a one-off fix lets have a discussion on the mailing list what the servicevm db interface should look like. There are those that use db-ls as part of production, and not just as debug, since that was the only interface allowed by policy. Those that are concerned with policy can then provide input on what might be best and then we can address short-comings in tools. |
Signed-off-by: Christopher Clark [email protected]