All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] ipmi: Allow UUID to be set for a BMC
@ 2018-11-08 14:19 minyard
  2018-11-08 14:19 ` [Qemu-devel] [PATCH 1/2] qdev: Add a no default uuid property minyard
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: minyard @ 2018-11-08 14:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cédric Le Goater, David Gibson, Michael S . Tsirkin,
	Paolo Bonzini, Fam Zheng, Marc-André Lureau

The code was using the qemu UUID for the BMC.  But that's really
not a good method.  In general, you don't want the GUID to change
when you migrate, and you want the GUID to be the same between
invocations of qemu (if you have a GUID).

Plus, if you have multiple BMCs, they need to have different
GUIDs or the host code cannot tell them apart.  I'm not sure
anyone really uses multiple BMCs, but I do a lot of testing
with that scenario.

This change lets the user set the GUID on the command line, and
if the GUID is not set return an error for the GUID fetch command.
This maps better to how IPMI should work.

This change relies on the UUID being set to all zeros to know that
it is not set.  This is not optimal, perhaps, but an all zero
UUID isn't valid (it's the Nil UUID), so it should be ok.

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

end of thread, other threads:[~2018-12-06 21:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-08 14:19 [Qemu-devel] [PATCH 0/2] ipmi: Allow UUID to be set for a BMC minyard
2018-11-08 14:19 ` [Qemu-devel] [PATCH 1/2] qdev: Add a no default uuid property minyard
2018-11-08 14:19 ` [Qemu-devel] [PATCH 2/2] ipmi: Add a UUID device property minyard
2018-11-08 23:22 ` [Qemu-devel] [PATCH 0/2] ipmi: Allow UUID to be set for a BMC David Gibson
2018-11-09 13:33   ` Corey Minyard
2018-12-06 21:10     ` Paolo Bonzini
2018-12-06 21:27       ` Corey Minyard
2018-12-06 21:34         ` Paolo Bonzini

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.