|
From: | Jason Wang |
Subject: | Re: [PATCH v4 1/4] virtio:add support in configure interrupt |
Date: | Fri, 26 Mar 2021 16:29:37 +0800 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
+enum virtio_config_status { + VIRTIO_CONFIG_SUPPORT, + VIRTIO_CONFIG_WORK, + VIRTIO_CONFIG_STOP, + VIRTIO_CONFIG_STATUS_UNKNOWN,Any reason for this extra state? I think we can know whether the config interrupt is being used through a ThanksThe problem is I need to split the backend devices into 3 types, 1) normal device 2)vdpa support config interrupt. and the configur interrupt is active now 3)vdpa not support config interrupt. So I add this bit and this bit will init in vpda /vhost modules and qemu can check this bit to know the which behariver we will do in virtio bus and other modules,
I wonder whether it's a must. We can setup guest notifiers unconditionally, so if it's an vhost bakcend without config interrupt support, such notifiers won't be used.
Thanks
Maybe I need to change this bit's name to make it more clearly Thanks Cindy
[Prev in Thread] | Current Thread | [Next in Thread] |