mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
ipmi: Add a UUID device property
Using the UUID that qemu generates probably isn't the best thing to do, allow it to be passed in via properties, and use QemuUUID for the type. If the UUID is not set, return an unsupported command error. This way we are not providing an all-zero (or randomly generated) GUID to the IPMI user. This lets the host fall back to the other method of using the get device id command to determind the BMC being accessed. Signed-off-by: Corey Minyard <cminyard@mvista.com> Cc: Cédric Le Goater <clg@kaod.org> Cc: David Gibson <david@gibson.dropbear.id.au> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a65f4d4028
commit
7b0cd78bf7
2 changed files with 21 additions and 11 deletions
|
@ -701,7 +701,7 @@ possible drivers and properties, use @code{-device help} and
|
|||
@code{-device @var{driver},help}.
|
||||
|
||||
Some drivers are:
|
||||
@item -device ipmi-bmc-sim,id=@var{id}[,slave_addr=@var{val}][,sdrfile=@var{file}][,furareasize=@var{val}][,furdatafile=@var{file}]
|
||||
@item -device ipmi-bmc-sim,id=@var{id}[,slave_addr=@var{val}][,sdrfile=@var{file}][,furareasize=@var{val}][,furdatafile=@var{file}][,guid=@var{uuid}]
|
||||
|
||||
Add an IPMI BMC. This is a simulation of a hardware management
|
||||
interface processor that normally sits on a system. It provides
|
||||
|
@ -714,8 +714,8 @@ controllers. If you don't know what this means, it is safe to ignore
|
|||
it.
|
||||
|
||||
@table @option
|
||||
@item bmc=@var{id}
|
||||
The BMC to connect to, one of ipmi-bmc-sim or ipmi-bmc-extern above.
|
||||
@item id=@var{id}
|
||||
The BMC id for interfaces to use this device.
|
||||
@item slave_addr=@var{val}
|
||||
Define slave address to use for the BMC. The default is 0x20.
|
||||
@item sdrfile=@var{file}
|
||||
|
@ -724,6 +724,10 @@ file containing raw Sensor Data Records (SDR) data. The default is none.
|
|||
size of a Field Replaceable Unit (FRU) area. The default is 1024.
|
||||
@item frudatafile=@var{file}
|
||||
file containing raw Field Replaceable Unit (FRU) inventory data. The default is none.
|
||||
@item guid=@var{uuid}
|
||||
value for the GUID for the BMC, in standard UUID format. If this is set,
|
||||
get "Get GUID" command to the BMC will return it. Otherwise "Get GUID"
|
||||
will return an error.
|
||||
@end table
|
||||
|
||||
@item -device ipmi-bmc-extern,id=@var{id},chardev=@var{id}[,slave_addr=@var{val}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue