Well, Xen code is under GPLv2 so I don't think you can do this?
Unless Michael is willing to release it under a different licence?
I'd be fine with "GPLv2 or later" so code can flow back to seabios as well - but you will have to track down everyone else who changed this file since I wrote it and get their permission.
Thanks, Michael. I search the git log of above two python files, and find two person has changed those two files, Johannes and Kevin.
CC'ing Johannes and Kevin for their permission, which using those two files in Xen code. Thanks in advance!
I hereby grant you permission to use the code changes I contributed to SeaBIOS under a "GPLv2 and later" license.
- Johannes