[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v4 6/8] xen: add new domctl hypercall to set grant table resource limits
- To: Juergen Gross <jgross@xxxxxxxx>, xen-devel@xxxxxxxxxxxxx
- From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
- Date: Thu, 7 Sep 2017 10:29:59 -0400
- Cc: sstabellini@xxxxxxxxxx, wei.liu2@xxxxxxxxxx, George.Dunlap@xxxxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, ian.jackson@xxxxxxxxxxxxx, tim@xxxxxxx, julien.grall@xxxxxxx, jbeulich@xxxxxxxx
- Delivery-date: Thu, 07 Sep 2017 14:31:30 +0000
- Ironport-phdr: 9a23:oIKFOx+jNQYSw/9uRHKM819IXTAuvvDOBiVQ1KB+1+sUIJqq85mqBkHD//Il1AaPBtSKrakewLWN+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFMiTanb75+Mhq6oAffu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8rxmQwH0higZKzE58XnXis1ug6JdvBKhvAF0z4rNbI2IKPZyYqbRcNUUSmpbWsZaSjJPDIWyYYASC+YNJPhUo5X4q1YIsBCwBxSjBPn3xzFVmHH206003ecvHw7I0wMvHc4BvnvPodXpNqofS/y5wLXGwDjBaf5dxDfz6JLPchAkufyCU6h/cczQyUYxEwPOk1ueppL4ND2UzOQCqXKU7+R9Xu+olmEnpBx+rSagxsc2kIbEnZ4Vy1DY+iV5x4Y5P9u4SFVhbtK+H5tQsD+aOpJwT8g/QG9ooD43xqAJtJO0ZiQHyIkrywTBZ/GIbYSE+A/vWeCMKjlinn1lYqiwhxOq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0emEcIAANO1APc3gFXvZRUBaqQa5KMyes+rafaC8KqqJ/p72iKriyJA+o8u/FiL8n9QQ+jJ0pJN7/zQ8RGOXjm02Fuuvs34g4lseSAZHm35zzPtQoFWePshLs4wFW6yLpjvlZ1FjJn3VisdrQT7Cg==
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 09/07/2017 09:47 AM, Juergen Gross wrote:
Add a domctl hypercall to set the domain's resource limits regarding
grant tables. It is accepted only as long as neither
gnttab_setup_table() has been called for the domain, nor the domain
has started to run.
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>
I just realized that this only allows dom0 to set dom0's limit. You
also need to add set_gnttab_limits to the permissions allowed by
create_domain_common in xen.if for this to be useful.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|