summaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorLiu Yuan <namei.unix@gmail.com>2013-10-23 16:51:51 +0800
committerKevin Wolf <kwolf@redhat.com>2013-10-28 17:39:56 +0100
commit29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc (patch)
tree866053e18b4101eab63be524a6c77b255daa2e61 /hw/ide
parent61ed2684539f7f31304e193d7c0e68d57ce6be88 (diff)
downloadqemu-29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc.tar.gz
sheepdog: explicitly set copies as type uint8_t
'copies' is actually uint8_t since day one, but request headers and some helper functions parameterize it as uint32_t for unknown reasons and effectively reserve 24 bytes for possible future use. This patch explicitly set the correct for copies and reserve the left bytes. This is a preparation patch that allow passing copy_policy in request header. Cc: Kevin Wolf <kwolf@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Liu Yuan <namei.unix@gmail.com> Acked-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions