]> xenbits.xensource.com Git - xen.git/commit
tools/init-dom0less: Only seed legacy xenstore grants
authorJason Andryuk <jason.andryuk@amd.com>
Wed, 16 Apr 2025 21:29:09 +0000 (17:29 -0400)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 18 Apr 2025 20:41:29 +0000 (13:41 -0700)
commit375c4837ee10d481254e8910b873a6ce03cfd742
tree5618ab29c7de6048b6714cbc8d6513182877b00c
parent7fc8120a2a857b43087c316d38e010da2d1cacf2
tools/init-dom0less: Only seed legacy xenstore grants

The hardware domain is unable to seed a control domain, but we want the
control domain to use xenstore.  Rely on the hypervisor to seed dom0less
grant table entries for Xenstore, so this seeding is unnecessary.

However, that only works for the new xenstore late init.  The legacy
protocol which uses init-dom0less to populate the page still needs to
seed the grant.

Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
tools/helpers/init-dom0less.c