qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 6783ec: hw: Avoid use of QOM type name macros


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 6783ec: hw: Avoid use of QOM type name macros in VMStateDe...
Date: Tue, 23 Jul 2013 10:00:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 6783ecf144c80f526c844cade3bf5593fba9e446
      
https://github.com/qemu/qemu/commit/6783ecf144c80f526c844cade3bf5593fba9e446
  Author: Peter Maydell <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/i2c/exynos4210_i2c.c
    M hw/scsi/vmw_pvscsi.c
    M hw/timer/imx_epit.c
    M hw/timer/imx_gpt.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/dev-smartcard-reader.c

  Log Message:
  -----------
  hw: Avoid use of QOM type name macros in VMStateDescriptions

The name field in a VMStateDescription is part of the migration state
versioning, so changing it will break migration.  It's therefore a
bad idea to use a QOM typename macro to initialize it, because in
general we're free to rename QOM types as part of code refactoring
and cleanup.  For the handful of devices that were doing this by
mistake, replace the QOM typenames with the corresponding literal
strings.

Signed-off-by: Peter Maydell <address@hidden>
[AF: Use TYPE_PVSCSI for TypeInfo instead]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 567a3c9e7f98f698d1aeb73e32ca614086b63837
      
https://github.com/qemu/qemu/commit/567a3c9e7f98f698d1aeb73e32ca614086b63837
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/net/e1000.c

  Log Message:
  -----------
  net/e1000: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: b08340d52b51ab57ba525043dbc83e67ecfcaa23
      
https://github.com/qemu/qemu/commit/b08340d52b51ab57ba525043dbc83e67ecfcaa23
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/net/e1000.c

  Log Message:
  -----------
  net/e1000: QOM parent field cleanup

Replace direct uses of E1000State::dev field with QOM casts and rename
it to parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 39257515888a3fbaa7061c4c2aeeadfe1b9c3c15
      
https://github.com/qemu/qemu/commit/39257515888a3fbaa7061c4c2aeeadfe1b9c3c15
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/net/rtl8139.c

  Log Message:
  -----------
  net/rtl8139: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 88a411a8a09102b89ea52fe2511265edd3393cf2
      
https://github.com/qemu/qemu/commit/88a411a8a09102b89ea52fe2511265edd3393cf2
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/net/rtl8139.c

  Log Message:
  -----------
  net/rtl8139: QOM parent field cleanup

Replace direct uses of RTL8139State::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1f8c79468594cc059eac7a26d37fba48107cb2e4
      
https://github.com/qemu/qemu/commit/1f8c79468594cc059eac7a26d37fba48107cb2e4
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/net/pcnet-pci.c

  Log Message:
  -----------
  net/pcnet-pci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Renamed parent field, renamed from PC_NET to PCNET]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 37034575d23a06447e4f44ab365afec6b198c53f
      
https://github.com/qemu/qemu/commit/37034575d23a06447e4f44ab365afec6b198c53f
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  usb/hcd-xhci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Dropped usb_xhci_init() DeviceState argument and renamed variable]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 9b7d3334d062e8c9e4f1b0ad3df35abb08cd8bf0
      
https://github.com/qemu/qemu/commit/9b7d3334d062e8c9e4f1b0ad3df35abb08cd8bf0
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  usb/hcd-xhci: QOM parent field cleanup

Replace direct uses of XHCIState::pci_dev with QOM casts and rename it
to parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 71186c867caab48d093fe2c8ae7d8f23d59b0aed
      
https://github.com/qemu/qemu/commit/71186c867caab48d093fe2c8ae7d8f23d59b0aed
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/lsi53c895a.c

  Log Message:
  -----------
  scsi/lsi53c895a: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 725eec7043bd010856899461817ccd2599a09362
      
https://github.com/qemu/qemu/commit/725eec7043bd010856899461817ccd2599a09362
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/lsi53c895a.c

  Log Message:
  -----------
  scsi/lsi53c895a: QOM parent field cleanup

Replace direct uses of LSIState::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c79e16ae044d265674ef43dfdd694c8fd0f49e19
      
https://github.com/qemu/qemu/commit/c79e16ae044d265674ef43dfdd694c8fd0f49e19
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  scsi/megasas: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 52190c1e0a95440e906f3bb7e7c17823f3eac8c0
      
https://github.com/qemu/qemu/commit/52190c1e0a95440e906f3bb7e7c17823f3eac8c0
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  scsi/megasas: QOM parent field cleanup

Replace direct uses of MegasasState::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3a15effe00b5bd223d5932c8d67c9525914a1526
      
https://github.com/qemu/qemu/commit/3a15effe00b5bd223d5932c8d67c9525914a1526
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/esp-pci.c

  Log Message:
  -----------
  scsi/esp-pci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4e5dcc774a4003e313b6eec823067b3980b0bc91
      
https://github.com/qemu/qemu/commit/4e5dcc774a4003e313b6eec823067b3980b0bc91
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/esp-pci.c

  Log Message:
  -----------
  scsi/esp-pci: QOM parent field cleanup

Replace direct uses of PCIESPState::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: fd58922cf4ea09c8dbd2d46dd61e50e6559bf447
      
https://github.com/qemu/qemu/commit/fd58922cf4ea09c8dbd2d46dd61e50e6559bf447
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/ide/ahci.h
    M hw/ide/ich.c

  Log Message:
  -----------
  ide/ich: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Renamed to TYPE_ICH9_AHCI and used typedef in pci_ich9_reset()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 0d3aea5603215b872b6580662d27860eecd6ca24
      
https://github.com/qemu/qemu/commit/0d3aea5603215b872b6580662d27860eecd6ca24
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/ahci.h
    M hw/ide/ich.c

  Log Message:
  -----------
  ide/ich: QOM parent field cleanup

Replace direct uses of AHCIPCIState::card with QOM casts and rename it
to parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 74e445f6492b315c18e96daa6acb4d50405a0ad9
      
https://github.com/qemu/qemu/commit/74e445f6492b315c18e96daa6acb4d50405a0ad9
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/acpi/piix4.c

  Log Message:
  -----------
  acpi/piix4: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6a6b5580bd03fc7326716ebb36b1f42ebfc0a967
      
https://github.com/qemu/qemu/commit/6a6b5580bd03fc7326716ebb36b1f42ebfc0a967
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/acpi/piix4.c

  Log Message:
  -----------
  acpi/piix4: QOM parent field cleanup

Replace direct uses of PIIX4PMState::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 40108d0a6d1e59aa5904298874753fe0cb420a64
      
https://github.com/qemu/qemu/commit/40108d0a6d1e59aa5904298874753fe0cb420a64
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/misc/pci-testdev.c

  Log Message:
  -----------
  misc/pci-testdev: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Replaced another DO_UPCAST()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6d27a4099e46132768256b686ebf522844a180b6
      
https://github.com/qemu/qemu/commit/6d27a4099e46132768256b686ebf522844a180b6
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/misc/pci-testdev.c

  Log Message:
  -----------
  misc/pci-testdev: QOM parent field cleanup

Replace direct uses of PCITestDevState::dev with QOM casts and rename it
to parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 39d4598763a01816feb828be4633ada780a63886
      
https://github.com/qemu/qemu/commit/39d4598763a01816feb828be4633ada780a63886
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/display/vmware_vga.c

  Log Message:
  -----------
  display/vmware_vga: QOM casting sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST() and
direct -> style casting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Renamed to TYPE_VMWARE_VGA and VMWARE_VGA()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: af21c7403902d5073851ea10371d0761f48e39d1
      
https://github.com/qemu/qemu/commit/af21c7403902d5073851ea10371d0761f48e39d1
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/display/vmware_vga.c

  Log Message:
  -----------
  display/vmware_vga: QOM parent field cleanup

Replace direct uses of pci_vmsvga_state_s::card with QOM casts and
rename it to parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: eb3fedf3d4b1a3ed2a31def23e972aa0c3669fff
      
https://github.com/qemu/qemu/commit/eb3fedf3d4b1a3ed2a31def23e972aa0c3669fff
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/misc/ivshmem.c

  Log Message:
  -----------
  misc/ivshmem: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Simplified casts and converted two more DO_UPCAST()s]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: b7578eaadd71fd7a9101875a32d64a52149d78e5
      
https://github.com/qemu/qemu/commit/b7578eaadd71fd7a9101875a32d64a52149d78e5
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/misc/ivshmem.c

  Log Message:
  -----------
  misc/ivshmem: QOM parent field cleanup

Replace direct uses of IVShmemState::dev with QOM casts and rename it to
parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 51a3fe996ba20eca0abfad2b783f27967d759d28
      
https://github.com/qemu/qemu/commit/51a3fe996ba20eca0abfad2b783f27967d759d28
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/xen/xen_platform.c

  Log Message:
  -----------
  xen/xen_platform: QOM casting sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <address@hidden>
[AF: Dropped opaque casts]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: dc4aa51ba8bbef7edf4a104a5a6029a76a68600e
      
https://github.com/qemu/qemu/commit/dc4aa51ba8bbef7edf4a104a5a6029a76a68600e
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/xen/xen_platform.c

  Log Message:
  -----------
  xen/xen_platform: QOM parent field cleanup

Replace direct uses of PCIXenPlatformState::pci_dev field with QOM casts
and rename it to parent_obj.

Acked-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ce7243986fe69be831ec893127282fa5a045c985
      
https://github.com/qemu/qemu/commit/ce7243986fe69be831ec893127282fa5a045c985
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M include/hw/sysbus.h

  Log Message:
  -----------
  sysbus: Document SysBusDeviceClass::init and realize semantics

Signed-off-by: Hu Tao <address@hidden>
[AF: Syntax and wording changes]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1aa0c0c748ad05cde80b4d6f2907a70bc4089883
      
https://github.com/qemu/qemu/commit/1aa0c0c748ad05cde80b4d6f2907a70bc4089883
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  ohci: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <address@hidden>
[AF: Avoid remaining OHCIPCIState::pci_dev uses, rename parent fields]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 457215ec6a3acc020d357b958eb513ef944abc93
      
https://github.com/qemu/qemu/commit/457215ec6a3acc020d357b958eb513ef944abc93
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  ohci: Use QOM realize for OHCI

Signed-off-by: Hu Tao <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2aedfa464909c887564c65fb3a51c020d71e0b78
      
https://github.com/qemu/qemu/commit/2aedfa464909c887564c65fb3a51c020d71e0b78
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/pci-host/piix.c

  Log Message:
  -----------
  i440fx: Use type-safe cast instead of direct access of parent dev

Signed-off-by: Hu Tao <address@hidden>
[AF: Converted remaining accesses and renamed to parent_obj]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a3560fbf012e19c5c9b495cc0d90f2dd4491e09f
      
https://github.com/qemu/qemu/commit/a3560fbf012e19c5c9b495cc0d90f2dd4491e09f
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/pci-host/piix.c

  Log Message:
  -----------
  i440fx-pcihost: Use QOM realize for i440fx-pcihost

Signed-off-by: Hu Tao <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ce88812f576a0d5b172f99b253bcdc1dc37f86f2
      
https://github.com/qemu/qemu/commit/ce88812f576a0d5b172f99b253bcdc1dc37f86f2
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/i386/pc_q35.c
    M hw/pci-host/q35.c
    M include/hw/pci-host/q35.h

  Log Message:
  -----------
  q35: Use type-safe cast instead of direct access of parent dev

And remove variables if possible.

Signed-off-by: Hu Tao <address@hidden>
[AF: Converted remaining access and renamed to parent_obj]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 62d92e432f586b2bb99d7824f684df4ebd412ea1
      
https://github.com/qemu/qemu/commit/62d92e432f586b2bb99d7824f684df4ebd412ea1
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/pci-host/q35.c

  Log Message:
  -----------
  q35: Use QOM realize for q35 host bridge

And split off MemoryRegion initialization into instance_init.

Signed-off-by: Hu Tao <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: dd3be7420774f7dc8f37a96ca24d07f0b6f31b3b
      
https://github.com/qemu/qemu/commit/dd3be7420774f7dc8f37a96ca24d07f0b6f31b3b
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/fdc.c

  Log Message:
  -----------
  fdc: QOM'ify some more

Introduce type constant and avoid DO_UPCAST(), container_of(),
and use DEVICE() to avoid accessing parent qdev directly.

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field and avoided repeated SYS_BUS_DEVICE() casts]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f1b44f0e4191547888ff9750988a4f3e7ca9c60e
      
https://github.com/qemu/qemu/commit/f1b44f0e4191547888ff9750988a4f3e7ca9c60e
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/pflash_cfi01.c

  Log Message:
  -----------
  pflash-cfi01: QOM'ify some more

Introduce type constant and replace FROM_SYSBUS().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3509c396d2894b4dc40a2e33d7c2f795508d7328
      
https://github.com/qemu/qemu/commit/3509c396d2894b4dc40a2e33d7c2f795508d7328
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/pflash_cfi02.c

  Log Message:
  -----------
  pflash-cfi02: QOM'ify some more

Introduce type constant and replace FROM_SYSBUS().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: b3b162c3cfb88a57390fef581c1be99648d6d8ab
      
https://github.com/qemu/qemu/commit/b3b162c3cfb88a57390fef581c1be99648d6d8ab
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/ide/ahci.c

  Log Message:
  -----------
  ahci: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2ce92a1102be22e2bb82267351834713b8c31542
      
https://github.com/qemu/qemu/commit/2ce92a1102be22e2bb82267351834713b8c31542
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/nvram/fw_cfg.c

  Log Message:
  -----------
  fwcfg: QOM'ify some more

Use type constant if possible and avoid DO_UPCAST().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a71c7ec529adcd36fed5bb570a167ae2f9771750
      
https://github.com/qemu/qemu/commit/a71c7ec529adcd36fed5bb570a167ae2f9771750
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/esp.c

  Log Message:
  -----------
  scsi/esp: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 02f9a6f5da74251e1e5685ae57643d45c3fb6c30
      
https://github.com/qemu/qemu/commit/02f9a6f5da74251e1e5685ae57643d45c3fb6c30
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/timer/hpet.c

  Log Message:
  -----------
  hpet: QOM'ify some more

Introduce type constant, avoid FROM_SYSBUS().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field and renamed variable]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 98bdc0d7ff93f2ab39c0634c744cc7f4a8ac7399
      
https://github.com/qemu/qemu/commit/98bdc0d7ff93f2ab39c0634c744cc7f4a8ac7399
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/i386/kvm/clock.c

  Log Message:
  -----------
  kvm/clock: QOM'ify some more

Introduce type constant and avoid FROM_SYSBUS().

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 940194c2369e50d91d1abf6f36d43853eea5e539
      
https://github.com/qemu/qemu/commit/940194c2369e50d91d1abf6f36d43853eea5e539
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/fdc.c

  Log Message:
  -----------
  fdc: Use QOM realize for fdc

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed SysBusDevice variable]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a3ef7a61e3706ba81e31a8092b966d6aeae5333e
      
https://github.com/qemu/qemu/commit/a3ef7a61e3706ba81e31a8092b966d6aeae5333e
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/fdc.c

  Log Message:
  -----------
  fdc: Improve error propagation for QOM realize

Rename fdctrl_init_common() to fdctrl_realize_common() and let
fdctrl_connect_drives() propagate an Error through it.

Reviewed-by: Hu Tao <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: e40b5f3e0efe49ec138ea5e3710f6dd6527e5f49
      
https://github.com/qemu/qemu/commit/e40b5f3e0efe49ec138ea5e3710f6dd6527e5f49
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/pflash_cfi01.c

  Log Message:
  -----------
  pflash_cfi01: Use QOM realize for pflash_cfi01

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed argument]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: da3bd64234dc6c77091a0fb8a2612668dbaffd37
      
https://github.com/qemu/qemu/commit/da3bd64234dc6c77091a0fb8a2612668dbaffd37
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/block/pflash_cfi02.c

  Log Message:
  -----------
  pflash_cfi02: Use QOM realize for pflash_cfi02

Signed-off-by: Hu Tao <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 7acb423fcfd8fbf75f672de70ab945a24cc31ef5
      
https://github.com/qemu/qemu/commit/7acb423fcfd8fbf75f672de70ab945a24cc31ef5
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/ide/ahci.c

  Log Message:
  -----------
  ahci: Use QOM realize for ahci

Signed-off-by: Hu Tao <address@hidden>
[AF: Avoided repeated SYS_BUS_DEVICE() casts]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 563839557c05f6f946bedebc381406b146af61f6
      
https://github.com/qemu/qemu/commit/563839557c05f6f946bedebc381406b146af61f6
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/nvram/fw_cfg.c

  Log Message:
  -----------
  fw_cfg: Use QOM realize for fw_cfg

Signed-off-by: Hu Tao <address@hidden>
[AF: Moved sysbus_init_mmio() to instance_init, renamed variable]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: b09318cac65df015b9b0990791f02b894cc57d33
      
https://github.com/qemu/qemu/commit/b09318cac65df015b9b0990791f02b894cc57d33
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/esp.c

  Log Message:
  -----------
  scsi/esp: Use QOM realize for scsi esp

Signed-off-by: Hu Tao <address@hidden>
[AF: Drop sysbus_esp_init()]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 22d6aa03fd87ba5f219d26bc1810646d0f95842a
      
https://github.com/qemu/qemu/commit/22d6aa03fd87ba5f219d26bc1810646d0f95842a
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  megasas: Legacy command line handling fix

Only apply legacy command line handling when the device has not been
hot-plugged. Propagate failure of legacy command line handling.

Cc: address@hidden
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: caad4eb345dc5119d326b8af08452cc0f90f8548
      
https://github.com/qemu/qemu/commit/caad4eb345dc5119d326b8af08452cc0f90f8548
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/pci/pci-hotplug-old.c
    M hw/scsi/esp-pci.c
    M hw/scsi/esp.c
    M hw/scsi/lsi53c895a.c
    M hw/scsi/megasas.c
    M hw/scsi/scsi-bus.c
    M hw/scsi/spapr_vscsi.c
    M hw/scsi/virtio-scsi.c
    M hw/usb/dev-storage.c
    M include/hw/scsi/scsi.h

  Log Message:
  -----------
  scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline()

Let scsi_bus_legacy_add_drive() and scsi_bus_legacy_handle_cmdline()
return an Error**. Prepare qdev initfns for QOM realize error model.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 726887ef44d5a822cd76e4fedd269b038869b698
      
https://github.com/qemu/qemu/commit/726887ef44d5a822cd76e4fedd269b038869b698
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/timer/hpet.c

  Log Message:
  -----------
  hpet: Use QOM realize for hpet

Signed-off-by: Hu Tao <address@hidden>
[AF: Avoided SYS_BUS_DEVICE() in loop]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 913bc63844395f07e317dbc1a5b38612cc75ebec
      
https://github.com/qemu/qemu/commit/913bc63844395f07e317dbc1a5b38612cc75ebec
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/i386/kvm/clock.c

  Log Message:
  -----------
  kvm/clock: Use QOM realize for kvmclock

Signed-off-by: Hu Tao <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c118d44b6a6977e4019fe1da82f5c333dbbedcfa
      
https://github.com/qemu/qemu/commit/c118d44b6a6977e4019fe1da82f5c333dbbedcfa
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/i386/kvmvapic.c

  Log Message:
  -----------
  kvmvapic: Use QOM realize

Signed-off-by: Hu Tao <address@hidden>
[AF: Renamed variable]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f5ba752371b2fc493fdef05cb7e3141161fd1fab
      
https://github.com/qemu/qemu/commit/f5ba752371b2fc493fdef05cb7e3141161fd1fab
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/intc/ioapic_common.c

  Log Message:
  -----------
  ioapic: Use QOM realize for ioapic

Signed-off-by: Hu Tao <address@hidden>
[AF: Tweaked error message]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 52785d99513e4f5d8c3d94f4362ff54aba88f33c
      
https://github.com/qemu/qemu/commit/52785d99513e4f5d8c3d94f4362ff54aba88f33c
  Author: Hu Tao <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M hw/isa/isa-bus.c

  Log Message:
  -----------
  isa-bus: Drop isabus_bridge_init() since it does nothing

This works since commit 4ce5dae88ecf2bafa0cd663de7e923728b1b3672.

Signed-off-by: Hu Tao <address@hidden>
[AF: Edited]
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 52f34623b499cb0273118b1f637c2c6ebaf5d5a1
      
https://github.com/qemu/qemu/commit/52f34623b499cb0273118b1f637c2c6ebaf5d5a1
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Change GDBState::query_cpu to CPUState

Since first_cpu/next_cpu are CPUState, CPUArchState is no longer needed.

This resolves a NULL pointer dereference of query_cpu, introduced
with commit 182735efaf956ccab50b6d74a4fed163e0f35660 and reported by
TeLeMan and Max Filippov.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 577f42c0e11a5bfb462ff3a217701cd5c4356fb4
      
https://github.com/qemu/qemu/commit/577f42c0e11a5bfb462ff3a217701cd5c4356fb4
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M include/qom/cpu.h

  Log Message:
  -----------
  cpu: Introduce vaddr type

vaddr is to target_ulong what uintmax_t is to unsigned int.

Its purpose is to allow turning per-target functions with target_ulong
arguments into CPUClass hooks.

Suggested-by: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2be8d4509896116dae7b3b9dffc0fccef480126d
      
https://github.com/qemu/qemu/commit/2be8d4509896116dae7b3b9dffc0fccef480126d
  Author: Peter Maydell <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M HACKING

  Log Message:
  -----------
  HACKING: Document vaddr type usage

Also extend documentation of target_ulong and abi_ulong.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f45748f10eda61d6262153fadf3910cb63e17ecd
      
https://github.com/qemu/qemu/commit/f45748f10eda61d6262153fadf3910cb63e17ecd
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/qom/cpu.h
    M target-alpha/cpu.c
    M target-arm/cpu.c
    M target-cris/cpu.c
    M target-i386/cpu.c
    M target-lm32/cpu.c
    M target-microblaze/cpu.c
    M target-mips/cpu.c
    M target-openrisc/cpu.c
    M target-ppc/translate_init.c
    M target-s390x/cpu.c
    M target-sh4/cpu.c
    M target-sparc/cpu.c
    M target-xtensa/cpu.c

  Log Message:
  -----------
  cpu: Introduce CPUClass::set_pc() for gdb_set_cpu_pc()

This moves setting the Program Counter from gdbstub into target code.
Use vaddr type as upper-bound replacement for target_ulong.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: e700604df024ec5028f476b133ca337c4d7ee518
      
https://github.com/qemu/qemu/commit/e700604df024ec5028f476b133ca337c4d7ee518
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M target-m68k/cpu.c

  Log Message:
  -----------
  target-m68k: Implement CPUClass::set_pc()

This adds support for GDB's c addr (Continue) and s addr (Single Step).

Prepares for dropping cpu_pc_from_tb().

Signed-off-by: Andreas Färber <address@hidden>


  Commit: a10b978c4246bf9af0e34505aba500d3e7f6c6c4
      
https://github.com/qemu/qemu/commit/a10b978c4246bf9af0e34505aba500d3e7f6c6c4
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M target-moxie/cpu.c

  Log Message:
  -----------
  target-moxie: Implement CPUClass::set_pc()

This adds support for GDB's c addr (Continue) and s addr (Single Step).

Prepares for dropping cpu_pc_from_tb().

Signed-off-by: Andreas Färber <address@hidden>


  Commit: b42eab27beaefd5c9bf9353383d6403e0628c014
      
https://github.com/qemu/qemu/commit/b42eab27beaefd5c9bf9353383d6403e0628c014
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M target-unicore32/cpu.c

  Log Message:
  -----------
  target-unicore32: Implement CPUClass::set_pc()

This adds support for GDB's c addr (Continue) and s addr (Single Step).

Prepares for dropping cpu_pc_from_tb().

Signed-off-by: Andreas Färber <address@hidden>


  Commit: bdf7ae5bbdb3f050d97862b2ba0261fa902ebc53
      
https://github.com/qemu/qemu/commit/bdf7ae5bbdb3f050d97862b2ba0261fa902ebc53
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M cpu-exec.c
    M include/qom/cpu.h
    M target-alpha/cpu.h
    M target-arm/cpu.h
    M target-cris/cpu.h
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-lm32/cpu.h
    M target-m68k/cpu.h
    M target-microblaze/cpu.h
    M target-mips/cpu.c
    M target-mips/cpu.h
    M target-moxie/cpu.h
    M target-openrisc/cpu.h
    M target-ppc/cpu.h
    M target-s390x/cpu.h
    M target-sh4/cpu.c
    M target-sh4/cpu.h
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-unicore32/cpu.h
    M target-xtensa/cpu.h

  Log Message:
  -----------
  cpu: Introduce CPUClass::synchronize_from_tb() for cpu_pc_from_tb()

Where no extra implementation is needed, fall back to CPUClass::set_pc().

Acked-by: Michael Walle <address@hidden> (for lm32)
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ca6862a67f3c03e5efe26cf45b54c6176e4db5c3
      
https://github.com/qemu/qemu/commit/ca6862a67f3c03e5efe26cf45b54c6176e4db5c3
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M target-alpha/translate.c

  Log Message:
  -----------
  target-alpha: Copy singlestep_enabled to DisasContext

Prepare for removing env from DisasContext.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 801c4c287b7d85fe8447900f78a9a6ab89d00271
      
https://github.com/qemu/qemu/commit/801c4c287b7d85fe8447900f78a9a6ab89d00271
  Author: Richard Henderson <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M target-alpha/translate.c

  Log Message:
  -----------
  target-alpha: Copy implver to DisasContext

Which allows removing env from DisasContext.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ed2803da58355413447f8c7c681a76873168114f
      
https://github.com/qemu/qemu/commit/ed2803da58355413447f8c7c681a76873168114f
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M cpu-exec.c
    M cpus.c
    M exec.c
    M include/exec/cpu-defs.h
    M include/qom/cpu.h
    M kvm-all.c
    M target-alpha/translate.c
    M target-arm/translate.c
    M target-cris/translate.c
    M target-i386/kvm.c
    M target-i386/translate.c
    M target-lm32/translate.c
    M target-m68k/translate.c
    M target-microblaze/translate.c
    M target-mips/translate.c
    M target-moxie/translate.c
    M target-openrisc/translate.c
    M target-ppc/translate.c
    M target-s390x/translate.c
    M target-sh4/translate.c
    M target-sparc/translate.c
    M target-unicore32/translate.c
    M target-xtensa/translate.c

  Log Message:
  -----------
  cpu: Move singlestep_enabled field from CPU_COMMON to CPUState

Prepares for changing cpu_single_step() argument to CPUState.

Acked-by: Michael Walle <address@hidden> (for lm32)
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5ca666c765e9e92217a87669365b212abae6f9ce
      
https://github.com/qemu/qemu/commit/5ca666c765e9e92217a87669365b212abae6f9ce
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Update gdb_handlesig() and gdb_signalled() Coding Style

In particular reindent to 4 instead of 2 spaces.

Prepares for changing cpu_single_step() argument in gdb_handlesig().

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3825b28ff128e2bd3cb0a338c21923c926b1f38b
      
https://github.com/qemu/qemu/commit/3825b28ff128e2bd3cb0a338c21923c926b1f38b
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M exec.c
    M gdbstub.c
    M include/exec/cpu-all.h
    M include/qom/cpu.h

  Log Message:
  -----------
  cpu: Change cpu_single_step() argument to CPUState

Use CPUState::env_ptr for now.

Needed for GdbState::c_cpu.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6227881415e0e0117d56aef90cf6e72f24187ec1
      
https://github.com/qemu/qemu/commit/6227881415e0e0117d56aef90cf6e72f24187ec1
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  kvm: Change kvm_{insert,remove}_breakpoint() argument to CPUState

CPUArchState is no longer directly used since converting CPU loops to
CPUState.

Prepares for changing GDBState::c_cpu to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 9e0c5422cfbed78990e2edc9d68928647829f5ac
      
https://github.com/qemu/qemu/commit/9e0c5422cfbed78990e2edc9d68928647829f5ac
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/exec/gdbstub.h
    M target-arm/arm-semi.c
    M target-m68k/m68k-semi.c

  Log Message:
  -----------
  gdbstub: Change syscall callback argument to CPUState

Callback implementations were specific to arm and m68k, so can easily
cast to ARMCPU and M68kCPU respectively.

Prepares for changing GDBState::c_cpu to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: db6b81d43693cec86d62df79dd7402fc045427ed
      
https://github.com/qemu/qemu/commit/db6b81d43693cec86d62df79dd7402fc045427ed
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M bsd-user/main.c
    M gdbstub.c
    M include/exec/gdbstub.h
    M linux-user/main.c
    M linux-user/signal.c

  Log Message:
  -----------
  gdbstub: Change gdb_handlesig() argument to CPUState

Prepares for changing GDBState::c_cpu to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 385b9f0e4d8c60037c937edd7a3735fff7570429
      
https://github.com/qemu/qemu/commit/385b9f0e4d8c60037c937edd7a3735fff7570429
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Change gdb_{read,write}_register() argument to CPUState

Use CPUState::env_ptr for now.

Prepares for changing GDBState::g_cpu to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 00b941e581b5c42645f836ef530705bb76a3e6bb
      
https://github.com/qemu/qemu/commit/00b941e581b5c42645f836ef530705bb76a3e6bb
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M exec.c
    M hw/i386/kvmvapic.c
    M hw/xtensa/xtensa_lx60.c
    M hw/xtensa/xtensa_sim.c
    M include/exec/cpu-all.h
    M include/qom/cpu.h
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/helper.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/helper.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/helper.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/helper.c
    M target-lm32/cpu-qom.h
    M target-lm32/cpu.c
    M target-lm32/helper.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/helper.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/helper.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/helper.c
    M target-moxie/cpu.c
    M target-moxie/cpu.h
    M target-moxie/helper.c
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/mmu.c
    M target-ppc/cpu-qom.h
    M target-ppc/mmu_helper.c
    M target-ppc/translate_init.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c
    M target-s390x/helper.c
    M target-sh4/cpu-qom.h
    M target-sh4/cpu.c
    M target-sh4/helper.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-sparc/mmu_helper.c
    M target-unicore32/cpu-qom.h
    M target-unicore32/cpu.c
    M target-unicore32/softmmu.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/helper.c
    M target-xtensa/xtensa-semi.c

  Log Message:
  -----------
  cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook

Change breakpoint_invalidate() argument to CPUState alongside.

Since all targets now assign a softmmu-only field, we can drop helpers
cpu_class_set_{do_unassigned_access,vmsd}() and device_class_set_vmsd().

Prepares for changing cpu_memory_rw_debug() argument to CPUState.

Acked-by: Max Filippov <address@hidden> (for xtensa)
Signed-off-by: Andreas Färber <address@hidden>


  Commit: f17ec444c3d39f76bcd8b71c2c05d5754bfe333e
      
https://github.com/qemu/qemu/commit/f17ec444c3d39f76bcd8b71c2c05d5754bfe333e
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M cpus.c
    M disas.c
    M exec.c
    M gdbstub.c
    M hw/i386/kvmvapic.c
    M include/exec/cpu-all.h
    M include/exec/softmmu-semi.h
    M monitor.c
    M target-arm/arm-semi.c
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-sparc/mmu_helper.c
    M target-xtensa/xtensa-semi.c

  Log Message:
  -----------
  exec: Change cpu_memory_rw_debug() argument to CPUState

Propagate X86CPU in kvmvapic for simplicity.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: f3659eee05793aede68b1791465fb2b0767bc1f2
      
https://github.com/qemu/qemu/commit/f3659eee05793aede68b1791465fb2b0767bc1f2
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/qom/cpu.h
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-sparc/mmu_helper.c

  Log Message:
  -----------
  cpu: Introduce CPUClass::memory_rw_debug() for target_memory_rw_debug()

Make inline target_memory_rw_debug() always available and change its
argument to CPUState. Let it check if CPUClass::memory_rw_debug provides
a specialized callback and fall back to cpu_memory_rw_debug() otherwise.

The only overriding implementation is for 32-bit sparc.

This prepares for changing GDBState::g_cpu to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2e0f2cfba6c2169c07358e473841ec211009dd3c
      
https://github.com/qemu/qemu/commit/2e0f2cfba6c2169c07358e473841ec211009dd3c
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Change GDBState::{c,g}_cpu and find_cpu() to CPUState

Use CPUState::env_ptr where still needed.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: eac8b355f0015e44addce3e92030365b16d9da61
      
https://github.com/qemu/qemu/commit/eac8b355f0015e44addce3e92030365b16d9da61
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/exec/cpu-defs.h
    M include/qom/cpu.h

  Log Message:
  -----------
  cpu: Move gdb_regs field from CPU_COMMON to CPUState

Prepares for changing gdb_register_coprocessor() argument to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 22169d415a1d1706f66a4fd50a3573d3f296b24f
      
https://github.com/qemu/qemu/commit/22169d415a1d1706f66a4fd50a3573d3f296b24f
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M gdbstub.c
    M include/exec/gdbstub.h
    M target-arm/helper.c
    M target-m68k/helper.c
    M target-ppc/translate_init.c

  Log Message:
  -----------
  gdbstub: Change gdb_register_coprocessor() argument to CPUState

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6f152e9bc80aed81ea89aa8ad345cd71326b71fb
      
https://github.com/qemu/qemu/commit/6f152e9bc80aed81ea89aa8ad345cd71326b71fb
  Author: Andreas Färber <address@hidden>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M linux-user/cpu-uname.c

  Log Message:
  -----------
  linux-user: Use X86CPU property to retrieve CPUID family

Avoids duplicating the calculation.

Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a5f56b906e0d7975b87dc3d3c5bfe5a75a4028d2
      
https://github.com/qemu/qemu/commit/a5f56b906e0d7975b87dc3d3c5bfe5a75a4028d2
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M docs/rdma.txt

  Log Message:
  -----------
  rdma: update documentation to reflect new unpin support

As requested, the protocol now includes memory unpinning support.
This has been implemented in a non-optimized manner, in such a way
that one could devise an LRU or other workload-specific information
on top of the basic mechanism to influence the way unpinning happens
during runtime.

The feature is not yet user-facing, and is thus can only be enabled
at compile-time.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: de7b685c9e1cf606e37e7116e4c4f03a6ae2d14f
      
https://github.com/qemu/qemu/commit/de7b685c9e1cf606e37e7116e4c4f03a6ae2d14f
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M savevm.c

  Log Message:
  -----------
  rdma: bugfix: ram_control_save_page()

We were not checking for a valid 'bytes_sent' pointer before accessing it.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 44c3b58cf9b2c91a38363f0b45d20f3f40b8f2b3
      
https://github.com/qemu/qemu/commit/44c3b58cf9b2c91a38363f0b45d20f3f40b8f2b3
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M arch_init.c
    M include/migration/migration.h

  Log Message:
  -----------
  rdma: introduce ram_handle_compressed()

This gives RDMA shared access to madvise() on the destination side
when an entire chunk is found to be zero.

Reviewed-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Chegu Vinod <address@hidden>
Tested-by: Chegu Vinod <address@hidden>
Tested-by: Michael R. Hines <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 2da776db4846eadcb808598a5d3484d149773c05
      
https://github.com/qemu/qemu/commit/2da776db4846eadcb808598a5d3484d149773c05
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M Makefile.objs
    M configure
    M include/migration/migration.h
    A migration-rdma.c
    M migration.c

  Log Message:
  -----------
  rdma: core logic

Code that does need to be visible is kept
well contained inside this file and this is the only
new additional file to the entire patch.

This file includes the entire protocol and interfaces
required to perform RDMA migration.

Also, the configure and Makefile modifications to link
this file are included.

Full documentation is in docs/rdma.txt

Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Chegu Vinod <address@hidden>
Tested-by: Chegu Vinod <address@hidden>
Tested-by: Michael R. Hines <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 0033b8b42a1cc2a9350619ea19e11954b12fb819
      
https://github.com/qemu/qemu/commit/0033b8b42a1cc2a9350619ea19e11954b12fb819
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M arch_init.c

  Log Message:
  -----------
  rdma: send pc.ram

This takes advantages of the previous patches:

1. use the new QEMUFileOps hook 'save_page'

2. call out to the right accessor methods to invoke
   the iteration hooks defined in QEMUFileOps

Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Chegu Vinod <address@hidden>
Tested-by: Chegu Vinod <address@hidden>
Tested-by: Michael R. Hines <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: d58f574bf39796ed2396dfd1e308352fbb03f944
      
https://github.com/qemu/qemu/commit/d58f574bf39796ed2396dfd1e308352fbb03f944
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M migration.c

  Log Message:
  -----------
  rdma: allow state transitions between other states besides ACTIVE

This patch is in preparation for the next ones: Until now the MIG_STATE_SETUP
state was not really a 'formal' state. It has been used as a 'zero' state
and QEMU has been unconditionally transitioning into this state when
the QMP migrate command was called. In preparation for timing this state,
we have to make this state a a 'real' state which actually gets transitioned
from later in the migration_thread() from SETUP => ACTIVE, rather than just
automatically dropping into this state at the beginninig of the migration.

This means that the state transition function (migration_finish_set_state())
needs to be capable of transitioning from valid states _other_ than just
MIG_STATE_ACTIVE.

The function is in fact already capable of doing that, but was not allowing the
old state to be a parameter specified as an input.

This patch fixes that and only makes the transition if the current state
matches the old state that the caller intended to transition from.

Reviewed-by: Juan Quintela <address@hidden>
Tested-by: Michael R. Hines <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 29ae8a4133082e16970c9d4be09f4b6a15034617
      
https://github.com/qemu/qemu/commit/29ae8a4133082e16970c9d4be09f4b6a15034617
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M migration.c

  Log Message:
  -----------
  rdma: introduce MIG_STATE_NONE and change MIG_STATE_SETUP state transition

As described in the previous patch, until now, the MIG_STATE_SETUP
state was not really a 'formal' state. It has been used as a 'zero' state
(what we're calling 'NONE' here) and QEMU has been unconditionally transitioning
into this state when the QMP migration command was called. Instead we want to
introduce MIG_STATE_NONE, which is our starting state in the state machine, and
then immediately transition into the MIG_STATE_SETUP state when the QMP migrate
command is issued.

In order to do this, we must delay the transition into MIG_STATE_ACTIVE until
later in the migration_thread(). This is done to be able to timestamp the 
amount of
time spent in the SETUP state for proper accounting to the user during
an RDMA migration.

Furthermore, the management software, until now, has never been aware of the
existence of the SETUP state whatsoever. This must change, because, timing of 
this
state implies that the state actually exists.

These two patches cannot be separated because the 'query_migrate' QMP
switch statement needs to know how to handle this new state transition.

Reviewed-by: Juan Quintela <address@hidden>
Tested-by: Michael R. Hines <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: ed4fbd10823a7b0dbded6b481a68973e47f7e14d
      
https://github.com/qemu/qemu/commit/ed4fbd10823a7b0dbded6b481a68973e47f7e14d
  Author: Michael R. Hines <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M hmp.c
    M include/migration/migration.h
    M migration.c
    M qapi-schema.json

  Log Message:
  -----------
  rdma: account for the time spent in MIG_STATE_SETUP through QMP

Using the previous patches, we're now able to timestamp the SETUP
state. Once we have this time, let the user know about it in the
schema.

Reviewed-by: Juan Quintela <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael R. Hines <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 444ba6797ef6ef331fe9fd34309b1ec59caaede3
      
https://github.com/qemu/qemu/commit/444ba6797ef6ef331fe9fd34309b1ec59caaede3
  Author: Orit Wasserman <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M target-i386/machine.c

  Log Message:
  -----------
  Fix real mode guest migration

Older KVM versions save CS dpl value to an invalid value for real mode guests
(0x3). This patch detect this situation when loading CPU state and set all the
segments dpl to zero.
This will allow migration from older KVM on host without unrestricted guest
to hosts with restricted guest support.
For example migration from a Penryn host (with kernel 2.6.32) to
a Westmere host (for real mode guest) will fail with "kvm: unhandled exit 
80000021".

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 3e47c249b93d5cc1e0f9404dbe243682598ba8fb
      
https://github.com/qemu/qemu/commit/3e47c249b93d5cc1e0f9404dbe243682598ba8fb
  Author: Orit Wasserman <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M target-i386/machine.c

  Log Message:
  -----------
  Fix real mode guest segments dpl value in savevm

Older KVM version put invalid value in the segments registers dpl field for
real mode guests (0x3).
This breaks migration from those hosts to hosts with unrestricted guest support.
We detect it by checking CS dpl value for real mode guest and fix the dpl values
of all the segment registers.

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 9781c3716a4b529a2af64502926a57c11e69e6ca
      
https://github.com/qemu/qemu/commit/9781c3716a4b529a2af64502926a57c11e69e6ca
  Author: Juan Quintela <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M qapi-schema.json

  Log Message:
  -----------
  migration: add autoconvergence documentation

This hunk got lost during merge.  It is documentation.

Spotted-by: Peter Lieven <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 931f0adf64261bf7eb3efaafb4430c04a6a3e6f6
      
https://github.com/qemu/qemu/commit/931f0adf64261bf7eb3efaafb4430c04a6a3e6f6
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M hw/acpi/piix4.c
    M hw/block/fdc.c
    M hw/block/pflash_cfi01.c
    M hw/block/pflash_cfi02.c
    M hw/display/vmware_vga.c
    M hw/i2c/exynos4210_i2c.c
    M hw/i386/kvm/clock.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc_q35.c
    M hw/ide/ahci.c
    M hw/ide/ahci.h
    M hw/ide/ich.c
    M hw/intc/ioapic_common.c
    M hw/isa/isa-bus.c
    M hw/misc/ivshmem.c
    M hw/misc/pci-testdev.c
    M hw/net/e1000.c
    M hw/net/pcnet-pci.c
    M hw/net/rtl8139.c
    M hw/nvram/fw_cfg.c
    M hw/pci-host/piix.c
    M hw/pci-host/q35.c
    M hw/pci/pci-hotplug-old.c
    M hw/scsi/esp-pci.c
    M hw/scsi/esp.c
    M hw/scsi/lsi53c895a.c
    M hw/scsi/megasas.c
    M hw/scsi/scsi-bus.c
    M hw/scsi/spapr_vscsi.c
    M hw/scsi/virtio-scsi.c
    M hw/scsi/vmw_pvscsi.c
    M hw/timer/hpet.c
    M hw/timer/imx_epit.c
    M hw/timer/imx_gpt.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/dev-smartcard-reader.c
    M hw/usb/dev-storage.c
    M hw/usb/hcd-ohci.c
    M hw/usb/hcd-xhci.c
    M hw/xen/xen_platform.c
    M include/hw/pci-host/q35.h
    M include/hw/scsi/scsi.h
    M include/hw/sysbus.h

  Log Message:
  -----------
  Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into 
staging

QOM device refactorings

* Avoid TYPE_* in VMStateDescription name
* Replace some DO_UPCAST()s and FROM_SYSBUS()s with QOM casts
* Limit legacy SCSI command line handling to non-hotplugged devices
* Replace some SysBusDeviceClass::init with DeviceClass::realize

# gpg: Signature made Mon 22 Jul 2013 06:31:42 PM CDT using RSA key ID 3E7E013F
# gpg: Can't check signature: public key not found

# By Hu Tao (26) and others
# Via Andreas Färber
* afaerber/tags/qom-devices-for-anthony: (55 commits)
  isa-bus: Drop isabus_bridge_init() since it does nothing
  ioapic: Use QOM realize for ioapic
  kvmvapic: Use QOM realize
  kvm/clock: Use QOM realize for kvmclock
  hpet: Use QOM realize for hpet
  scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline()
  megasas: Legacy command line handling fix
  scsi/esp: Use QOM realize for scsi esp
  fw_cfg: Use QOM realize for fw_cfg
  ahci: Use QOM realize for ahci
  pflash_cfi02: Use QOM realize for pflash_cfi02
  pflash_cfi01: Use QOM realize for pflash_cfi01
  fdc: Improve error propagation for QOM realize
  fdc: Use QOM realize for fdc
  kvm/clock: QOM'ify some more
  hpet: QOM'ify some more
  scsi/esp: QOM'ify some more
  fwcfg: QOM'ify some more
  ahci: QOM'ify some more
  pflash-cfi02: QOM'ify some more
  ...


  Commit: 3988982c82ad4173dea376fea30e5432d36146db
      
https://github.com/qemu/qemu/commit/3988982c82ad4173dea376fea30e5432d36146db
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M HACKING
    M bsd-user/main.c
    M cpu-exec.c
    M cpus.c
    M disas.c
    M exec.c
    M gdbstub.c
    M hw/i386/kvmvapic.c
    M hw/xtensa/xtensa_lx60.c
    M hw/xtensa/xtensa_sim.c
    M include/exec/cpu-all.h
    M include/exec/cpu-defs.h
    M include/exec/gdbstub.h
    M include/exec/softmmu-semi.h
    M include/qom/cpu.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M linux-user/cpu-uname.c
    M linux-user/main.c
    M linux-user/signal.c
    M monitor.c
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/cpu.h
    M target-alpha/helper.c
    M target-alpha/translate.c
    M target-arm/arm-semi.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/cpu.h
    M target-arm/helper.c
    M target-arm/translate.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/cpu.h
    M target-cris/helper.c
    M target-cris/translate.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-i386/translate.c
    M target-lm32/cpu-qom.h
    M target-lm32/cpu.c
    M target-lm32/cpu.h
    M target-lm32/helper.c
    M target-lm32/translate.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/cpu.h
    M target-m68k/helper.c
    M target-m68k/m68k-semi.c
    M target-m68k/translate.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/cpu.h
    M target-microblaze/helper.c
    M target-microblaze/translate.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/cpu.h
    M target-mips/helper.c
    M target-mips/translate.c
    M target-moxie/cpu.c
    M target-moxie/cpu.h
    M target-moxie/helper.c
    M target-moxie/translate.c
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/mmu.c
    M target-openrisc/translate.c
    M target-ppc/cpu-qom.h
    M target-ppc/cpu.h
    M target-ppc/mmu_helper.c
    M target-ppc/translate.c
    M target-ppc/translate_init.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c
    M target-s390x/cpu.h
    M target-s390x/helper.c
    M target-s390x/translate.c
    M target-sh4/cpu-qom.h
    M target-sh4/cpu.c
    M target-sh4/cpu.h
    M target-sh4/helper.c
    M target-sh4/translate.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-sparc/mmu_helper.c
    M target-sparc/translate.c
    M target-unicore32/cpu-qom.h
    M target-unicore32/cpu.c
    M target-unicore32/cpu.h
    M target-unicore32/softmmu.c
    M target-unicore32/translate.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/cpu.h
    M target-xtensa/helper.c
    M target-xtensa/translate.c
    M target-xtensa/xtensa-semi.c

  Log Message:
  -----------
  Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings

* Fix NULL pointer dereference in gdbstub
* Introduce vaddr type
* Introduce CPUClass::set_pc()
* Introduce CPUClass::synchronize_from_tb()
* Introduce CPUClass::get_phys_page_debug()
* Introduce CPUClass::memory_rw_debug()
* Move singlestep_enabled and gdb_regs fields out of CPU_COMMON
* Adopt CPUState in more APIs
* Propagate CPUState in gdbstub

# gpg: Signature made Mon 22 Jul 2013 07:50:17 PM CDT using RSA key ID 3E7E013F
# gpg: Can't check signature: public key not found

# By Andreas Färber (21) and others
# Via Andreas Färber
* afaerber/tags/qom-cpu-for-anthony: (24 commits)
  linux-user: Use X86CPU property to retrieve CPUID family
  gdbstub: Change gdb_register_coprocessor() argument to CPUState
  cpu: Move gdb_regs field from CPU_COMMON to CPUState
  gdbstub: Change GDBState::{c,g}_cpu and find_cpu() to CPUState
  cpu: Introduce CPUClass::memory_rw_debug() for target_memory_rw_debug()
  exec: Change cpu_memory_rw_debug() argument to CPUState
  cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook
  gdbstub: Change gdb_{read,write}_register() argument to CPUState
  gdbstub: Change gdb_handlesig() argument to CPUState
  gdbstub: Change syscall callback argument to CPUState
  kvm: Change kvm_{insert,remove}_breakpoint() argument to CPUState
  cpu: Change cpu_single_step() argument to CPUState
  gdbstub: Update gdb_handlesig() and gdb_signalled() Coding Style
  cpu: Move singlestep_enabled field from CPU_COMMON to CPUState
  target-alpha: Copy implver to DisasContext
  target-alpha: Copy singlestep_enabled to DisasContext
  cpu: Introduce CPUClass::synchronize_from_tb() for cpu_pc_from_tb()
  target-unicore32: Implement CPUClass::set_pc()
  target-moxie: Implement CPUClass::set_pc()
  target-m68k: Implement CPUClass::set_pc()
  ...


  Commit: f03d07d4683b2e8325a7cb60b4e14b977b1a869c
      
https://github.com/qemu/qemu/commit/f03d07d4683b2e8325a7cb60b4e14b977b1a869c
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-23 (Tue, 23 Jul 2013)

  Changed paths:
    M Makefile.objs
    M arch_init.c
    M configure
    M docs/rdma.txt
    M hmp.c
    M include/migration/migration.h
    A migration-rdma.c
    M migration.c
    M qapi-schema.json
    M savevm.c
    M target-i386/machine.c

  Log Message:
  -----------
  Merge remote-tracking branch 'quintela/migration.next' into staging

# By Michael R. Hines (8) and others
# Via Juan Quintela
* quintela/migration.next:
  migration: add autoconvergence documentation
  Fix real mode guest segments dpl value in savevm
  Fix real mode guest migration
  rdma: account for the time spent in MIG_STATE_SETUP through QMP
  rdma: introduce MIG_STATE_NONE and change MIG_STATE_SETUP state transition
  rdma: allow state transitions between other states besides ACTIVE
  rdma: send pc.ram
  rdma: core logic
  rdma: introduce ram_handle_compressed()
  rdma: bugfix: ram_control_save_page()
  rdma: update documentation to reflect new unpin support

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/3464700f6aec...f03d07d4683b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]