From: Jason Wang <jasowang@redhat.com>
To: Cindy Lu <lulu@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
Michael Tsirkin <mst@redhat.com>
Subject: Re: [PATCH v4 1/4] virtio:add support in configure interrupt
Date: Fri, 26 Mar 2021 16:29:37 +0800 [thread overview]
Message-ID: <83dac3f6-ea2f-76e3-3d2e-394483c3bc5c@redhat.com> (raw)
In-Reply-To: <CACLfguWy8ccnTnJJuwE0VUyZyXL5Rrg=LSEwUuHToHOEXOY-mg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 987 bytes --]
在 2021/3/25 下午3:15, Cindy Lu 写道:
>>> +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
>>
>> Thanks
>>
> The 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
[-- Attachment #2: Type: text/html, Size: 1842 bytes --]
next prev parent reply other threads:[~2021-03-26 8:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-23 1:56 [PATCH v4 0/4] vhost-vdpa: add support for configure interrupt Cindy Lu
2021-03-23 1:56 ` [PATCH v4 1/4] virtio:add support in " Cindy Lu
2021-03-24 6:30 ` Jason Wang
2021-03-25 7:15 ` Cindy Lu
2021-03-26 8:29 ` Jason Wang [this message]
2021-03-29 6:05 ` Cindy Lu
2021-03-23 1:56 ` [PATCH v4 2/4] vhost-vdpa: add callback function for " Cindy Lu
2021-03-24 6:33 ` Jason Wang
2021-03-25 7:17 ` Cindy Lu
2021-03-23 1:56 ` [PATCH v4 3/4] virtio-mmio: add support " Cindy Lu
2021-03-23 1:56 ` [PATCH v4 4/4] virtio-pci: " Cindy Lu
2021-03-24 6:34 ` Jason Wang
2021-03-25 6:07 ` Cindy Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83dac3f6-ea2f-76e3-3d2e-394483c3bc5c@redhat.com \
--to=jasowang@redhat.com \
--cc=lulu@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).