Skip to contentSkip to conversation

pvg: disable by default

PATCH In review Mohamed Mediouni 2 participants 4 messages Nov 16 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pvg: disable by default

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.

---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson_options.txt +1 -1
index 0d4907a0d3..eb049479f0 100644
@@ -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')
Signature · 1 line
2.54.0 (Apple Git-157)
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Mohamed Mediouni

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.

---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson_options.txt +0 -0
index 0d4907a0d3..eb049479f0 100644

meson_options.txt option('lzfse', type : 'feature', value : 'auto', · line 214

Quoted 8 lines
meson_options.txt +1 -1
@@ -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.

Regards,
Pierrick

#2 lore raw
Quoted 17 lines · Pierrick Bouvier
Quoted 12 lines · Mohamed Mediouni

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.

---
meson_options.txt | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines

meson_options.txt option('lzfse', type : 'feature', value : 'auto', · line 214

Quoted 13 lines
meson_options.txt +1 -1
index 0d4907a0d3..eb049479f0 100644
@@ -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.

Quoted 6 lines

Not sure how useful is it to enable this by default.

Regards,
Pierrick

#3 lore raw
Quoted 34 lines · Mohamed Mediouni
Quoted 17 lines · Pierrick Bouvier
Quoted 12 lines · Mohamed Mediouni

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.

---
meson_options.txt | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines

meson_options.txt option('lzfse', type : 'feature', value : 'auto', · line 214

Quoted 13 lines
meson_options.txt +1 -1
index 0d4907a0d3..eb049479f0 100644
@@ -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?

Quoted 8 lines

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.

Quoted 7 lines
Quoted 6 lines

Not sure how useful is it to enable this by default.

Regards,
Pierrick