Skip to contentSkip to conversation

Making save/restore optional in toolstack, for edge/embedded derivatives

Xen-devel Rich Persaud 3 participants 3 messages Jan 2, 2020 – Jan 8, 2020

lore
Share & tools
lore
#0 lore raw

Linux stubdom patches currently require qemu in dom0 for consoles [1], due to the upstream toolstack need for save/restore. Until a long-term solution is available (multiple console support in xenconsoled), would tools maintainers consider a patch that made save/restore build-time configurable for the toolstack? This would avoid Xen edge/embedded derivatives having to patch downstream to remove save/restore, e.g. to avoid qemu in dom0.

Rich

https://github.com/marmarek/xen/commit/13c6d27259929eca56a11bd0dacbe557274224d3

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#1 lore raw
Quoted 7 lines · Rich Persaud

Linux stubdom patches currently require qemu in dom0 for consoles [1], due to the upstream toolstack need for save/restore. Until a long-term solution is available (multiple console support in xenconsoled), would tools maintainers consider a patch that made save/restore build-time configurable for the toolstack? This would avoid Xen edge/embedded derivatives having to patch downstream to remove save/restore, e.g. to avoid qemu in dom0.

Re multiple console support, I think that's added back in 2017 for Arm guests. What is missing?

(Not suggesting it is fit for purpose as-is)

Wei.

Quoted 5 lines

Rich

https://github.com/marmarek/xen/commit/13c6d27259929eca56a11bd0dacbe557274224d3

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 9 lines · Wei Liu
Quoted 7 lines · Rich Persaud

Linux stubdom patches currently require qemu in dom0 for consoles [1], due to the upstream toolstack need for save/restore. Until a long-term solution is available (multiple console support in xenconsoled), would tools maintainers consider a patch that made save/restore build-time configurable for the toolstack? This would avoid Xen edge/embedded derivatives having to patch downstream to remove save/restore, e.g. to avoid qemu in dom0.

Quoted 4 lines

Re multiple console support, I think that's added back in 2017 for Arm guests. What is missing?

(Not suggesting it is fit for purpose as-is)

No, it only adds support for multiple console _types_. The key thing is, those are statically defined in the code. I've tried to repurpose it to support up to 3 (or 4) consoles, but it's rather ugly and Ian(?) didn't liked it. Refactoring it for dynamic number of console is much more work...

Signature · 5 lines
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel