summary refs log tree commit diff stats
path: root/qapi/qobject-output-visitor.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-03-13 15:37:40 +0100
committerKevin Wolf <kwolf@redhat.com>2018-03-19 12:01:39 +0100
commit1cfeaf386e3727df0e057710d61593ca515dd07b (patch)
treef8ee76dbbcbfbde56fa50f27bc9fd0d8c7e2e0b5 /qapi/qobject-output-visitor.c
parent182c8835506eabd8ead4ea140c9d6ef94351afd0 (diff)
downloadfocaccia-qemu-1cfeaf386e3727df0e057710d61593ca515dd07b.tar.gz
focaccia-qemu-1cfeaf386e3727df0e057710d61593ca515dd07b.zip
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 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions