[SeaBIOS] [PATCH] enable_vga_console(): print machine UUID under seabios version message

Laszlo Ersek lersek at redhat.com
Tue Dec 11 16:08:45 CET 2012


On 12/11/12 15:52, Gerd Hoffmann wrote:
> 
>>> Also even with qemu the uuid might not be set (just start qemu without
>>> -uuid $something), that case needs to be handled too.  Easiest is
>>> probably to just not print it when not preset.
>>
>> How can I distinguish "unset" from "set to all zeros"?
> 
> "set to all zeros" equals "unset", no?
> I doubt all zeros is a valid uuid in the first place ...

Correct. I started reading the SMBIOS spec, and "Table 3 – Required
Structures and Data" says

  [...]
  System Information (Type 1)  [...] UUID field identifies the system’s
                               non-zero UUID value. [...]
  [...]

Thanks!
Laszlo



More information about the SeaBIOS mailing list