|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v4 8/9] tools: add example application to initialize dom0less PV drivers
On 01.04.22 12:21, Julien Grall wrote: Hi, I have posted some comments in v3 after you sent this version. Please have a look. On 01/04/2022 01:38, Stefano Stabellini wrote: Xenstore (at least the C variant) is only using the fixed grant ref GNTTAB_RESERVED_XENSTORE, so it doesn't need the page to be advertised to the guest. And the mapping is done only when the domain is being introduced to Xenstore. This would be a problem if Linux is still booting and hasn't yet call xenbus_probe_initcall().I understand we need to have the page setup before raising the event channel. I don't think we can allow Xenstored to set the HVM_PARAM (it may run in a domain with less privilege). So I think we may need to create a separate command to kick the client (not great).Juergen, any thoughts? I think it should work like that: - setup the grant via xc_dom_gnttab_seed() - introduce the domain to Xenstore - call xc_hvm_param_set() When the guest is receiving the event, it should wait for the xenstore page to appear. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |