diff options
| author | Liu Yuan | 2013-10-23 10:51:51 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-10-28 17:39:56 +0100 |
| commit | 29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc (patch) | |
| tree | 866053e18b4101eab63be524a6c77b255daa2e61 /include/exec | |
| parent | block: Don't copy backing file name on error (diff) | |
| download | qemu-29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc.tar.gz qemu-29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc.tar.xz qemu-29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
