qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] scsi: mark TYPE_SCSI_DISK_BASE as abstract


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] scsi: mark TYPE_SCSI_DISK_BASE as abstract
Date: Wed, 1 Jun 2016 09:34:04 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 06/01/2016 07:15 AM, Paolo Bonzini wrote:
> Suggested-by: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  hw/scsi/scsi-disk.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Eric Blake <address@hidden>

> 
> diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c
> index ace65e0..d5e8c8b 100644
> --- a/hw/scsi/scsi-disk.c
> +++ b/hw/scsi/scsi-disk.c
> @@ -2842,6 +2842,7 @@ static const TypeInfo scsi_disk_base_info = {
>      .class_init    = scsi_disk_base_class_initfn,
>      .instance_size = sizeof(SCSIDiskState),
>      .class_size    = sizeof(SCSIDiskClass),
> +    .abstract      = true,
>  };
>  
>  #define DEFINE_SCSI_DISK_PROPERTIES()                                \
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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