Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Teddy Astie
Le 28/08/2025 à 12:24, Andrew Cooper a écrit : > I'd be tempted to be rather more explicit. > > diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h > index 82b9c05a76b7..f1592dc059e2 100644 > --- a/xen/include/public/xen.h > +++ b/xen/include/public/xen.h > @@ -973,6 +973,13 @@ typedef

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Jan Beulich
On 28.08.2025 12:31, Andrew Cooper wrote: > On 28/08/2025 11:22 am, Jan Beulich wrote: >> On 28.08.2025 12:01, Andrew Cooper wrote: >>> On 28/08/2025 8:07 am, Jan Beulich wrote: On 27.08.2025 19:47, Andrew Cooper wrote: > On 22/08/2025 2:47 pm, Teddy Astie wrote: >> Currently, hvmloade

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Andrew Cooper
On 28/08/2025 11:22 am, Jan Beulich wrote: > On 28.08.2025 12:01, Andrew Cooper wrote: >> On 28/08/2025 8:07 am, Jan Beulich wrote: >>> On 27.08.2025 19:47, Andrew Cooper wrote: On 22/08/2025 2:47 pm, Teddy Astie wrote: > Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Jan Beulich
On 28.08.2025 12:01, Andrew Cooper wrote: > On 28/08/2025 8:07 am, Jan Beulich wrote: >> On 27.08.2025 19:47, Andrew Cooper wrote: >>> On 22/08/2025 2:47 pm, Teddy Astie wrote: Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the SMBIOS is patched to 2.8, which has clarifie

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Andrew Cooper
On 27/08/2025 9:27 pm, Teddy Astie wrote: > Le 27/08/2025 à 19:49, Andrew Cooper a écrit : >> On 22/08/2025 2:47 pm, Teddy Astie wrote: >>> Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the >>> SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). >>> >>> In Lin

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Andrew Cooper
On 28/08/2025 8:07 am, Jan Beulich wrote: > On 27.08.2025 19:47, Andrew Cooper wrote: >> On 22/08/2025 2:47 pm, Teddy Astie wrote: >>> Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the >>> SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). >>> >>> In Linux, i

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Teddy Astie
Le 28/08/2025 à 09:08, Jan Beulich a écrit : > On 22.08.2025 15:47, Teddy Astie wrote: >> Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the >> SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). >> >> In Linux, if the SMBIOS version is >= 2.6, the GUID format

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Jan Beulich
On 22.08.2025 15:47, Teddy Astie wrote: > Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the > SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). > > In Linux, if the SMBIOS version is >= 2.6, the GUID format is used, else > (undefined as per SMBIOS spec), bi

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-28 Thread Jan Beulich
On 27.08.2025 19:47, Andrew Cooper wrote: > On 22/08/2025 2:47 pm, Teddy Astie wrote: >> Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the >> SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). >> >> In Linux, if the SMBIOS version is >= 2.6, the GUID format i

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-27 Thread Jan Beulich
On 27.08.2025 22:27, Teddy Astie wrote: > --- a/xen/include/public/xen.h > +++ b/xen/include/public/xen.h > @@ -975,6 +975,10 @@ typedef struct dom0_vga_console_info { > #define xen_vga_console_info dom0_vga_console_info > #define xen_vga_console_info_t dom0_vga_console_info_t > > +/* > + * Th

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-27 Thread Teddy Astie
Le 27/08/2025 à 19:49, Andrew Cooper a écrit : > On 22/08/2025 2:47 pm, Teddy Astie wrote: >> Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the >> SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). >> >> In Linux, if the SMBIOS version is >= 2.6, the GUID for

Re: [PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-27 Thread Andrew Cooper
On 22/08/2025 2:47 pm, Teddy Astie wrote: > Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the > SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). > > In Linux, if the SMBIOS version is >= 2.6, the GUID format is used, else > (undefined as per SMBIOS spec), b

[PATCH] hvmloader: Update to SMBIOS 2.6

2025-08-22 Thread Teddy Astie
Currently, hvmloader uses SMBIOS 2.4, however, when using OVMF, the SMBIOS is patched to 2.8, which has clarified the UUID format (as GUID). In Linux, if the SMBIOS version is >= 2.6, the GUID format is used, else (undefined as per SMBIOS spec), big endian is used (used by Xen). Therefore, you hav