lkml.org 
[lkml]   [2021]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v1 1/8] virtio: Force only split mode with protected guest
    From
    Date

    在 2021/6/3 下午9:55, Andi Kleen 写道:
    >
    >> Ok, but what I meant is this, if we don't read from the descriptor
    >> ring, and validate all the other metadata supplied by the device
    >> (used id and len). Then there should be no way for the device to
    >> suppress the dma flags to write to the indirect descriptor table.
    >>
    >> Or do you have an example how it can do that?
    >
    > I don't. If you can validate everything it's probably ok
    >
    > The only drawback is even more code to audit and test.
    >
    > -Andi
    >
    >

    Ok, then I'm going to post a formal series, please have a look and we
    can start from there.

    Thanks

    \
     
     \ /
      Last update: 2021-06-04 04:30    [W:3.505 / U:0.328 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site