diff options
author | Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp> | 2015-02-13 18:20:53 +0900 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-09 11:11:59 +0100 |
commit | 876eb1b0cc2b04927739cba10e4e73e8b990d65e (patch) | |
tree | 3c70f2fe19461aa9b2238337d8ed732e35108b35 /slirp/bootp.c | |
parent | 0cc84887068eeb59eed84dbab6547b39e83d739c (diff) | |
download | qemu-876eb1b0cc2b04927739cba10e4e73e8b990d65e.zip |
sheepdog: selectable object size support
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle VDI object size.
When you start qemu, you don't need to specify additional command option.
But when you create the VDI which doesn't have default object size
with qemu-img command, you specify object_size option.
If you want to create a VDI of 8MB object size,
you need to specify following command option.
# qemu-img create -o object_size=8M sheepdog:test1 100M
In addition, when you don't specify qemu-img command option,
a default value of sheepdog cluster is used for creating VDI.
# qemu-img create sheepdog:test2 100M
Signed-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>
Acked-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'slirp/bootp.c')
0 files changed, 0 insertions, 0 deletions