Permalink
Switch branches/tags
Commits on Apr 22, 2013
  1. i8259: Convert PICCommonState to use QOM realizefn

    Instead of having the parent provide PICCommonClass::init,
    let the children override DeviceClass::realize themselves.
    This pushes the responsibility of saving and calling the parent's
    realizefn to the children.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    committed Nov 25, 2012
  2. kvm/i8259: QOM'ify some more

    Introduce type constant.
    
    Prepares for PIC realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  3. i8259: QOM'ify some more

    Introduce type constant.
    
    Prepares for PIC realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  4. i8254: Convert PITCommonState to QOM realizefn

    Instead of having the parent provide PITCommonClass::init,
    let the children override DeviceClass::realize themselves.
    This pushes the responsibility for saving and calling the parent's
    realizefn to the children.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    committed Nov 25, 2012
  5. kvm/i8254: QOM'ify some more

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for PIT realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  6. i8254: QOM'ify

    Introduce type constant and avoid DO_UPCAST().
    
    Prepares for PIT realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  7. isa: Use realizefn for ISADevice

    Drop ISADeviceClass::init and the resulting no-op initfn and let
    children implement their own realizefn. Adapt error handling.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  8. wdt_ib700: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  9. vmport: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    Prepares for ISA realizefn.
    
    Drop reserved underscore from struct name while at it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  10. vmmouse: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST() and
    container_of(). Prepares for ISA realizefn.
    
    Remove reserved underscore from struct name while at it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  11. vga-isa: QOM'ify ISA VGA

    Introduce type constant and cast macro to obsolete DO_UPCAST() and
    container_of(). Prepares for ISA realizefn.
    
    Unify function naming scheme while at it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  12. sga: QOM'ify

    Introduce type constant and cast macro.
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  13. serial: QOM'ify ISA serial

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  14. sb16: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  15. pcspk: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  16. pckbd: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  17. pc: QOM'ify port 92

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  18. parallel: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  19. ne2000-isa: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  20. mc146818rtc: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  21. m48t59: QOM'ify ISA M48T59 NVRAM

    Introduce type constant and cast macro to obsolete DO_UPCAST() and
    container_of().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  22. ide: QOM'ify ISA IDE

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    Add missing braces.
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  23. i8259: QOM cleanups

    Eliminate DO_UPCAST() for PICCommonState. Prepares for ISA realizefn.
    
    Also give the i8259_common type registration functions unique names
    while at it.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  24. i82374: QOM'ify

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  25. fdc: QOM'ify ISA floppy controller

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    Reuse type constant for PC machine compatibility settings.
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Markus Armbruster <armbru@redhat.com>
    committed Nov 25, 2012
  26. cirrus_vga: QOM'ify ISA Cirrus VGA

    Introduce type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  27. applesmc: QOM'ify

    Add a typedef for the state struct and rename from Status to State.
    Add type constant and cast macro to obsolete DO_UPCAST().
    
    Prepares for ISA realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    committed Nov 25, 2012
  28. Merge remote-tracking branch 'kwolf/for-anthony' into staging

    # By Kevin Wolf (16) and Stefan Hajnoczi (4)
    # Via Kevin Wolf
    * kwolf/for-anthony:
      qemu-iotests: add 053 unaligned compressed image size test
      block: Allow overriding backing.file.filename
      block: Remove filename parameter from .bdrv_file_open()
      vvfat: Use bdrv_open options instead of filename
      sheepdog: Use bdrv_open options instead of filename
      rbd: Use bdrv_open options instead of filename
      iscsi: Use bdrv_open options instead of filename
      gluster: Use bdrv_open options instead of filename
      curl: Use bdrv_open options instead of filename
      blkverify: Use bdrv_open options instead of filename
      blkdebug: Use bdrv_open options instead of filename
      raw-win32: Use bdrv_open options instead of filename
      raw-posix: Use bdrv_open options instead of filename
      block: Enable filename option
      block: Add driver-specific options for backing files
      block: Fail gracefully when using a format driver on protocol level
      qemu-iotests: Fix _filter_qemu
      qemu-img: do not zero-pad the compressed write buffer
      qcow: allow sub-cluster compressed write to last cluster
      qcow2: allow sub-cluster compressed write to last cluster
    
    Message-id: 1366630294-18984-1-git-send-email-kwolf@redhat.com
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Apr 22, 2013
  29. Merge remote-tracking branch 'bonzini/nbd-next' into staging

    # By Stefan Hajnoczi
    # Via Paolo Bonzini
    * bonzini/nbd-next:
      nbd: set TCP_NODELAY
      nbd: use TCP_CORK in nbd_co_send_request()
      nbd: unlock mutex in nbd_co_send_request() error path
    
    Message-id: 1366381830-11267-1-git-send-email-pbonzini@redhat.com
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Apr 22, 2013
  30. Merge remote-tracking branch 'bonzini/scsi-next' into staging

    # By Paolo Bonzini (5) and others
    # Via Paolo Bonzini
    * bonzini/scsi-next:
      vhost-scsi-s390: new device supporting the tcm_vhost Linux kernel module
      vhost-scsi-ccw: new device supporting the tcm_vhost Linux kernel module
      vhost-scsi-pci: new device supporting the tcm_vhost Linux kernel module
      vhost-scsi: new device supporting the tcm_vhost Linux kernel module
      virtio: simplify Makefile conditionals
      virtio-scsi: create VirtIOSCSICommon
      vhost: Add vhost_commit callback for SeaBIOS ROM region re-mapping
      scsi: VMWare PVSCSI paravirtual device implementation
      scsi: avoid assertion failure on VERIFY command
    
    Message-id: 1366381460-6041-1-git-send-email-pbonzini@redhat.com
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Apr 22, 2013
  31. Merge remote-tracking branch 'luiz/queue/qmp' into staging

    # By Amos Kong (1) and Luiz Capitulino (1)
    # Via Luiz Capitulino
    * luiz/queue/qmp:
      virtio-balloon: fix integer overflow in BALLOON_CHANGE QMP event
      monitor: fix the wrong order of releasing keys
    
    Message-id: 1366375833-995-1-git-send-email-lcapitulino@redhat.com
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Apr 22, 2013
  32. qemu-iotests: add 053 unaligned compressed image size test

    Test that qemu-img convert -c works when input image length is not a
    multiple of the cluster size.
    
    Previously an error message would be produced:
    
      qemu-img: error while compressing sector 0: Input/output error
    
    Now that qcow2 and qcow handle this case the test passes successfully.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Stefan Hajnoczi committed with Kevin Wolf Apr 16, 2013
  33. block: Allow overriding backing.file.filename

    If a filename is passed in the driver-specific options from the command
    line, the backing file path from the image is ignored now.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Kevin Wolf committed Apr 12, 2013
  34. block: Remove filename parameter from .bdrv_file_open()

    It is unused now in all block drivers.
    
    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Kevin Wolf committed Apr 12, 2013
  35. vvfat: Use bdrv_open options instead of filename

    Signed-off-by: Kevin Wolf <kwolf@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Kevin Wolf committed Apr 12, 2013