Oliver Rath <r...@mglug.de> writes:

> Hi list,
>
> i have a little problem: a program of us is looking for the serial
> number of the motherboard via
>
> dmidecode -s baseboard-serial-number
>
> which returns normally (i.e. Athlon Board) a 16-digits-number.
>
> But doing this in a virtualized (i.e. Ubuntu-oneric-11.10) box, the
> command returns the empty string.
>
> Is there any possibility to set this number when defining the virtual
> machine?

I believe you only can specify type 0 and type 1 entries as text fields
at the moment, while you are interested in type 2 (baseboard).  But what
you can do is load it as a binary blob.  If you don't care about the
values, you can probably just use a dump from a real machine.

Something like 

  dmidecode -t2 --dump-bin my-type2.bin

and then

  kvm -smbios file=my-type2.bin ...

might do the trick.  Totally untested of course :-)


Bjørn

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to