staticint __init init_svm(void)
{ if (!is_secure_guest()) return 0;
/* Don't release the SWIOTLB buffer. */
ppc_swiotlb_enable = 1;
/* * Since the guest memory is inaccessible to the host, devices always * need to use the SWIOTLB buffer for DMA even if dma_capable() says * otherwise.
*/
ppc_swiotlb_flags |= SWIOTLB_ANY | SWIOTLB_FORCE;
/* Share the SWIOTLB buffer with the host. */
swiotlb_update_mem_attributes();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.