[PATCH] pvg: disable by default

Mohamed Mediouni posted 1 patch 6 days, 13 hours ago
meson_options.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] pvg: disable by default
Posted by Mohamed Mediouni 6 days, 13 hours ago
macOS 27 removes support for x86 processors. As such, support
for ParavirtualizedGraphics as a public API has been removed.

Current QEMU does not compile with ParavirtualizedGraphics enabled
and the arm64 side of PVG is not documented or supported by Apple
for third-party use.

Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson_options.txt b/meson_options.txt
index 0d4907a0d3..eb049479f0 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -208,7 +208,7 @@ option('lzfse', type : 'feature', value : 'auto',
        description: 'lzfse support for DMG images')
 option('lzo', type : 'feature', value : 'auto',
        description: 'lzo compression support')
-option('pvg', type: 'feature', value: 'auto',
+option('pvg', type: 'feature', value: 'disabled',
        description: 'macOS paravirtualized graphics support')
 option('rbd', type : 'feature', value : 'auto',
        description: 'Ceph block device driver')
-- 
2.54.0 (Apple Git-157)
Re: [PATCH] pvg: disable by default
Posted by Pierrick Bouvier 6 days, 11 hours ago
On 11/16/2026 6:49 AM, Mohamed Mediouni wrote:
> macOS 27 removes support for x86 processors. As such, support
> for ParavirtualizedGraphics as a public API has been removed.
> 
> Current QEMU does not compile with ParavirtualizedGraphics enabled
> and the arm64 side of PVG is not documented or supported by Apple
> for third-party use.
> 
> Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
> ---
>  meson_options.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson_options.txt b/meson_options.txt
> index 0d4907a0d3..eb049479f0 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -208,7 +208,7 @@ option('lzfse', type : 'feature', value : 'auto',
>         description: 'lzfse support for DMG images')
>  option('lzo', type : 'feature', value : 'auto',
>         description: 'lzo compression support')
> -option('pvg', type: 'feature', value: 'auto',
> +option('pvg', type: 'feature', value: 'disabled',
>         description: 'macOS paravirtualized graphics support')
>  option('rbd', type : 'feature', value : 'auto',
>         description: 'Ceph block device driver')

Sounds like the only thing we can do for now.
Maybe it could be a proper check in meson.build based on macos version?
Not sure how useful is it to enable this by default.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>

Regards,
Pierrick
Re: [PATCH] pvg: disable by default
Posted by Mohamed Mediouni 6 days, 11 hours ago

> On 16. Nov 2026, at 17:45, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote:
> 
> On 11/16/2026 6:49 AM, Mohamed Mediouni wrote:
>> macOS 27 removes support for x86 processors. As such, support
>> for ParavirtualizedGraphics as a public API has been removed.
>> 
>> Current QEMU does not compile with ParavirtualizedGraphics enabled
>> and the arm64 side of PVG is not documented or supported by Apple
>> for third-party use.
>> 
>> Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
>> ---
>> meson_options.txt | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meson_options.txt b/meson_options.txt
>> index 0d4907a0d3..eb049479f0 100644
>> --- a/meson_options.txt
>> +++ b/meson_options.txt
>> @@ -208,7 +208,7 @@ option('lzfse', type : 'feature', value : 'auto',
>>        description: 'lzfse support for DMG images')
>> option('lzo', type : 'feature', value : 'auto',
>>        description: 'lzo compression support')
>> -option('pvg', type: 'feature', value: 'auto',
>> +option('pvg', type: 'feature', value: 'disabled',
>>        description: 'macOS paravirtualized graphics support')
>> option('rbd', type : 'feature', value : 'auto',
>>        description: 'Ceph block device driver')
> 
> Sounds like the only thing we can do for now.
> Maybe it could be a proper check in meson.build based on macos version?

Hi,

It’s possible to use a newer SDK even on an older macOS, and the new SDK
can be used to back deploy all the way back to macOS 11.

So detecting the host OS version isn’t good enough, but perhaps detecting
an older SDK would… but not sure that’d be worth the hassle.

> Not sure how useful is it to enable this by default.
> 
> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
> 
> Regards,
> Pierrick
Re: [PATCH] pvg: disable by default
Posted by Pierrick Bouvier 6 days, 11 hours ago
On 11/16/2026 8:49 AM, Mohamed Mediouni wrote:
> 
> 
>> On 16. Nov 2026, at 17:45, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> wrote:
>>
>> On 11/16/2026 6:49 AM, Mohamed Mediouni wrote:
>>> macOS 27 removes support for x86 processors. As such, support
>>> for ParavirtualizedGraphics as a public API has been removed.
>>>
>>> Current QEMU does not compile with ParavirtualizedGraphics enabled
>>> and the arm64 side of PVG is not documented or supported by Apple
>>> for third-party use.
>>>
>>> Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
>>> ---
>>> meson_options.txt | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meson_options.txt b/meson_options.txt
>>> index 0d4907a0d3..eb049479f0 100644
>>> --- a/meson_options.txt
>>> +++ b/meson_options.txt
>>> @@ -208,7 +208,7 @@ option('lzfse', type : 'feature', value : 'auto',
>>>        description: 'lzfse support for DMG images')
>>> option('lzo', type : 'feature', value : 'auto',
>>>        description: 'lzo compression support')
>>> -option('pvg', type: 'feature', value: 'auto',
>>> +option('pvg', type: 'feature', value: 'disabled',
>>>        description: 'macOS paravirtualized graphics support')
>>> option('rbd', type : 'feature', value : 'auto',
>>>        description: 'Ceph block device driver')
>>
>> Sounds like the only thing we can do for now.
>> Maybe it could be a proper check in meson.build based on macos version?
> 
> Hi,
> 
> It’s possible to use a newer SDK even on an older macOS, and the new SDK
> can be used to back deploy all the way back to macOS 11.
> 
> So detecting the host OS version isn’t good enough, but perhaps detecting
> an older SDK would… but not sure that’d be worth the hassle.
>

Ok. I feel that people on macos have a better trust in Apple and culture
of updating system compared to Windows/Linux, based on the few users I
have around me.
So it makes sense to assume most of users will hit it, and disable it by
default.

>> Not sure how useful is it to enable this by default.
>>
>> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
>>
>> Regards,
>> Pierrick
>