On 24.11.21 14:36, Roger Pau Monné wrote: > On Wed, Nov 24, 2021 at 11:28:18AM +0000, Oleksandr Andrushchenko wrote: >> Hi, Jan! >> >> On 18.11.21 18:45, Jan Beulich wrote: >>> On 05.11.2021 07:56, Oleksandr Andrushchenko wrote: >>>> --- a/xen/include/xen/vpci.h >>>> +++ b/xen/include/xen/vpci.h >>>> @@ -145,6 +145,10 @@ struct vpci { >>>> struct vpci_arch_msix_entry arch; >>>> } entries[]; >>>> } *msix; >>>> +#ifdef CONFIG_HAS_VPCI_GUEST_SUPPORT >>>> + /* Virtual SBDF of the device. */ >>>> + pci_sbdf_t guest_sbdf; >>> Would vsbdf perhaps be better in line with things like vpci or vcpu >>> (as well as with the comment here)? >> This is the same as guest_addr... >> @Roger what is your preference here? > I'm fine with using guest_ here, but the comment should be slightly > adjusted to s/Virtual/Guest/ IMO. It's already inline with other > guest_ fields added in the series anyway. Ok, I will update the comment > > Just to confirm, such guest_sbdf is strictly to be used by > unprivileged domains, dom0 will never get such a virtual PCI bus? Right, for unprivileged domains domains only > > Thanks, Roger. Thank you, Oleksandr
- Re: [PATCH v4 06/11] vpc... Oleksandr Andrushchenko
- [PATCH v4 07/11] vpci/header: program p2m with gue... Oleksandr Andrushchenko
- Re: [PATCH v4 07/11] vpci/header: program p2m... Jan Beulich
- Re: [PATCH v4 07/11] vpci/header: program... Oleksandr Andrushchenko
- [PATCH v4 08/11] vpci/header: emulate PCI_COMMAND ... Oleksandr Andrushchenko
- [PATCH v4 09/11] vpci/header: reset the command re... Oleksandr Andrushchenko
- [PATCH v4 10/11] vpci: add initial support for vir... Oleksandr Andrushchenko
- Re: [PATCH v4 10/11] vpci: add initial suppor... Jan Beulich
- Re: [PATCH v4 10/11] vpci: add initial su... Oleksandr Andrushchenko
- Re: [PATCH v4 10/11] vpci: add initia... Roger Pau Monné
- Re: [PATCH v4 10/11] vpci: add in... Oleksandr Andrushchenko
- [PATCH v4 11/11] xen/arm: translate virtual PCI bu... Oleksandr Andrushchenko
- Re: [PATCH v4 11/11] xen/arm: translate virtu... Jan Beulich
- Re: [PATCH v4 11/11] xen/arm: translate v... Oleksandr Andrushchenko
- Re: [PATCH v4 11/11] xen/arm: transla... Roger Pau Monné
- Re: [PATCH v4 11/11] xen/arm: tra... Oleksandr Andrushchenko
- Re: [PATCH v4 11/11] xen/arm... Oleksandr Andrushchenko
- Re: [PATCH v4 00/11] PCI devices passthrough on Ar... Jan Beulich
- Re: [PATCH v4 00/11] PCI devices passthrough ... Oleksandr Andrushchenko
- Re: [PATCH v4 00/11] PCI devices passthrough ... Roger Pau Monné
- Re: [PATCH v4 00/11] PCI devices passthro... Oleksandr Andrushchenko