[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/2] xen/xsm: Add new SILO mode for XSM


  • To: Xin Li <talons.lee@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxx
  • From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
  • Date: Fri, 28 Sep 2018 13:24:29 -0400
  • Cc: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wei.liu2@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Xin Li <xin.li@xxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ming Lu <ming.lu@xxxxxxxxxx>
  • Delivery-date: Fri, 28 Sep 2018 17:24:37 +0000
  • Ironport-phdr: 9a23:Rnow6R8biPWWAv9uRHKM819IXTAuvvDOBiVQ1KB+1+8TIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyaOuB+fqfAdt0EQ2RPUNtaWyhYDo+ic4cDCuwMNvtaoYbgvVsDtQawCxeiBO3vyTFGiHH50qI43Os9Hg/LxxAgEtAUvXjIsNn4OqUfXOaox6fI1zXDaPZW1C/z5ofSdBAhoO+DXbZtesTf10YkCgLLj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IRbgR2sFn11xVzC4VNitQlrHI2zApoKKKZ30lNeC+f3ZD1IrfXMHX9/Aiza67K3VHTyMyZ+qES5/QitVrishulGVYl83Vgy9lazWGc65vRAQUOUJLxTlw39xl1pr3AfiY94IbU32V2Maaoqj/Cx84pBOw9xxalftdfNqyEGBX2E80HHMWhNO0qm0SzbhIFM+Fe7rI7P8Sjd6jO5Kn+DOdm1BanxTBb6YR61FnK8ydxYuHN1pcBhfqf213DHyfxihKtv976nahAZCoOBSyvxC6iA5ReNYNoeoNeJW6oIsCzjvlzz7H3UndWvAqvCF8L19WgUQaDZFz6mwtL3AIYpmLxynjw9CB9jzx89vnX5yfJ2em3MUNdYmM=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 09/28/2018 04:18 AM, Xin Li wrote:
When SILO is enabled, there would be no page-sharing or event notifications
between unprivileged VMs (no grant tables or event channels).

Signed-off-by: Xin Li <xin.li@xxxxxxxxxx>

v3: make copies of dummy functions to avoid indirect call.

This still makes indirect calls.  You will need to #include xsm/dummy.h,
and a third case in line 44's #ifdef CONFIG_XSM / #else may be required
to adjust XSM_INLINE to avoid compiler warnings.

The function xsm_fixup_ops() will already set the unused parts of your
xsm_operations struct to the dummy functions; you don't need to do that
in silo_init by copying dummy_xsm_ops.  You should use register_xsm to
assign to xsm_ops instead of doing it yourself.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.