Re: [Qemu-devel] [PATCH 2/5] hw/pxa2xx_dma.c: drop VMSTATE_UINTTL usage

2012-02-22 Thread Juan Quintela
Peter Maydell wrote: > On 22 February 2012 13:47, Juan Quintela wrote: >> Igor Mitsyanko wrote: >>> Convert variables descr, src and dest from type target_phys_addr_t >>> to uint32_t, >>> use VMSTATE_UINT32 instead of VMSTATE_UINTTL for these variables. >>> We can do it safely because: >>> 1) px

Re: [Qemu-devel] [PATCH 2/5] hw/pxa2xx_dma.c: drop VMSTATE_UINTTL usage

2012-02-22 Thread Peter Maydell
On 22 February 2012 13:47, Juan Quintela wrote: > Igor Mitsyanko wrote: >> Convert variables descr, src and dest from type target_phys_addr_t to >> uint32_t, >> use VMSTATE_UINT32 instead of VMSTATE_UINTTL for these variables. >> We can do it safely because: >> 1) pxa2xx has 32-bit physical addr

Re: [Qemu-devel] [PATCH 2/5] hw/pxa2xx_dma.c: drop VMSTATE_UINTTL usage

2012-02-22 Thread Juan Quintela
Igor Mitsyanko wrote: > Convert variables descr, src and dest from type target_phys_addr_t to > uint32_t, > use VMSTATE_UINT32 instead of VMSTATE_UINTTL for these variables. > We can do it safely because: > 1) pxa2xx has 32-bit physical address; > 2) rest of the code in this file treats these var

Re: [Qemu-devel] [PATCH 2/5] hw/pxa2xx_dma.c: drop VMSTATE_UINTTL usage

2012-02-22 Thread Peter Maydell
On 22 February 2012 10:15, Igor Mitsyanko wrote: > Convert variables descr, src and dest from type target_phys_addr_t to > uint32_t, > use VMSTATE_UINT32 instead of VMSTATE_UINTTL for these variables. > We can do it safely because: > 1) pxa2xx has 32-bit physical address; > 2) rest of the code in