1. 18 12月, 2013 3 次提交
  2. 17 12月, 2013 3 次提交
    • L
      qemu_opts_parse(): always check return value · f46e720a
      Laszlo Ersek 提交于
      qemu_opts_parse() can always return NULL, even if the QemuOptsList.desc in
      question would be trivial to satisfy (eg. because it's empty). For
      example:
      
      qemu_opts_parse()
        opts_parse()
          qemu_opts_create()
            id_wellformed()
      
      In practice:
      
        $ .../qemu-system-x86_64 -acpitable id=3
        qemu-system-x86_64: -acpitable id=3: Parameter 'id' expects an identifier
        **
        ERROR:vl.c:3491:main: assertion failed: (opts != NULL)
        Aborted (core dumped)
      
        $ .../qemu-system-x86_64 -smbios id=3
        qemu-system-x86_64: -smbios id=3: Parameter 'id' expects an identifier
        Segmentation fault (core dumped)
      
      I checked all qemu_opts_parse() invocations (and all drive_def()
      invocations too, because it blindly forwards the former's retval). Only
      the two above examples look problematic.
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Message-id: 1385658779-7529-1-git-send-email-lersek@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      f46e720a
    • A
      Merge remote-tracking branch 'spice/tags/pull-spice-1' into staging · b91f9324
      Anthony Liguori 提交于
      Collection of little cleanups anf bugfixes.
      nbd patches in preparation of spice-nbd.
      
      # gpg: Signature made Mon 16 Dec 2013 01:27:45 AM PST using RSA key ID D3E87138
      # gpg: Can't check signature: public key not found
      
      # By Marc-André Lureau (12) and Gerd Hoffmann (4)
      # Via Gerd Hoffmann
      * spice/tags/pull-spice-1:
        spice: stop server for qxl hard reset
        spice: move spice_server_vm_{start,stop} calls into qemu_spice_display_*()
        spice: move qemu_spice_display_*() from spice-graphics to spice-core
        nbd: avoid uninitialized warnings
        nbd: finish any pending coroutine
        nbd: make nbd_client_session_close() idempotent
        nbd: pass export name as init argument
        nbd: don't change socket block during negotiate
        Split nbd block client code
        spice-char: implement chardev port event
        char: add qemu_chr_fe_event()
        include: add missing config-host.h include
        qmp_change_blockdev() remove unused has_format
        spice-char: remove unused field
        vscclient: do not add a socket watch if there is not data to send
        spice: flip streaming video mode to off by default
      b91f9324
    • A
      Merge remote-tracking branch 'kwolf/tags/for-anthony' into staging · 80d6f5ea
      Anthony Liguori 提交于
      Block patches
      
      # gpg: Signature made Fri 13 Dec 2013 09:47:03 AM PST using RSA key ID C88F2FD6
      # gpg: Can't check signature: public key not found
      
      # By Peter Lieven (2) and others
      # Via Kevin Wolf
      * kwolf/tags/for-anthony:
        blkdebug: Use QLIST_FOREACH_SAFE to resume IO
        qemu-img: make progress output more accurate during convert
        block: expect get_block_status errors in bdrv_make_zero
        block/vvfat: Fix compiler warnings for OpenBSD
        qapi-schema.json: Change 1.8 reference to 2.0
        sheepdog: check if '-o redundancy' is passed from user
      
      Message-id: 1386956943-19474-1-git-send-email-kwolf@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      80d6f5ea
  3. 16 12月, 2013 16 次提交
  4. 14 12月, 2013 4 次提交
    • A
      Merge remote-tracking branch 'bonzini/virtio' into staging · e157b8fd
      Anthony Liguori 提交于
      # By Andreas Färber (18) and Paolo Bonzini (12)
      # Via Paolo Bonzini
      * bonzini/virtio: (30 commits)
        virtio: Convert exit to unrealize
        virtio: Complete converting VirtioDevice to QOM realize
        virtio-scsi: Convert to QOM realize
        virtio-rng: Convert to QOM realize
        virtio-balloon: Convert to QOM realize
        virtio-net: Convert to QOM realize
        virtio-serial: Convert to QOM realize
        virtio-blk: Convert to QOM realize
        virtio-9p: Convert to QOM realize
        virtio: Start converting VirtioDevice to QOM realize
        virtio-scsi: QOM realize preparations
        virtio-rng: QOM realize preparations
        virtio-balloon: QOM realize preparations
        virtio-net: QOM realize preparations
        virtio-serial: QOM realize preparations
        virtio-blk: QOM realize preparations
        virtio-9p: QOM realize preparations
        virtio-blk-dataplane: Improve error reporting
        virtio-pci: add device_unplugged callback
        virtio-rng: switch exit callback to VirtioDeviceClass
        ...
      e157b8fd
    • A
      Merge remote-tracking branch 'mst/tags/for_anthony' into staging · 5d0e2280
      Anthony Liguori 提交于
      acpi.pci,pc,memory core fixes
      
      Most notably this includes changes to exec to support
      full 64 bit addresses.
      
      This also flushes out patches that got queued during 1.7 freeze.
      There are new tests, and a bunch of bug fixes all over the place.
      There are also some changes mostly useful for downstreams.
      
      I'm also listing myself as pc co-maintainer. I'm doing this reluctantly,
      but this seems to be necessary to make sure patches are not lost or delayed too
      much, and posting the MAINTAINERS patch did not seem to make anyone else
      volunteer.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Wed 11 Dec 2013 10:21:51 AM PST using RSA key ID D28D5469
      # gpg: Can't check signature: public key not found
      
      # By Michael S. Tsirkin (14) and others
      # Via Michael S. Tsirkin
      * mst/tags/for_anthony: (28 commits)
        pc: use macro for HPET type
        hpet: fix build with CONFIG_HPET off
        acpi unit-test: adjust the test data structure for better handling
        acpi unit-test: load and check facs table
        exec: separate sections and nodes per address space
        memory.c: bugfix - ref counting mismatch in memory_region_find
        hpet: enable to entitle more irq pins for hpet
        hpet: inverse polarity when pin above ISA_NUM_IRQS
        pci: fix pci bridge fw path
        ACPI DSDT: Make control method `IQCR` serialized
        acpi: strip compiler info in built-in DSDT
        acpi unit-test: verify signature and checksum
        smbios: Set system manufacturer, product & version by default
        exec: reduce L2_PAGE_SIZE
        exec: make address spaces 64-bit wide
        exec: memory radix tree page level compression
        exec: pass hw address to phys_page_find
        exec: extend skip field to 6 bit, page entry to 32 bit
        exec: replace leaf with skip
        split definitions for exec.c and translate-all.c radix trees
        ...
      
      Message-id: cover.1386786228.git.mst@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      5d0e2280
    • A
      Merge remote-tracking branch 'bonzini/scsi-next' into staging · bf6e3cc4
      Anthony Liguori 提交于
      # By Paolo Bonzini (4) and Peter Lieven (1)
      # Via Paolo Bonzini
      * bonzini/scsi-next:
        help: add id suboption to -iscsi
        scsi-disk: fix WRITE SAME with large non-zero payload
        block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}
        scsi-disk: fix VERIFY emulation
        scsi-bus: fix transfer length and direction for VERIFY command
      
      Message-id: 1386594157-17535-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@amazon.com>
      bf6e3cc4
    • F
      blkdebug: Use QLIST_FOREACH_SAFE to resume IO · c547e564
      Fam Zheng 提交于
      Qemu-iotest 030 was broken.
      
      When the coroutine runs and finishes, it will remove itself from the req
      list, so let's use safe version of foreach to avoid use after free.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      c547e564
  5. 13 12月, 2013 6 次提交
  6. 12 12月, 2013 8 次提交