On 2012年11月26日 19:26, Paolo Bonzini wrote:
Il 26/11/2012 11:38, Daniel P. Berrange ha scritto:
>>> Since "rawio" and "unpriv_sgio" are only valid for
"lun", this
> I think that's a ugly attribute name, just use 'sgio'.
That doesn't explain what it is for.
Yeah, I used "sgio" in the first drafts, but changed
to "unpriv_sgio" afterwards, for realizing it can't
tell what the tag does internally.
Some possibilities:
- filter-scsi-commands=yes/no
- cdb-filter=yes/no
- privileged-scsi-commands=allow/deny
- cdb=allow-all/filter
As far as I get from your kernel patches, the unpriv_sgio
allows any SG_IO commands for unprivileged users, without
filtering.
So I'm wondering if using the term "CBD filter" matches
the exact meaning.
Regards,
Osier