Re: [libvirt PATCH] Port-profile ID support using IFLA_VF_PORT_PROFILE netlink msg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote on 05/12/2010 10:09:41 AM:

> >
> > I wouldn't make it QEMU specific. It should probably go into libvirt.conf,
> > but
> > then libvirt.conf would need to be modified on every machine when
> > installed.
> > How should the code react if no valid UUID is found in the config file?
> > Create a temporary one that changes with every restart of libvirt? Also
> > dmidecode
> > should probably be used on those machine where it returns a valid UUID.
>
> How do we decide that dmidecode is showing a valid UUID though. Is a
> UUID of all 0's, all 1's or all F's valid ?


With high probability, 32 hex chars that are the same can probably be considered 'wrong'.

Some details on how one could handle the different cases of valid/invalid UUIDs:

   libvirtd.conf                dmidecode                handling

        valid UUID          valid UUID      libvirtd.conf UUID overrides dmidecode's UUID
        invalid UUID        invalid UUID      generate a temporary one; new one after libvirtd restart
        valid UUID      invalid UUID      use valid UUID
      invalid UUID        valid UUID      use valid UUID

  Stefan
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]