On 26/07/2019 14:10, Tamas K Lengyel wrote: > On Fri, Jul 26, 2019 at 6:58 AM Andrew Cooper <andrew.coop...@citrix.com> > wrote: >> On 26/07/2019 13:55, Tamas K Lengyel wrote: >>> On Fri, Jul 26, 2019 at 4:11 AM Andrew Cooper <andrew.coop...@citrix.com> >>> wrote: >>>> * Add a dependency so the shim gets rebuilt when pvshim_defconfig changes. >>>> * Default to the NULL scheduler now that it works with vcpu online/offline. >>>> >>>> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> >>>> --- >>>> CC: Jan Beulich <jbeul...@suse.com> >>>> CC: Wei Liu <w...@xen.org> >>>> CC: Roger Pau Monné <roger....@citrix.com> >>>> CC: Juergen Gross <jgr...@suse.com> >>>> CC: Dario Faggioli <dfaggi...@suse.com> >>>> >>>> This patch depends on Dario's series, and cant go in until then. >>>> >>>> Also RFC. >>>> >>>> CC: Stefano Stabellini <sstabell...@kernel.org> >>>> CC: Tamas K Lengyel <ta...@tklengyel.com> >>>> >>>> I tried turning off MEM_ACCESS, but I can't get Kconfig to actually turn it >>>> off in the build. What is the deal with MEM_ACCESS_ALWAYS_ON ? It makes >>>> it >>>> impossible to turn MEM_ACCESS off, becaue it is selected by x86, which >>>> leaves >>>> MEM_ACCESS enabled and unmodifiable. >>> We never made it configurable to have MEM_ACCESS be disabled on x86. >>> The option only exists because when I started moving vm_event to >>> common code it had to be disabled for ARM at first. Then it looks like >>> Stefano did make it configurable for ARM so there it can actually be >>> disabled. >> Is it something we could consider making configurable at this point? >> Its certainly something we'd want to turn off in the PV shim build. >> >> While thinking about it, it is specific to HVM guests, so ought to >> depend on CONFIG_HVM anyway, which might be the easiest way to exclude >> it for the PV shim build if we don't want to make it actively >> configurable yet. > Sure, I would Ack a patch that makes it configurable. There were some > works in the past to make mem_access for PV domains as well but that > was a while ago, I don't think anyone has interest in that anymore.
The access ring is obtained via an HVM_PARAM. There is no conceivable way it works for PV. This is one of the reasons for the different design of "NG" interface which Petre is doing, so functionality like this could (in principle) be made compatible with PV in the future. > Making it depend on HVM for x86 builds sounds reasonable to me, not > sure if that would work for ARM though as I don't think it has HVM > config option. Anyway, if someone makes changes to this I would highly > prefer to get rid of the MEM_ACCESS_ALWAYS_ON config option as it's a > confusing option name. Ok - I'll see about finding some copious free time. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel