qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH 4/9] nvmet: add a controller "start" hook


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [RFC PATCH 4/9] nvmet: add a controller "start" hook
Date: Fri, 20 Nov 2015 06:13:55 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Thu, Nov 19, 2015 at 04:21:03PM -0800, Ming Lin wrote:
>  #define NVMET_SUBSYS_NAME_LEN                256
>       char                    subsys_name[NVMET_SUBSYS_NAME_LEN];
> +
> +     void                    *opaque;
> +     void                    (*start)(void *);
>  };

Why can't vhost use container_of to get at the containing structure
similar to what the loop driver does?

In addition I think we'll eventually need an ops structure here,
but I can take care of that later.



reply via email to

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