diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-03-13 15:37:40 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-03-19 12:01:39 +0100 |
commit | 1cfeaf386e3727df0e057710d61593ca515dd07b (patch) | |
tree | f8ee76dbbcbfbde56fa50f27bc9fd0d8c7e2e0b5 /blockdev.c | |
parent | 182c8835506eabd8ead4ea140c9d6ef94351afd0 (diff) | |
download | qemu-1cfeaf386e3727df0e057710d61593ca515dd07b.zip qemu-1cfeaf386e3727df0e057710d61593ca515dd07b.tar.gz qemu-1cfeaf386e3727df0e057710d61593ca515dd07b.tar.bz2 |
vpc: Require aligned size in .bdrv_co_create
Perform the rounding to match a CHS geometry only in the legacy code
path in .bdrv_co_create_opts. QMP now requires that the user already
passes a CHS aligned image size, unless force-size=true is given.
CHS alignment is required to make the image compatible with Virtual PC,
but not for use with newer Microsoft hypervisors.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions