• E
    storage: treat 'aio' like 'raw' at parse time · 41e0edaf
    Eric Blake 提交于
    We have historically allowed 'aio' as a synonym for 'raw' for
    back-compat to xen, but since a future patch will move to using
    an enum value, we have to pick one to be our preferred output
    name.  This is a slight change in the output XML, but the sexpr
    and xm outputs should still be identical, and the input XML can
    still use either form.
    
    * src/conf/domain_conf.c (virDomainDiskDefForeachPath): Move aio
    back-compat...
    (virDomainDiskDefParseXML): ...to parse time.
    * src/xenxs/xen_sxpr.c (xenParseSxprDisks, xenFormatSxprDisk): ...and
    to output time.
    * src/xenxs/xen_xm.c (xenParseXM, xenFormatXMDisk): Likewise.
    * tests/sexpr2xmldata/sexpr2xml-*.xml: Update tests.
    41e0edaf
xen_xm.c 67.5 KB