]> git.proxmox.com Git - mirror_qemu.git/commit
ipmi: Add a UUID device property
authorCorey Minyard <cminyard@mvista.com>
Wed, 6 Sep 2017 20:57:07 +0000 (15:57 -0500)
committerCorey Minyard <cminyard@mvista.com>
Fri, 20 Sep 2019 19:08:10 +0000 (14:08 -0500)
commit7b0cd78bf72368b71e6ffa7a8b8f5e57a2e65b5d
tree275a173863b06a9d5ad6082fa7d3d2cace2210c7
parenta65f4d4028de99ce172ffa3c18095b4f1bf7ee45
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>
hw/ipmi/ipmi_bmc_sim.c
qemu-options.hx