Skip to contentSkip to conversation

Status of virtio-iommu

virtio-dev Michael S. Tsirkin 2 participants 3 messages Oct 30, 2017 – Oct 31, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 23 lines · Jean-Philippe Brucker

Hi Michael,

Sorry you couldn't make it to the KVM forum, I hope everything is fine on your side. The virtio discussions were interesting, and I'm still trying to wrap my head around the packed ring layout.

Quoted 1 line

From a few conversations I had in Prague and in private, it seems like

many companies are interested in virtio-iommu. So I think the next step is to try to upstream the Linux driver (I will send the patch shortly), followed by Qemu device.

Afterwards we'll analyze performance and try various optimizations, since both device and driver are very simplistic and suboptimal at the moment. I'd like to start this optimization work after upstreaming device and driver, so it's easier to review and people can reproduce our benchmark results. Then I'd also like to study some ideas that should drastically improve interaction with virtio/vhost-based endpoints, which could be the subject of another publication and talk.

The code and specification is being reviewed by people specializing in Arm and x86 IOMMUs, but unfortunately not many specializing in virtio. Eric Auger and others are planning to review the Linux driver.

Quoted 7 lines

In order to upstream the driver, I'd like to request a virtio device ID, but can't figure out what the correct route is. I was planning to send a specification patch to the virtio-dev mailing list, but should I first fill a ticket on issues.oasis-open.org?

Thanks,
Jean

Actually I am working on documenting the process.

-----

What is the process the make small changes to the spec?

git clone https://github.com/oasis-tcs/virtio-spec
edit spec
sh makeall.sh

Make sure you get a working pdf. Requires xelatex. Recommended distribution: tex live.

Right now builds on linux. Patches for other OS-es welcome.

Subscribe to the comment list by sending a blank email message to: [email protected]

Confirm your subscription request by replying to the confirmation email message you will receive from OASIS. Your subscription will not be complete until you respond to this message.

Watch your inbox for a Welcome message indicating that your subscription is now active.

Send your patch to: [email protected]

Wait up to 1 week for possible comments, and reply as appropriate.

Send email to the mailing list, and copy the chair ([email protected]) asking for a ballot to approve the change.
Ballot runs for 1 week.

Patch will be merged in a couple of days after that.

-----

Adding an issue saves me work, if you can do it and list issue number in the commit log, that's great.

Signature · 5 lines
MST

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
#2 lore raw
Quoted 2 lines · Michael S. Tsirkin

Adding an issue saves me work, if you can do it and list issue number in the commit log, that's great.

Are you still using the JIRA from OASIS, or github instead? It seems like non-TC-members can't create issues on the OASIS one.

Thanks,
Jean

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

#3 lore raw
Quoted 9 lines · Jean-Philippe Brucker
Quoted 2 lines · Michael S. Tsirkin

Adding an issue saves me work, if you can do it and list issue number in the commit log, that's great.

Are you still using the JIRA from OASIS, or github instead? It seems like non-TC-members can't create issues on the OASIS one.

Thanks,
Jean

My ballot scripts still only work with OASIS one. I just pushed them to virtio-admin if you want to play with github APIs, specifically ballot-issue.sh which calls virtio-jira.pl and virtio-tc.pl

Signature · 5 lines
MST

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]