|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH RFC] vPCI: account for hidden devices in modify_bars()
On 31.08.21 11:05, Jan Beulich wrote: On 31.08.2021 09:56, Oleksandr Andrushchenko wrote:On 31.08.21 10:47, Jan Beulich wrote:On 31.08.2021 09:06, Oleksandr Andrushchenko wrote:On 31.08.21 09:51, Jan Beulich wrote:On 31.08.2021 07:35, Oleksandr Andrushchenko wrote:On 30.08.21 16:04, Jan Beulich wrote: To me DomXEN here is yet another workaround as strictly speaking vpci code didn't need and doesn't(?) need it at the moment. Yes, at least on Arm. So, I do understand why you want it there, but this then does need a very good description of what is happening and why... The temporary overriding of pdev->domain is because other IOMMU code takes the domain to act upon from that field.So, you mean pdev->domain in that case is pointing to what?Did you look at the function I've pointed you at? DomXEN there gets temporarily overridden to Dom0. This looks like yet another workaround to me which is not cute. So, the overall solution is spread over multiple subsystems, each introducing something which is hard to follow This could have been solved without override, but then much heavier code churn would have resulted.Otherwise it looks like we put some unrelated logic into vpci which is for hiding the devices (on x86).Hiding devices is in no way x86-specific.I mean that the use-case you have, e.g. a *PCI* console you want to hide, is definitely not something used on Arm at least.Not yet, that is? Why would - in the long run - somebody not want to put in a PCI serial card in a system that supports PCI and has no (available) other serial port? And if you have looked at the commit I did point you at I did , you will also have found that it's more than just the serial device that we hide. Serial was just an example from the list Jan
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |