diff options
author | Peter Maydell | 2013-04-05 17:17:58 +0200 |
---|---|---|
committer | Peter Maydell | 2013-04-05 17:17:58 +0200 |
commit | e8945b4f2a65fc2872cc31a5141e136fd27d0af8 (patch) | |
tree | efc46eda19c73f683759969d90193c58e307bf52 /hw/pl050.c | |
parent | hw/arm/nseries: don't print to stdout or stderr (diff) | |
download | qemu-e8945b4f2a65fc2872cc31a5141e136fd27d0af8.tar.gz qemu-e8945b4f2a65fc2872cc31a5141e136fd27d0af8.tar.xz qemu-e8945b4f2a65fc2872cc31a5141e136fd27d0af8.zip |
pl050: Don't send always-constant is_mouse field
The is_mouse field of the pl050 state structure is constant (it tracks
whether this is a 'pl050_keyboard' or 'pl050_mouse'), so there's
no need to include it in the VMState structure.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1363628480-29306-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/pl050.c')
-rw-r--r-- | hw/pl050.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/pl050.c b/hw/pl050.c index bc31ab6885..76735a0eda 100644 --- a/hw/pl050.c +++ b/hw/pl050.c @@ -24,14 +24,13 @@ typedef struct { static const VMStateDescription vmstate_pl050 = { .name = "pl050", - .version_id = 1, - .minimum_version_id = 1, + .version_id = 2, + .minimum_version_id = 2, .fields = (VMStateField[]) { VMSTATE_UINT32(cr, pl050_state), VMSTATE_UINT32(clk, pl050_state), VMSTATE_UINT32(last, pl050_state), VMSTATE_INT32(pending, pl050_state), - VMSTATE_INT32(is_mouse, pl050_state), VMSTATE_END_OF_LIST() } }; |