• J
    src/xenconfig: move common parsing/formatting to xen_common · 337a1362
    Jim Fehlig 提交于
    XM and XL config are very similar.  Disks are specified differently
    in XL, but the old XM disk config is still supported by XL.  XL also
    supports new config like spice that was never supported by XM.
    
    This patch moves all the common parsing and formatting functions to
    the new file xen_common.c and adapts the XM parser/formatter accordingly.
    This restructuring paves way for introducing an XL parser/formatter in
    the future.
    
    While moving the code, fixup whitespace, comments, and style issues.
    Signed-off-by: NJim Fehlig <jfehlig@suse.com>
    337a1362
xen_common.c 61.6 KB