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

Re: [Xen-devel] SMBIOS UUID



On 17/12/16 10:54, Dejan Markic wrote:
> Hello Andrew,
>
> firstly, thank you for your answer. We have some software being moved
> from physical machines to virtual machines and we need to maintain
> those UUID's.

Excellent use case.  Given this, I switch my view to definitely being a
good idea to be able to control that field like the others.

> I've been able to change the hvmloader to staticly change the UUID. It
> seems that xenstore uses fixed database scheme, so I guess I would
> first have to request a change in that scheme to also make it possible
> to specify product-uuid or similar in bios-strings and than it would
> be fairly trivial to use xenstore_* functions to get this and use it
> if specified.

docs/misc/xenstore-paths.markdown is the canonical description of which
paths mean what, although it appears that existing bios-strings/ paths
were never entered into it.  (Documentation was sadly lacking in the
past, which is why the documents are now plain-text in the source tree)

>
> If I understand this correctly, xenstore is under XAPI development? I
> can also provide the patch fro hvmloader to use this new xenstore
> propery in bios-strings.

Which toolstack are you using?  Xapi from XenServer, or xl/libxl from
upstream Xen?

The hvmloader part would be the same either way, and looking at the
source code history, c/s c74c1f906a is the only example we have of
adding a new string.  The header file formally describing the toolstack
/ hvmloader API post-dates the API existing, but was introduced by a
load of other changes, so c/s 4d23036e7 is also an interesting read.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.