1. 01 3月, 2012 2 次提交
    • A
      Merge remote-tracking branch 'kwolf/for-anthony' into staging · 7c51c1aa
      Anthony Liguori 提交于
      * kwolf/for-anthony: (27 commits)
        qemu-img: fix segment fault when the image format is qed
        qemu-io: fix segment fault when the image format is qed
        qemu-tool: revert cpu_get_clock() abort(3)
        qemu-iotests: Test rebase with short backing file
        qemu-iotests: 026: Reduce output changes for cache=none qcow2
        qemu-iotests: Filter out DOS line endings
        test: add image streaming tests
        qemu-iotests: add iotests Python module
        qemu-iotests: export TEST_DIR for non-bash tests
        QMP: Add qmp command for blockdev-group-snapshot-sync
        qapi: Introduce blockdev-group-snapshot-sync command
        qcow2: Reject too large header extensions
        qcow2: Fix offset in qcow2_read_extensions
        block: drop aio_multiwrite in BlockDriver
        block: remove unused fields in BlockDriverState
        qcow2: Fix build with DEBUG_EXT enabled
        ide: fail I/O to empty disk
        fdc: DIR (Digital Input Register) should return status of current drive...
        fdc: fix seek command, which shouldn't check tracks
        fdc: check if media rate is correct before doing any transfer
        ...
      7c51c1aa
    • A
      Merge remote-tracking branch 'spice/spice.v49' into staging · f06d0f07
      Anthony Liguori 提交于
      * spice/spice.v49:
        qxl: properly handle upright and non-shared surfaces
        Error out when tls-channel option is used without TLS
        spice: use error_report to report errors
        qxl: add optinal 64bit vram bar
        qxl: make qxl_render_update async
        qxl: introduce QXLCookie
        qxl: remove flipped
        qxl: require spice >= 0.8.2
        qxl: drop qxl_spice_update_area_async definition
        sdl: remove NULL check, g_malloc0 can't fail
        qxl: fix spice+sdl no cursor regression
      f06d0f07
  2. 29 2月, 2012 32 次提交
  3. 28 2月, 2012 1 次提交
  4. 27 2月, 2012 5 次提交
    • J
      usb: Resolve warnings about unassigned bus on usb device creation · 3741715c
      Jan Kiszka 提交于
      When creating an USB device the old way, there is no way to specify the
      target bus. Thus the warning issued by usb_create makes no sense and
      rather confuses our users.
      
      Resolve this by passing a bus reference to the usbdevice_init handler
      and letting those handlers forward it to usb_create.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      3741715c
    • D
      slirp: Fix assertion failure on rejected DHCP requests · 90d7416a
      David Gibson 提交于
      The guest network stack might DHCPREQUEST an address that the slirp built
      in dhcp server can't let it have - for example if the guest has an old
      leases file from another network configuration.  In this case the dhcp
      server should and does reject the request and prepares to send a DHCPNAK
      to the client.
      
      However, in this case the daddr variable in bootp_reply() is set to
      0.0.0.0.  Shortly afterwards, it unconditionally attempts to pre-insert the
      new client address into the ARP table.  This causes an assertion failure in
      arp_address_add() because of the 0.0.0.0 address.
      
      According to RFC2131, DHCPNAK messages for clients on the same subnet
      must be sent to the broadcast address (S3.2, subpoint 2).
      
      Cc: Jan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      90d7416a
    • J
      slirp: Refactor if_start · b87ffa16
      Jan Kiszka 提交于
      Replace gotos with a while loop, fix coding style.
      
      CC: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
      CC: Fabien Chouteau <chouteau@adacore.com>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      b87ffa16
    • J
      slirp: Fix requeuing of batchq packets in if_start · b248ede2
      Jan Kiszka 提交于
      In case we requeued a packet that was the head of a longer session
      queue, we failed to restore this ordering. Also, we did not properly
      deal with changes to Slirp::next_m.
      
      Instead of a cumbersome roll back, this fix simply avoids any changes
      until we know if the packet was actually sent. Both fixes crashes due
      to inconsistent queues and simplifies the logic.
      
      Thanks to Zhi Yong Wu who found the reason for these crashes.
      
      CC: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
      CC: Fabien Chouteau <chouteau@adacore.com>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      b248ede2
    • J
      slirp: Clean up ifs_init · 79e7e937
      Jan Kiszka 提交于
      Remove duplicate ifs_init macros, reimplement the logic as static inline
      in mbuf.h.
      
      CC: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
      CC: Michael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      79e7e937