fw_cfg: prevent selector key conflict
commit0f9b214139d11ef058fa0f1c11c89e94fa6ef95d
authorGabriel L. Somlo <somlo@cmu.edu>
Wed, 29 Apr 2015 15:21:51 +0000 (29 11:21 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 10 Jun 2015 06:00:37 +0000 (10 08:00 +0200)
tree9b62f00ef7c5795ab407f8e241b547f39050ee2c
parent023e3148567ac898c7258138f8e86c3c2bb40d07
fw_cfg: prevent selector key conflict

Enforce a single assignment of data for each distinct selector key.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/nvram/fw_cfg.c