On Fri, Oct 11, 2013 at 02:17:36PM -0400, Jeff Cody wrote: > + if (image_size > VHDX_MAX_IMAGE_SIZE) { > + fprintf(stderr, "Image size too large; max of 64TB\n");
Please use error_setg_errno(errp, EINVAL, "Image size too large; max of 64TB") instead of fprintf(). There are other instances in this file that should be converted too.