From: "Michael S. Tsirkin" <mst@redhat.com>
To: Parav Pandit <parav@nvidia.com>
Cc: Cornelia Huck <cohuck@redhat.com>,
"virtio-comment@lists.oasis-open.org"
<virtio-comment@lists.oasis-open.org>,
"virtio-dev@lists.oasis-open.org"
<virtio-dev@lists.oasis-open.org>,
Shahaf Shuler <shahafs@nvidia.com>
Subject: [virtio-dev] Re: [PATCH] content: Replace guest OS with driver
Date: Tue, 16 May 2023 17:25:26 -0400 [thread overview]
Message-ID: <20230516172348-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <PH0PR12MB548155D503296E253EEA0395DC799@PH0PR12MB5481.namprd12.prod.outlook.com>
On Tue, May 16, 2023 at 08:59:32PM +0000, Parav Pandit wrote:
>
> > From: Michael S. Tsirkin <mst@redhat.com>
> > Sent: Tuesday, May 16, 2023 4:48 PM
> >
> > On Tue, May 16, 2023 at 07:50:48PM +0000, Parav Pandit wrote:
> > >
> > > > From: Michael S. Tsirkin <mst@redhat.com>
> > > > Sent: Tuesday, May 16, 2023 6:05 AM
> > >
> > > >
> > > > SO I propose:
> > > >
> > > > \item[ACKNOWLEDGE (1)] Indicates that a transport driver has found the
> > > > device and recognized it as a valid virtio device transport.
> > > >
> > > > \item[DRIVER (2)] Indicates that a device type specific driver was found
> > > > and will attempt to attach to the device.
> > > >
> > > Above bisection is a implementation specific example of Linux (though valid
> > and widely used one).
> > >
> > > The UEFI virtio driver doesn't even have such two drivers.
> > > In some OS variant drivers are merged to single kernel binary.
> >
> > which one?
> >
> Flavor of a RHEL has inbuilt.
What does this mean exactly? That virtio core is compiled into kernel?
That does not matter at all.
> > > Does driver only matter with device_driver structure or module binary?...
> >
> > Can't parse your question.
> >
> > > Driver is largely the software entity that drives the device.
> > > I think we can keep the spec simple enough to not mix these details and just
> > call it a "driver".
> >
> > Not just linux there are lots of drivers like this. the two bits pass useful
> > information the way you changed it this distinction is lots.
> > I agree it is worth thinking what exactly does it mean.
> > Since you researched it - what exactly do drivers such as uefi and the unnamed
> > "some OS variant" do exactly?
> There is just one "driver" virtio_net_pci that has sets the required bits.
>
> > when do they set ACKNOWLEDGE and when DRIVER?
> >
> Not any different flow.
> Entity is one.
question is, what happens
- before ACKNOWLEDGE
- after ACKNOWLEDGE before DRIVER
?
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
next prev parent reply other threads:[~2023-05-16 21:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 3:01 [virtio-dev] [PATCH] content: Replace guest OS with driver Parav Pandit
2023-05-16 4:12 ` [virtio-dev] Re: [virtio-comment] " Jason Wang
2023-05-16 5:54 ` [virtio-dev] " Michael S. Tsirkin
2023-05-16 8:24 ` Cornelia Huck
2023-05-16 10:05 ` Michael S. Tsirkin
2023-05-16 11:47 ` Cornelia Huck
2023-05-16 19:50 ` [virtio-dev] " Parav Pandit
2023-05-16 20:47 ` [virtio-dev] " Michael S. Tsirkin
2023-05-16 20:59 ` [virtio-dev] " Parav Pandit
2023-05-16 21:25 ` Michael S. Tsirkin [this message]
2023-05-16 21:31 ` Parav Pandit
2023-05-16 21:48 ` [virtio-dev] " Michael S. Tsirkin
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=20230516172348-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=cohuck@redhat.com \
--cc=parav@nvidia.com \
--cc=shahafs@nvidia.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.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