|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen-pciback: allow compiling on other archs than x86
On 20.09.21 07:23, Oleksandr Andrushchenko wrote: Hello, Stefano! On 18.09.21 00:45, Stefano Stabellini wrote:Hi Oleksandr, Why do you want to enable pciback on ARM? Is it only to "disable" a PCI device in Dom0 so that it can be safely assigned to a DomU?Not only thatI am asking because actually I don't think we want to enable the PV PCI backend feature of pciback on ARM, right? That would clash with the PCI assignment work you have been doing in Xen. They couldn't both work at the same time.Correct, it is not usedIf we only need pciback to "park" a device in Dom0, wouldn't it be possible and better to use pci-stub instead? It is neither in x86 PVH/HVM guests. So, limited use of the pciback is one of the bricks used to enable PCI passthrough on Arm. It was enough to just re-structure the driver and have it run on Arm to achieve all the goals above. If we still think it is desirable to break the pciback driver into "common" and "pcifront specific" parts then it can be done, yet the patch is going to be the very first brick in that building. Doing this split should be done, as the pcifront specific part could be omitted on x86, too, in case no PV guests using PCI passthrough have to be supported. So, I think this patch is still going to be needed besides which direction we take. Some kind of this patch, yes. It might look different in case the split is done first. I don't mind doing it in either sequence. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |