All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
@ 2025-03-12  4:02 Jiqian Chen
  2025-03-12  8:51 ` Jan Beulich
  0 siblings, 1 reply; 7+ messages in thread
From: Jiqian Chen @ 2025-03-12  4:02 UTC (permalink / raw)
  To: xen-devel
  Cc: Community Manager, Oleksii Kurochko, Roger Pau Monné,
	Huang Rui, Jiqian Chen

PCI passthrough is already supported for HVM domUs when dom0 is PVH
on x86. The last related patch on Qemu side was merged after Xen4.20
release. So mention this feature in Xen4.21 entry.

Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7201c484f899..b6de9b72ea7a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - On x86:
    - Option to attempt to fixup p2m page-faults on PVH dom0.
    - Resizable BARs is supported for PVH dom0.
+   - Support PCI passthrough for HVM domUs when dom0 is PVH.
 
 ### Removed
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
  2025-03-12  4:02 [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs Jiqian Chen
@ 2025-03-12  8:51 ` Jan Beulich
  2025-03-12 16:36   ` Roger Pau Monné
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Beulich @ 2025-03-12  8:51 UTC (permalink / raw)
  To: Jiqian Chen
  Cc: Community Manager, Oleksii Kurochko, Roger Pau Monné,
	Huang Rui, xen-devel

On 12.03.2025 05:02, Jiqian Chen wrote:
> PCI passthrough is already supported for HVM domUs when dom0 is PVH
> on x86. The last related patch on Qemu side was merged after Xen4.20
> release. So mention this feature in Xen4.21 entry.
> 
> Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
> ---
>  CHANGELOG.md | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/CHANGELOG.md b/CHANGELOG.md
> index 7201c484f899..b6de9b72ea7a 100644
> --- a/CHANGELOG.md
> +++ b/CHANGELOG.md
> @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
>   - On x86:
>     - Option to attempt to fixup p2m page-faults on PVH dom0.
>     - Resizable BARs is supported for PVH dom0.
> +   - Support PCI passthrough for HVM domUs when dom0 is PVH.

Aren't we still in need of SR-IOV support in order to make such an
unconditional statement?

Jan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
  2025-03-12  8:51 ` Jan Beulich
@ 2025-03-12 16:36   ` Roger Pau Monné
  2025-03-13  7:42     ` Jan Beulich
  0 siblings, 1 reply; 7+ messages in thread
From: Roger Pau Monné @ 2025-03-12 16:36 UTC (permalink / raw)
  To: Jan Beulich
  Cc: Jiqian Chen, Community Manager, Oleksii Kurochko, Huang Rui,
	xen-devel

On Wed, Mar 12, 2025 at 09:51:09AM +0100, Jan Beulich wrote:
> On 12.03.2025 05:02, Jiqian Chen wrote:
> > PCI passthrough is already supported for HVM domUs when dom0 is PVH
> > on x86. The last related patch on Qemu side was merged after Xen4.20
> > release. So mention this feature in Xen4.21 entry.
> > 
> > Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
> > ---
> >  CHANGELOG.md | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/CHANGELOG.md b/CHANGELOG.md
> > index 7201c484f899..b6de9b72ea7a 100644
> > --- a/CHANGELOG.md
> > +++ b/CHANGELOG.md
> > @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
> >   - On x86:
> >     - Option to attempt to fixup p2m page-faults on PVH dom0.
> >     - Resizable BARs is supported for PVH dom0.
> > +   - Support PCI passthrough for HVM domUs when dom0 is PVH.
> 
> Aren't we still in need of SR-IOV support in order to make such an
> unconditional statement?

I view SR-IOV as kind of orthogonal to this: SR-IOV is not
supported at all on PVH dom0, so it's not just pass through, but the
capability itself that won't work as expected when using such devices.

Regards, Roger.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
  2025-03-12 16:36   ` Roger Pau Monné
@ 2025-03-13  7:42     ` Jan Beulich
  2025-03-13  9:48       ` Roger Pau Monné
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Beulich @ 2025-03-13  7:42 UTC (permalink / raw)
  To: Roger Pau Monné
  Cc: Jiqian Chen, Community Manager, Oleksii Kurochko, Huang Rui,
	xen-devel

On 12.03.2025 17:36, Roger Pau Monné wrote:
> On Wed, Mar 12, 2025 at 09:51:09AM +0100, Jan Beulich wrote:
>> On 12.03.2025 05:02, Jiqian Chen wrote:
>>> PCI passthrough is already supported for HVM domUs when dom0 is PVH
>>> on x86. The last related patch on Qemu side was merged after Xen4.20
>>> release. So mention this feature in Xen4.21 entry.
>>>
>>> Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
>>> ---
>>>  CHANGELOG.md | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/CHANGELOG.md b/CHANGELOG.md
>>> index 7201c484f899..b6de9b72ea7a 100644
>>> --- a/CHANGELOG.md
>>> +++ b/CHANGELOG.md
>>> @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
>>>   - On x86:
>>>     - Option to attempt to fixup p2m page-faults on PVH dom0.
>>>     - Resizable BARs is supported for PVH dom0.
>>> +   - Support PCI passthrough for HVM domUs when dom0 is PVH.
>>
>> Aren't we still in need of SR-IOV support in order to make such an
>> unconditional statement?
> 
> I view SR-IOV as kind of orthogonal to this: SR-IOV is not
> supported at all on PVH dom0, so it's not just pass through, but the
> capability itself that won't work as expected when using such devices.

Hmm, yes and no. No in so far as I as someone who simply wants to use Xen
would read the above statement as indicating full pass-through support.
Which first and foremost includes the passing through of VFs.

Jan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
  2025-03-13  7:42     ` Jan Beulich
@ 2025-03-13  9:48       ` Roger Pau Monné
  2025-03-13 10:37         ` Jan Beulich
  2025-03-13 15:23         ` Oleksii Kurochko
  0 siblings, 2 replies; 7+ messages in thread
From: Roger Pau Monné @ 2025-03-13  9:48 UTC (permalink / raw)
  To: Jan Beulich, Jiqian Chen
  Cc: Community Manager, Oleksii Kurochko, Huang Rui, xen-devel

On Thu, Mar 13, 2025 at 08:42:25AM +0100, Jan Beulich wrote:
> On 12.03.2025 17:36, Roger Pau Monné wrote:
> > On Wed, Mar 12, 2025 at 09:51:09AM +0100, Jan Beulich wrote:
> >> On 12.03.2025 05:02, Jiqian Chen wrote:
> >>> PCI passthrough is already supported for HVM domUs when dom0 is PVH
> >>> on x86. The last related patch on Qemu side was merged after Xen4.20
> >>> release. So mention this feature in Xen4.21 entry.
> >>>
> >>> Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
> >>> ---
> >>>  CHANGELOG.md | 1 +
> >>>  1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/CHANGELOG.md b/CHANGELOG.md
> >>> index 7201c484f899..b6de9b72ea7a 100644
> >>> --- a/CHANGELOG.md
> >>> +++ b/CHANGELOG.md
> >>> @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
> >>>   - On x86:
> >>>     - Option to attempt to fixup p2m page-faults on PVH dom0.
> >>>     - Resizable BARs is supported for PVH dom0.
> >>> +   - Support PCI passthrough for HVM domUs when dom0 is PVH.
> >>
> >> Aren't we still in need of SR-IOV support in order to make such an
> >> unconditional statement?
> > 
> > I view SR-IOV as kind of orthogonal to this: SR-IOV is not
> > supported at all on PVH dom0, so it's not just pass through, but the
> > capability itself that won't work as expected when using such devices.
> 
> Hmm, yes and no. No in so far as I as someone who simply wants to use Xen
> would read the above statement as indicating full pass-through support.
> Which first and foremost includes the passing through of VFs.

Maybe we can clarify somehow that SR-IOV devices are still not
supported on a PVH dom0:

 - Support PCI passthrough for HVM domUs when dom0 is PVH (note
   SR-IOV capability usage is not yet supported on PVH dom0).

In any case we should likely wait for:

https://lore.kernel.org/xen-devel/20250308001711.18746-1-jason.andryuk@amd.com/

To be committed?

Thanks, Roger.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
  2025-03-13  9:48       ` Roger Pau Monné
@ 2025-03-13 10:37         ` Jan Beulich
  2025-03-13 15:23         ` Oleksii Kurochko
  1 sibling, 0 replies; 7+ messages in thread
From: Jan Beulich @ 2025-03-13 10:37 UTC (permalink / raw)
  To: Roger Pau Monné
  Cc: Community Manager, Oleksii Kurochko, Huang Rui, xen-devel,
	Jiqian Chen

On 13.03.2025 10:48, Roger Pau Monné wrote:
> On Thu, Mar 13, 2025 at 08:42:25AM +0100, Jan Beulich wrote:
>> On 12.03.2025 17:36, Roger Pau Monné wrote:
>>> On Wed, Mar 12, 2025 at 09:51:09AM +0100, Jan Beulich wrote:
>>>> On 12.03.2025 05:02, Jiqian Chen wrote:
>>>>> PCI passthrough is already supported for HVM domUs when dom0 is PVH
>>>>> on x86. The last related patch on Qemu side was merged after Xen4.20
>>>>> release. So mention this feature in Xen4.21 entry.
>>>>>
>>>>> Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
>>>>> ---
>>>>>  CHANGELOG.md | 1 +
>>>>>  1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/CHANGELOG.md b/CHANGELOG.md
>>>>> index 7201c484f899..b6de9b72ea7a 100644
>>>>> --- a/CHANGELOG.md
>>>>> +++ b/CHANGELOG.md
>>>>> @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
>>>>>   - On x86:
>>>>>     - Option to attempt to fixup p2m page-faults on PVH dom0.
>>>>>     - Resizable BARs is supported for PVH dom0.
>>>>> +   - Support PCI passthrough for HVM domUs when dom0 is PVH.
>>>>
>>>> Aren't we still in need of SR-IOV support in order to make such an
>>>> unconditional statement?
>>>
>>> I view SR-IOV as kind of orthogonal to this: SR-IOV is not
>>> supported at all on PVH dom0, so it's not just pass through, but the
>>> capability itself that won't work as expected when using such devices.
>>
>> Hmm, yes and no. No in so far as I as someone who simply wants to use Xen
>> would read the above statement as indicating full pass-through support.
>> Which first and foremost includes the passing through of VFs.
> 
> Maybe we can clarify somehow that SR-IOV devices are still not
> supported on a PVH dom0:
> 
>  - Support PCI passthrough for HVM domUs when dom0 is PVH (note
>    SR-IOV capability usage is not yet supported on PVH dom0).

I'd prefer if we made this explicit, yes.

> In any case we should likely wait for:
> 
> https://lore.kernel.org/xen-devel/20250308001711.18746-1-jason.andryuk@amd.com/
> 
> To be committed?

Sure - they're in now.

Jan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs
  2025-03-13  9:48       ` Roger Pau Monné
  2025-03-13 10:37         ` Jan Beulich
@ 2025-03-13 15:23         ` Oleksii Kurochko
  1 sibling, 0 replies; 7+ messages in thread
From: Oleksii Kurochko @ 2025-03-13 15:23 UTC (permalink / raw)
  To: Roger Pau Monné, Jan Beulich, Jiqian Chen
  Cc: Community Manager, Huang Rui, xen-devel


On 3/13/25 10:48 AM, Roger Pau Monné wrote:
> On Thu, Mar 13, 2025 at 08:42:25AM +0100, Jan Beulich wrote:
>> On 12.03.2025 17:36, Roger Pau Monné wrote:
>>> On Wed, Mar 12, 2025 at 09:51:09AM +0100, Jan Beulich wrote:
>>>> On 12.03.2025 05:02, Jiqian Chen wrote:
>>>>> PCI passthrough is already supported for HVM domUs when dom0 is PVH
>>>>> on x86. The last related patch on Qemu side was merged after Xen4.20
>>>>> release. So mention this feature in Xen4.21 entry.
>>>>>
>>>>> Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
>>>>> ---
>>>>>   CHANGELOG.md | 1 +
>>>>>   1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/CHANGELOG.md b/CHANGELOG.md
>>>>> index 7201c484f899..b6de9b72ea7a 100644
>>>>> --- a/CHANGELOG.md
>>>>> +++ b/CHANGELOG.md
>>>>> @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
>>>>>    - On x86:
>>>>>      - Option to attempt to fixup p2m page-faults on PVH dom0.
>>>>>      - Resizable BARs is supported for PVH dom0.
>>>>> +   - Support PCI passthrough for HVM domUs when dom0 is PVH.
>>>> Aren't we still in need of SR-IOV support in order to make such an
>>>> unconditional statement?
>>> I view SR-IOV as kind of orthogonal to this: SR-IOV is not
>>> supported at all on PVH dom0, so it's not just pass through, but the
>>> capability itself that won't work as expected when using such devices.
>> Hmm, yes and no. No in so far as I as someone who simply wants to use Xen
>> would read the above statement as indicating full pass-through support.
>> Which first and foremost includes the passing through of VFs.
> Maybe we can clarify somehow that SR-IOV devices are still not
> supported on a PVH dom0:
>
>   - Support PCI passthrough for HVM domUs when dom0 is PVH (note
>     SR-IOV capability usage is not yet supported on PVH dom0).
With this suggestion:
  Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
~Oleksii
>
> In any case we should likely wait for:
>
> https://lore.kernel.org/xen-devel/20250308001711.18746-1-jason.andryuk@amd.com/
>
> To be committed?
>
> Thanks, Roger.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-13 15:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12  4:02 [PATCH v1] CHANGELOG.md: Mention PCI passthrough for HVM domUs Jiqian Chen
2025-03-12  8:51 ` Jan Beulich
2025-03-12 16:36   ` Roger Pau Monné
2025-03-13  7:42     ` Jan Beulich
2025-03-13  9:48       ` Roger Pau Monné
2025-03-13 10:37         ` Jan Beulich
2025-03-13 15:23         ` Oleksii Kurochko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.