All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/58] VMState: Port several non-pc devices
@ 2011-02-24 17:56 Juan Quintela
  2011-02-24 17:56 ` [Qemu-devel] [PATCH 01/58] vmstate: add VMSTATE_UINT32_EQUAL Juan Quintela
                   ` (58 more replies)
  0 siblings, 59 replies; 70+ messages in thread
From: Juan Quintela @ 2011-02-24 17:56 UTC (permalink / raw)
  To: qemu-devel

Hi

This series are split in three parts:
- All VMState changes/fixes are together at the beggining (patches 1-9)
- Devices whose port is trivial: (patches 10-40)
- Devices whose port needs some change in types, or introduce a new struct
  to include all the device state: rest of patches.

There are three warnings and one error for checpatch.  The Last one is
a bug on checpatch, as there is no need to put spaces there (and
putting params makes the preprecessor choke).

And the other three, we can use worse arguments names or having longer
than 80 chars macro definitions.

I think that all are ok.

#31: FILE: hw/hw.h:442:
+#define VMSTATE_VARRAY_UINT32(_field, _state, _field_num, _version, _info, _type) {\

WARNING: line over 80 characters
#23: FILE: hw/hw.h:512:
+#define VMSTATE_STRUCT_VARRAY_INT32(_field, _state, _field_num, _version, _vmsd, _type) { \

#22: FILE: hw/hw.h:522:
+#define VMSTATE_STRUCT_VARRAY_UINT32(_field, _state, _field_num, _version, _vmsd, _type) { \

#41: FILE: hw/hw.h:755:
+    VMSTATE_POINTER_TEST(_f, _s, _test, vmstate_info_timer, QEMUTimer *)
                                                                       ^


None of the patches should be difficult to review/accept.

Please review.  Anthony, apply the VMState ones the early possible, as it
makes easier to work on other devices.

Later, Juan.

Juan Quintela (58):
  vmstate: add VMSTATE_UINT32_EQUAL
  vmstate: Fix varrays with uint8 indexes
  vmstate: add UINT32 VARRAYS
  vmstate: add VMSTATE_STRUCT_VARRAY_INT32
  vmstate: add VMSTATE_INT64_ARRAY
  vmstate: add VMSTATE_STRUCT_VARRAY_UINT32
  vmstate: Add a way to send a partial array
  vmstate: be able to store/save a pci device from a pointer
  vmstate: move timers to use test instead of version
  vmstate: port adb_kbd
  vmstate: port adb_mouse
  vmstate: port ads7846
  vmstate: port m48t59
  vmstate: port mipsnet
  vmstate: port arm sp804
  vmstate: port arm_timer
  vmstate: port sysborg_timer
  vmstate: port pmtimer
  vmstate: port syborg_rtc
  vmstate: port pxa2xx_pic
  vmstate: port pxa2xx_keypad
  vmstate: port pl011
  vmstate: port armv7m nvic
  vmstate: port stellaris i2c
  vmstate: port stellaris ssi bus
  vmstate: port stellaris sys
  vmstate: port pl022 ssp
  vmstate: port heathrow_pic
  vmstate: port cuda
  vmstate: port stellaris gptm
  vmstate: port pxa2xx_i2s
  vmstate: port pxa2xx_cm
  vmstate: port pxa2xx_mm
  vmstate: port pxa2xx_pm
  vmstate: port pxa2xx_rtc
  vmstate: port ppce500_pci
  vmstate: port ppc4xx_pci
  vmstate: port syborg_pointer
  vmstate: port stellaris_adc
  vmstate: port syborg_serial
  vmstate: port syborg_keyboard
  vmstate: port stellaris gamepad
  vmstate: stellaris use unused for placeholder entries
  pxa2xx_dma: make req array static
  vmstate: port pxa2xx_dma
  pxa2xx_lcd: name anonymous struct
  pxa2xx_lcd: up field is used as a bool and migrated as an uint8_t
  vmstate: port pxa2xx_lcdc
  max111x: input field is only used as uint8_t
  vmstate: port max111x
  nand: pin values are uint8_t
  vmstate: port nand
  mac_nvram: size is a size, no need to be a target dependent type
  vmstate: port mac_nvram
  piix4: create PIIX4State
  vmstate: port piix4
  mac_dbdma: create DBDMAState instead of passing one array around
  vmstate: port mac_dbdma

 hw/adb.c             |   83 +++++---------
 hw/ads7846.c         |   41 +++----
 hw/arm_timer.c       |   66 ++++-------
 hw/armv7m_nvic.c     |   39 ++----
 hw/cuda.c            |  116 +++++++-----------
 hw/flash.h           |    4 +-
 hw/heathrow_pic.c    |   62 ++++------
 hw/hw.h              |   94 +++++++++++++--
 hw/m48t59.c          |   36 ++----
 hw/mac_dbdma.c       |   83 +++++++------
 hw/mac_nvram.c       |   32 ++---
 hw/max111x.c         |   51 +++-----
 hw/mipsnet.c         |   53 +++------
 hw/nand.c            |   79 +++++++------
 hw/piix4.c           |   44 ++++----
 hw/pl011.c           |   76 ++++--------
 hw/pl022.c           |   84 ++++++--------
 hw/ppc4xx_pci.c      |   80 ++++++-------
 hw/ppce500_pci.c     |   87 ++++++--------
 hw/ptimer.c          |   59 +++-------
 hw/pxa2xx.c          |  243 +++++++++++++++-----------------------
 hw/pxa2xx_dma.c      |   97 ++++++---------
 hw/pxa2xx_keypad.c   |   53 +++------
 hw/pxa2xx_lcd.c      |  138 +++++++++-------------
 hw/pxa2xx_pic.c      |   52 +++-----
 hw/stellaris.c       |  323 +++++++++++++++++---------------------------------
 hw/stellaris_input.c |   50 ++++----
 hw/syborg_keyboard.c |   57 +++------
 hw/syborg_pointer.c  |   73 +++++-------
 hw/syborg_rtc.c      |   34 ++----
 hw/syborg_serial.c   |   60 +++-------
 hw/syborg_timer.c    |   46 +++-----
 qemu-timer.h         |    2 -
 savevm.c             |   25 ++++
 34 files changed, 1048 insertions(+), 1474 deletions(-)

-- 
1.7.4

^ permalink raw reply	[flat|nested] 70+ messages in thread

end of thread, other threads:[~2011-03-10  4:44 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24 17:56 [Qemu-devel] [PATCH 00/58] VMState: Port several non-pc devices Juan Quintela
2011-02-24 17:56 ` [Qemu-devel] [PATCH 01/58] vmstate: add VMSTATE_UINT32_EQUAL Juan Quintela
2011-02-24 17:56 ` [Qemu-devel] [PATCH 02/58] vmstate: Fix varrays with uint8 indexes Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 03/58] vmstate: add UINT32 VARRAYS Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 04/58] vmstate: add VMSTATE_STRUCT_VARRAY_INT32 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 05/58] vmstate: add VMSTATE_INT64_ARRAY Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 06/58] vmstate: add VMSTATE_STRUCT_VARRAY_UINT32 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 07/58] vmstate: Add a way to send a partial array Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 08/58] vmstate: be able to store/save a pci device from a pointer Juan Quintela
2011-02-25  2:47   ` Isaku Yamahata
2011-02-24 17:57 ` [Qemu-devel] [PATCH 09/58] vmstate: move timers to use test instead of version Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 10/58] vmstate: port adb_kbd Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 11/58] vmstate: port adb_mouse Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 12/58] vmstate: port ads7846 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 13/58] vmstate: port m48t59 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 14/58] vmstate: port mipsnet Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 15/58] vmstate: port arm sp804 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 16/58] vmstate: port arm_timer Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 17/58] vmstate: port sysborg_timer Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 18/58] vmstate: port pmtimer Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 19/58] vmstate: port syborg_rtc Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 20/58] vmstate: port pxa2xx_pic Juan Quintela
2011-03-03 14:24   ` andrzej zaborowski
2011-03-09 11:42     ` [Qemu-devel] " Juan Quintela
2011-03-10  4:44       ` andrzej zaborowski
2011-02-24 17:57 ` [Qemu-devel] [PATCH 21/58] vmstate: port pxa2xx_keypad Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 22/58] vmstate: port pl011 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 23/58] vmstate: port armv7m nvic Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 24/58] vmstate: port stellaris i2c Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 25/58] vmstate: port stellaris ssi bus Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 26/58] vmstate: port stellaris sys Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 27/58] vmstate: port pl022 ssp Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 28/58] vmstate: port heathrow_pic Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 29/58] vmstate: port cuda Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 30/58] vmstate: port stellaris gptm Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 31/58] vmstate: port pxa2xx_i2s Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 32/58] vmstate: port pxa2xx_cm Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 33/58] vmstate: port pxa2xx_mm Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 34/58] vmstate: port pxa2xx_pm Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 35/58] vmstate: port pxa2xx_rtc Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 36/58] vmstate: port ppce500_pci Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 37/58] vmstate: port ppc4xx_pci Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 38/58] vmstate: port syborg_pointer Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 39/58] vmstate: port stellaris_adc Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 40/58] vmstate: port syborg_serial Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 41/58] vmstate: port syborg_keyboard Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 42/58] vmstate: port stellaris gamepad Juan Quintela
2011-02-26 10:56   ` Blue Swirl
2011-02-26 14:12     ` [Qemu-devel] " Juan Quintela
2011-02-26 16:32       ` Blue Swirl
2011-02-24 17:57 ` [Qemu-devel] [PATCH 43/58] vmstate: stellaris use unused for placeholder entries Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 44/58] pxa2xx_dma: make req array static Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 45/58] vmstate: port pxa2xx_dma Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 46/58] pxa2xx_lcd: name anonymous struct Juan Quintela
2011-02-26 10:06   ` Blue Swirl
2011-02-24 17:57 ` [Qemu-devel] [PATCH 47/58] pxa2xx_lcd: up field is used as a bool and migrated as an uint8_t Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 48/58] vmstate: port pxa2xx_lcdc Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 49/58] max111x: input field is only used as uint8_t Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 50/58] vmstate: port max111x Juan Quintela
2011-02-26 10:16   ` Blue Swirl
2011-02-24 17:57 ` [Qemu-devel] [PATCH 51/58] nand: pin values are uint8_t Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 52/58] vmstate: port nand Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 53/58] mac_nvram: size is a size, no need to be a target dependent type Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 54/58] vmstate: port mac_nvram Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 55/58] piix4: create PIIX4State Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 56/58] vmstate: port piix4 Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 57/58] mac_dbdma: create DBDMAState instead of passing one array around Juan Quintela
2011-02-24 17:57 ` [Qemu-devel] [PATCH 58/58] vmstate: port mac_dbdma Juan Quintela
2011-02-26  9:45   ` Blue Swirl
2011-02-26 11:10 ` [Qemu-devel] [PATCH 00/58] VMState: Port several non-pc devices Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.