<br><tt><font size=2>"Daniel P. Berrange" <berrange@redhat.com>
wrote on 05/12/2010 08:48:58 AM:<br>
<br>
> <br>
> On Sat, May 08, 2010 at 10:13:36PM -0400, Stefan Berger wrote:<br>
> > Scott Feldman <scofeldm@cisco.com> wrote on 05/08/2010
07:28:11 PM:<br>
> > <br>
> > >     VSI Manager ID      1 octet<br>
> > >     VSI Type ID         3
octets<br>
> > >     VSI Type ID Version 1 octet<br>
> > >     VSI Instance ID    16 octets  
           <-- taken care of via <br>
> > dimdecode<br>
> <br>
> The code can't rely on using dmidecode I'm afraid. Far too many<br>
> manufacturers / machines have SMBIOS UUID field filled with complete<br>
> garbage. eg my main server shows<br>
> <br>
>   # dmidecode |grep -i uuid<br>
>    UUID: Not Settable<br>
> <br>
> So if we need a host UUID, I think we need to be able to either set
it in<br>
> the XML, or have it set in a per host config for the QEMU driver in
libvirt.</font></tt>
<br>
<br><tt><font size=2>I wouldn't make it QEMU specific. It should probably
go into libvirt.conf, but</font></tt>
<br><tt><font size=2>then libvirt.conf would need to be modified on every
machine when installed.</font></tt>
<br><tt><font size=2>How should the code react if no valid UUID is found
in the config file?</font></tt>
<br><tt><font size=2>Create a temporary one that changes with every restart
of libvirt? Also dmidecode</font></tt>
<br><tt><font size=2>should probably be used on those machine where it
returns a valid UUID.</font></tt>
<br><tt><font size=2>Once that would be done, we could show the UUID via
'virsh capabilities'</font></tt>
<br><tt><font size=2>so management software can find it.</font></tt>
<br>
<br><tt><font size=2>If above doesn't sound right, then providing it via
the XML in vsi is probably</font></tt>
<br><tt><font size=2>the way to go.</font></tt>
<br>
<br><tt><font size=2>   Stefan</font></tt>
<br><tt><font size=2><br>
> <br>
> Daniel<br>
> -- <br>
> |: Red Hat, Engineering, London    -o-   </font></tt><a href=http://people.redhat.com/berrange/:|><tt><font size=2>http://people.redhat.com/berrange/:|</font></tt></a><tt><font size=2><br>
> |: </font></tt><a href=http://libvirt.org/><tt><font size=2>http://libvirt.org</font></tt></a><tt><font size=2>
-o- </font></tt><a href="http://virt-manager.org/"><tt><font size=2>http://virt-manager.org</font></tt></a><tt><font size=2>
-o- </font></tt><a href=http://deltacloud.org:|/><tt><font size=2>http://deltacloud.org:|</font></tt></a><tt><font size=2><br>
> |: </font></tt><a href=http://autobuild.org/><tt><font size=2>http://autobuild.org</font></tt></a><tt><font size=2>
       -o-         </font></tt><a href=http://search.cpan.org/~danberr/:|><tt><font size=2>http://search.cpan.org/~danberr/:|</font></tt></a><tt><font size=2><br>
> |: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1
B3DF F742 7D3B 9505 :|<br>
</font></tt>