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 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org http://www.seabios.org/mailman/listinfo/seabios