Re: svn commit: r286395 - head/usr.bin/mkimg
On Thu, Aug 06, 2015 at 09:45:45PM -0700, Marcel Moolenaar wrote: On Aug 6, 2015, at 9:31 PM, Glen Barber g...@freebsd.org wrote: On Fri, Aug 07, 2015 at 04:27:52AM +, Marcel Moolenaar wrote: Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL: https://svnweb.freebsd.org/changeset/base/286395 Log: Fix the dynamic VHD format to work with qemu. The size of the disk is taken to match the geometry and only when the geometry is max'd out, is the actual recorded size taken. Note that qemu has the same logic for the fixed VHD format. However that is known to conflict with Microsoft Azure, where the recorded size of the image is what counts. I'll test this out on the next 11-CURRENT builds. (Based on the content of the commit log, it's unclear to me if you received my last reply on this topic, so if you didn't let me know.) I tested this in Azure: the fixed format VHD hasn't been changed. Doh. Sorry, misread the log. (And all these formats...!) :) Glen pgp5D8RbU3t_Z.pgp Description: PGP signature
Re: svn commit: r286395 - head/usr.bin/mkimg
On Fri, Aug 07, 2015 at 04:27:52AM +, Marcel Moolenaar wrote: Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL: https://svnweb.freebsd.org/changeset/base/286395 Log: Fix the dynamic VHD format to work with qemu. The size of the disk is taken to match the geometry and only when the geometry is max'd out, is the actual recorded size taken. Note that qemu has the same logic for the fixed VHD format. However that is known to conflict with Microsoft Azure, where the recorded size of the image is what counts. I'll test this out on the next 11-CURRENT builds. (Based on the content of the commit log, it's unclear to me if you received my last reply on this topic, so if you didn't let me know.) In any case, thanks! :) Glen pgpjq6r8D_UjA.pgp Description: PGP signature
Re: svn commit: r286395 - head/usr.bin/mkimg
On Aug 6, 2015, at 9:31 PM, Glen Barber g...@freebsd.org wrote: On Fri, Aug 07, 2015 at 04:27:52AM +, Marcel Moolenaar wrote: Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL: https://svnweb.freebsd.org/changeset/base/286395 Log: Fix the dynamic VHD format to work with qemu. The size of the disk is taken to match the geometry and only when the geometry is max'd out, is the actual recorded size taken. Note that qemu has the same logic for the fixed VHD format. However that is known to conflict with Microsoft Azure, where the recorded size of the image is what counts. I'll test this out on the next 11-CURRENT builds. (Based on the content of the commit log, it's unclear to me if you received my last reply on this topic, so if you didn't let me know.) I tested this in Azure: the fixed format VHD hasn't been changed. -- Marcel Moolenaar mar...@xcllnt.net signature.asc Description: Message signed with OpenPGP using GPGMail