qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: Expose host_* drivers in blockdev-add


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH] block: Expose host_* drivers in blockdev-add
Date: Thu, 24 Apr 2014 09:58:59 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, 04/23 17:12, Kevin Wolf wrote:
> All the functionality to use the host_device, host_cdrom and host_floppy
> drivers is already there, they just need to be added to the schema.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  qapi-schema.json | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 391356f..0fc0f12 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -4288,7 +4288,8 @@
>  # Since: 2.0
>  ##
>  { 'enum': 'BlockdevDriver',
> -  'data': [ 'file', 'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 
> 'blkdebug',
> +  'data': [ 'file', 'host_device', 'host_cdrom', 'host_floppy',
> +            'http', 'https', 'ftp', 'ftps', 'tftp', 'vvfat', 'blkdebug',
>              'blkverify', 'bochs', 'cloop', 'cow', 'dmg', 'parallels', 'qcow',
>              'qcow2', 'qed', 'raw', 'vdi', 'vhdx', 'vmdk', 'vpc', 'quorum' ] }
>  
> @@ -4555,6 +4556,9 @@
>    'discriminator': 'driver',
>    'data': {
>        'file':       'BlockdevOptionsFile',
> +      'host_device':'BlockdevOptionsFile',
> +      'host_cdrom': 'BlockdevOptionsFile',
> +      'host_floppy':'BlockdevOptionsFile',
>        'http':       'BlockdevOptionsFile',
>        'https':      'BlockdevOptionsFile',
>        'ftp':        'BlockdevOptionsFile',

Reviewed-by: Fam Zheng <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]