qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] vhost-user-blk: introduce a new vhost-user-


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/2] vhost-user-blk: introduce a new vhost-user-blk host device
Date: Mon, 31 Jul 2017 17:41:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 31/07/2017 16:51, Stefan Hajnoczi wrote:
> typedef enum VhostUserRequest {
>     ...
> 
>     /* Submitted by the vhost-user master when the guest writes to
>      * virtio config space and also after live migration on the
>      * destination host.
>      */
>     VHOST_USER_SET_CONFIG,
> 
>     /* Submitted by the vhost-user master to fetch the contents of the
>      * virtio config space.  The vhost-user master may cache the
>      * contents to avoid repeated VHOST_USER_GET_CONFIG calls.
>      */
>     VHOST_USER_GET_CONFIG,
> 
>     ...
> };

Also:

        /* Submitted by the vhost-user master if it would like to
         * be informed of virtio config space changes.   The slave
         * signals the eventfd whenever config space is modified.
         */
        VHOST_USER_SET_CONFIG_FD,

Paolo

> struct VuDev {
>     ...
>     int config_change_fd;
>     ...
> };




reply via email to

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