OSDN Git Service

fw_cfg: remove support for guest-side data writes
authorGabriel L. Somlo <somlo@cmu.edu>
Wed, 29 Apr 2015 15:21:50 +0000 (11:21 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 10 Jun 2015 06:00:37 +0000 (08:00 +0200)
commit023e3148567ac898c7258138f8e86c3c2bb40d07
treef9f14daf59018e8fb46fe29abe0c87200b2c665c
parent48779e501810c5046ff8af7b9cf9c99bec2928a1
fw_cfg: remove support for guest-side data writes

From this point forward, any guest-side writes to the fw_cfg
data register will be treated as no-ops. This patch also removes
the unused host-side API function fw_cfg_add_callback(), which
allowed the registration of a callback to be executed each time
the guest completed a full overwrite of a given fw_cfg data item.

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
include/hw/nvram/fw_cfg.h
trace-events