vmstate: remove const for put operations
commit84e2e3eb5f20248ce85d11b8b751e2bd01d8fd95
authorJuan Quintela <quintela@redhat.com>
Tue, 29 Sep 2009 20:48:20 +0000 (29 22:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:36 +0000 (5 09:32 -0500)
tree3273be0631e4876e9703ff020560fc8072c4ea81
parent50af324697cb91d3e7a820e2b94ee0237c0103e2
vmstate: remove const for put operations

In a later patch, we introduce pre_save() and post_save() functions.
The whole point of that operation is to change things in the state.
Without this patch, we have to remove the const qualifier in each
use with a cast

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/hw.h
hw/pci.c
hw/ptimer.c
savevm.c