blueswir1 85df0de4cf Allow to register a callback with fw_cfg_add_callback()
fw_cfg_add_callback() checks if key has FW_CFG_WRITE_CHANNEL bit set
after masking the key with FW_CFG_ENTRY_MASK.

But as FW_CFG_ENTRY_MASK is ~(FW_CFG_WRITE_CHANNEL | FW_CFG_ARCH_LOCAL),
the bit is never set and function exits.

This patch corrects this by checking the bit before masking the value.

Signed-by-off: Laurent Vivier <Laurent.Vivier@bull.net>
Acked-by: Gleb Natapov <gleb@redhat.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5978 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-11 17:30:50 +00:00
2008-12-03 22:48:44 +00:00
2008-12-07 18:15:23 +00:00
2008-12-07 23:26:24 +00:00
2008-12-11 17:29:00 +00:00
2008-12-10 19:18:40 +00:00
2008-10-04 03:27:44 +00:00
2008-12-07 16:04:13 +00:00
2008-10-12 21:19:57 +00:00
2007-11-10 17:38:00 +00:00
2007-11-11 02:51:17 +00:00
2007-11-11 02:51:17 +00:00
2007-11-11 02:51:17 +00:00
2007-11-11 02:51:17 +00:00
2008-12-05 17:56:40 +00:00
2008-11-06 09:38:51 +00:00
2008-06-08 01:55:07 +00:00
2008-10-12 17:54:42 +00:00
2008-12-11 00:14:30 +00:00
2008-11-29 13:33:23 +00:00
2008-12-04 20:08:06 +00:00
2008-10-27 19:49:12 +00:00
2008-11-17 14:43:54 +00:00
2008-08-21 17:58:08 +00:00
2008-12-07 18:15:54 +00:00
2008-12-07 18:15:45 +00:00
2008-12-09 20:09:57 +00:00
2008-12-07 23:26:32 +00:00
2008-11-17 14:43:54 +00:00
2008-11-12 17:18:41 +00:00
2008-04-12 20:14:54 +00:00
2008-04-12 20:14:54 +00:00
2008-05-31 16:21:33 +00:00
2008-10-02 18:26:42 +00:00
2008-12-09 20:09:57 +00:00
2008-12-09 20:09:57 +00:00
2008-02-01 10:50:11 +00:00
2008-11-30 16:25:37 +00:00
2007-11-17 17:14:51 +00:00
2008-08-25 22:26:03 +00:00
2008-12-10 19:18:40 +00:00
2008-11-30 16:25:05 +00:00
2007-11-17 17:14:51 +00:00
2008-11-11 21:33:36 +00:00
2008-10-02 18:26:42 +00:00
2008-08-21 20:08:55 +00:00
2008-10-26 19:13:20 +00:00
2007-10-06 11:28:21 +00:00
2008-12-04 19:52:44 +00:00
2008-11-06 09:38:51 +00:00
2008-02-04 14:47:49 +00:00
2008-10-05 10:51:10 +00:00
2008-10-05 10:51:10 +00:00
2008-12-04 11:29:42 +00:00
2008-11-25 16:49:33 +00:00
2008-01-06 17:10:54 +00:00
2008-09-06 16:31:30 +00:00
2008-12-10 19:18:40 +00:00
2008-10-02 18:26:42 +00:00
2008-12-03 22:48:44 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%