Re: [Xen-devel] [PATCH 1/4] libxc/libxl: fill xc_hvm_build_args in libxl

2015-05-20 Thread Chen, Tiejun
On 2015/5/18 23:34, Wei Liu wrote: When building HVM guests, originally some fields of xc_hvm_build_args are filled in xc_hvm_build (and buried in the wrong function), some are set in libxl__build_hvm before passing xc_hvm_build_args to xc_hvm_build. This is fragile. After examining the code in

[Xen-devel] [PATCH 1/4] libxc/libxl: fill xc_hvm_build_args in libxl

2015-05-18 Thread Wei Liu
When building HVM guests, originally some fields of xc_hvm_build_args are filled in xc_hvm_build (and buried in the wrong function), some are set in libxl__build_hvm before passing xc_hvm_build_args to xc_hvm_build. This is fragile. After examining the code in xc_hvm_build that sets those fields,