OSDN Git Service

fw_cfg: fw_cfg is a singleton
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 30 May 2013 13:21:24 +0000 (16:21 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Jun 2013 15:14:14 +0000 (18:14 +0300)
commitcac122103abac633d7b39aac87273bf6d5a37588
tree81ebf543f3f9d28da7f642b4a91099b0c57f0cfe
parent600c60b76d0682f6c39d19bfff79da9321e8cf86
fw_cfg: fw_cfg is a singleton

Make sure we only have a single instance ever:
because if it isn't we can't find it so it's
useless anyway.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/nvram/fw_cfg.c