block/raw: Add create_options for host_device

Today host_devices have a create function, so they also need a create_options
field to prevent qemu-img from complaining.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Kevin Wolf 2009-10-01 12:35:49 +02:00 committed by Anthony Liguori
parent 850810d01b
commit 0b4ce02eb2

View File

@ -1011,6 +1011,7 @@ static BlockDriver bdrv_host_device = {
.bdrv_open = hdev_open,
.bdrv_close = raw_close,
.bdrv_create = hdev_create,
.create_options = raw_create_options,
.bdrv_flush = raw_flush,
.bdrv_aio_readv = raw_aio_readv,
@ -1106,6 +1107,7 @@ static BlockDriver bdrv_host_floppy = {
.bdrv_open = floppy_open,
.bdrv_close = raw_close,
.bdrv_create = hdev_create,
.create_options = raw_create_options,
.bdrv_flush = raw_flush,
.bdrv_aio_readv = raw_aio_readv,
@ -1187,6 +1189,7 @@ static BlockDriver bdrv_host_cdrom = {
.bdrv_open = cdrom_open,
.bdrv_close = raw_close,
.bdrv_create = hdev_create,
.create_options = raw_create_options,
.bdrv_flush = raw_flush,
.bdrv_aio_readv = raw_aio_readv,
@ -1307,6 +1310,7 @@ static BlockDriver bdrv_host_cdrom = {
.bdrv_open = cdrom_open,
.bdrv_close = raw_close,
.bdrv_create = hdev_create,
.create_options = raw_create_options,
.bdrv_flush = raw_flush,
.bdrv_aio_readv = raw_aio_readv,