All of lore.kernel.org
 help / color / mirror / Atom feed
* approach for heavily hw-oriented values in smbios for guests
@ 2006-11-16 15:54 Andrew D. Ball
  2006-11-16 15:57 ` Keir Fraser
  2006-11-16 18:32 ` Alan
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew D. Ball @ 2006-11-16 15:54 UTC (permalink / raw)
  To: xen-devel

When I was implementing smbios, I occasionally put in mock values for
things like the data width of dimms, much to my chagrin.

What do y'all think the best approach to such situations would be?  If
specific migration groups were enforced, such that a guest will not be
migrated to a different type of cpu/memory/etc., putting accuracte data
there makes sense to me.  Otherwise, I'd prefer to put no values.
However, even though the SMBIOS 2.4 standard specifies lots of places
where a value of 'unknown' is syntactically valid, the comformance
guidelines require a ton of very hardware oriented things to be fully
specified.

Thanks for your help!
Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: approach for heavily hw-oriented values in smbios for guests
  2006-11-16 15:54 approach for heavily hw-oriented values in smbios for guests Andrew D. Ball
@ 2006-11-16 15:57 ` Keir Fraser
  2006-11-16 18:32 ` Alan
  1 sibling, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2006-11-16 15:57 UTC (permalink / raw)
  To: aball, xen-devel

On 16/11/06 15:54, "Andrew D. Ball" <aball@linux.vnet.ibm.com> wrote:

> When I was implementing smbios, I occasionally put in mock values for
> things like the data width of dimms, much to my chagrin.
> 
> What do y'all think the best approach to such situations would be?  If
> specific migration groups were enforced, such that a guest will not be
> migrated to a different type of cpu/memory/etc., putting accuracte data
> there makes sense to me.  Otherwise, I'd prefer to put no values.
> However, even though the SMBIOS 2.4 standard specifies lots of places
> where a value of 'unknown' is syntactically valid, the comformance
> guidelines require a ton of very hardware oriented things to be fully
> specified.

I'm pretty sure that consistent lying is the best approach for most such
fields.

 -- Keir

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: approach for heavily hw-oriented values in smbios for guests
  2006-11-16 15:54 approach for heavily hw-oriented values in smbios for guests Andrew D. Ball
  2006-11-16 15:57 ` Keir Fraser
@ 2006-11-16 18:32 ` Alan
  2006-11-16 21:17   ` Andrew D. Ball
  1 sibling, 1 reply; 4+ messages in thread
From: Alan @ 2006-11-16 18:32 UTC (permalink / raw)
  To: xen-devel; +Cc: aball

On Thu, 16 Nov 2006 10:54:36 -0500
"Andrew D. Ball" <aball@linux.vnet.ibm.com> wrote:

> However, even though the SMBIOS 2.4 standard specifies lots of places
> where a value of 'unknown' is syntactically valid, the comformance
> guidelines require a ton of very hardware oriented things to be fully
> specified.

Xen is just very hot-pluggable. I guess you either lie or change it to
match the hardware each time. Which is more correct unfortunately appears
to depend upon the desired answer but I'd favour the real hardware - for
diagnostics.

Alan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: approach for heavily hw-oriented values in smbios for guests
  2006-11-16 18:32 ` Alan
@ 2006-11-16 21:17   ` Andrew D. Ball
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew D. Ball @ 2006-11-16 21:17 UTC (permalink / raw)
  To: Alan; +Cc: xen-devel

As far as I know, SMBIOS data reflects the state of the system at boot
time only.  No updates after any sort of hot-plugging.  However, I
distantly remember some possibility of updating something, maybe a power
state.

However, the format of the data is so fixed, that dynamic updates, like
adding vCPUs are infeasible.

Peace.
Andrew


On Thu, 2006-11-16 at 18:32 +0000, Alan wrote:
> On Thu, 16 Nov 2006 10:54:36 -0500
> "Andrew D. Ball" <aball@linux.vnet.ibm.com> wrote:
> 
> > However, even though the SMBIOS 2.4 standard specifies lots of places
> > where a value of 'unknown' is syntactically valid, the comformance
> > guidelines require a ton of very hardware oriented things to be fully
> > specified.
> 
> Xen is just very hot-pluggable. I guess you either lie or change it to
> match the hardware each time. Which is more correct unfortunately appears
> to depend upon the desired answer but I'd favour the real hardware - for
> diagnostics.
> 
> Alan
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-16 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-16 15:54 approach for heavily hw-oriented values in smbios for guests Andrew D. Ball
2006-11-16 15:57 ` Keir Fraser
2006-11-16 18:32 ` Alan
2006-11-16 21:17   ` Andrew D. Ball

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.