[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] sidecar (hvm shim) creation script
On 01/10/2018 11:08 PM, Doug Goldstein wrote: > On 1/10/18 9:39 AM, Ian Jackson wrote: >> Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): >>> Here is the converter script where I just got my guest to boot with >>> the Vixen shim, as built and provided by Wei. >> >> And here is one which handles the guest console correctly. Vixen >> sends the L2 guest console to the emulated serial, along with the >> shim's own output. >> >> > > So, not that I don't like executing another language interpreter from > another language interpreter (insert yodawg meme here), but how would > you feel about a Python version? The system I'm currently dealing with > needs to import this code as a Python module so I figured I'd slap a > main() and some argparse on it and it should be good. From what I understand, Ian's decision tree looked like this: 1. For parsing xl.cfg, the options are "use python" or "write a brand new parser for the python-like xl.cfg syntax". That's pretty much a no-brainer. 2. Given that the aim of the shim is to hand to people running systems as old as Xen 3.4, the script needs to run identically, without issue, on a wide range of systems. In his estimation, his ability to write such "lowest-common-denominator" perl was much higher than his ability to write "lowest-common-denominator" python. If anyone stepped to write and maintain a version of the script that can run as well under Python 2.2 as under 2.7, he'd probably be happy to avoid using three different languages. -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |