Andrew Cooper writes ("[PATCH for-4.6 6/8] tools/libxl: Prepare to write multiple records with EMULATOR headers"): > With the newly specified EMULATOR_XENSTORE_DATA record, there are two > libxl records with an emulator subheader. Refactor the existing code to > make future additions easier. ... > @@ -164,6 +198,7 @@ void libxl__stream_write_init(libxl__stream_write_state > *stream) > FILLZERO(stream->emu_dc); > stream->emu_carefd = NULL; > FILLZERO(stream->emu_rec_hdr); > + FILLZERO(stream->emu_sub_hdr);
This this just cautionary ? > + if (dss->type == LIBXL_DOMAIN_TYPE_HVM) { > + switch(libxl__device_model_version_running(gc, dss->domid)) { I know you are just moving this code, but: space needed after `switch'. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel