hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
826 stars 129 forks source link

support xen-pv #543

Closed gao-feng closed 7 years ago

gao-feng commented 7 years ago

Env: xen: 4.9 qemu: 2.10.0 guest kernel: 4.12.4

Todo: a: Use one xenlight library for xen pv and hvm. b: use vm_console to handle pv domain console output (done) c: fix some weird problems in some wrong case. 1, host dom name will be (null) and fail to create xenpv domain(fixed) 2,hyperd panic when fail to create xenpv domain (fixed) 3,hyperd hang (disappear after fix bug 2)

Signed-off-by: Gao feng omarapazanadi@gmail.com

gao-feng commented 7 years ago

@laijs updated, xenlight-runv.go needs to access the private data Context.ctx in xenlight package, looks like use xenlight package as vendor is impossible.

gnawux commented 7 years ago

hmm.... looks we need submit change request to official xenlight go binding in the future