1. 27 Jun, 2013 6 commits
  2. 25 Jun, 2013 26 commits
  3. 24 Jun, 2013 8 commits
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'stefanha/block' into staging · baf8673c
      Anthony Liguori authored
      
      
      # By Kevin Wolf (22) and Fam Zheng (1)
      # Via Stefan Hajnoczi
      * stefanha/block: (23 commits)
        vmdk: refuse to open higher version than supported
        block: Always enable discard on the protocol level
        qcow2: Batch discards
        qcow2: Options to enable discard for freed clusters
        qcow2: Add refcount update reason to all callers
        Revert "block: Disable driver-specific options for 1.5"
        ide: Clean up ide_exec_cmd()
        ide: Convert SMART commands to ide_cmd_table handler
        ide: Convert CF-ATA commands to ide_cmd_table handler
        ide: Convert ATAPI commands to ide_cmd_table handler
        ide: Convert SEEK to ide_cmd_table handler
        ide: Convert FLUSH CACHE to ide_cmd_table handler
        ide: Convert SET FEATURES to ide_cmd_table handler
        ide: Convert CHECK POWER MDOE to ide_cmd_table handler
        ide: Convert READ NATIVE MAX ADDRESS to ide_cmd_table handler
        ide: Convert DMA read/write commands to ide_cmd_table handler
        ide: Convert PIO read/write commands to ide_cmd_table handler
        ide: Convert read/write multiple commands to ide_cmd_table handler
        ide: Convert verify commands to ide_cmd_table handler
        ide: Convert cmd_nop commands to ide_cmd_table handler
        ...
      
      Message-id: 1372065035-19601-1-git-send-email-stefanha@redhat.com
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      baf8673c
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'spice/spice.v71' into staging · 9fbbf0d1
      Anthony Liguori authored
      
      
      # By Gerd Hoffmann (1) and Hans de Goede (1)
      # Via Gerd Hoffmann
      * spice/spice.v71:
        spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850)
        qxl: fix Coverity scan SIGN_EXTENSION error
      
      Message-id: 1372060666-18182-1-git-send-email-kraxel@redhat.com
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      9fbbf0d1
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'kraxel/usb.84' into staging · 89f204d2
      Anthony Liguori authored
      # By Andreas Färber (3) and others
      # Via Gerd Hoffmann
      * kraxel/usb.84:
        usb: fix serial number for hid devices
        usb: add serial bus property
        usb-host-libusb: set USB_DEV_FLAG_IS_HOST
        usb/host-libusb: Fix building with libusb git master code
        usb/hcd-ehci: Add Faraday FUSBH200 support
        usb/hcd-ehci: Replace PORTSC macros with variables
        usb/hcd-ehci: Add Tegra2 SysBus EHCI device
        usb/hcd-ehci: Split off instance_init from realize
        usb/hcd-ehci-sysbus: Convert to QOM realize
      89f204d2
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'mjt/trivial-patches' into staging · 21ca4a5b
      Anthony Liguori authored
      
      
      # By Stefan Weil (5) and others
      # Via Michael Tokarev
      * mjt/trivial-patches:
        configure: Add signed*signed check to [u]int128_t test
        Makefile: pass include directives to dtc via CPPFLAGS, not CFLAGS
        qapi: lack of two commas in dict
        sd: pass bool parameter for sd_init
        qemu-char: use bool in qemu_chr_open_socket and simplify code a bit
        vnc: use booleans for vnc_connect, vnc_listen_read and vnc_display_add_client
        block/nand: Formatting sweep
        qxl: Fix QXLRam initialisation.
        acl: acl_add can't insert before last list element, fix
        configure: Fix "ERROR: ERROR: " for missing/incompatible DTC
        audio: Replace static functions in header file by macros, remove GCC_ATTR
        libcacard: Fix cppcheck warning and remove unneeded code
        savevm: Fix potential memory leak
        kvm: Fix potential resource leak (missing fclose)
        qemu-img: Add missing GCC_FMT_ATTR
        qemu-options: trivial fix for -mon args help
        vl: reformat SDL ifdeffery a bit
      
      Message-id: 1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      21ca4a5b
    • Edgar E. Iglesias's avatar
      b52df465
    • Fam Zheng's avatar
      vmdk: refuse to open higher version than supported · 96c51eb5
      Fam Zheng authored
      
      
      Refuse to open higher version for safety.
      
      Although we try to be compatible with published VMDK spec, VMware has
      newer version from ESXi 5.1 exported OVF/OVA, which we have no knowledge
      what's changed in it. And it is very likely to have more new versions in
      the future, so it's not safe to open them blindly.
      Signed-off-by: default avatarFam Zheng <famz@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      96c51eb5
    • Kevin Wolf's avatar
      block: Always enable discard on the protocol level · 50b05b6f
      Kevin Wolf authored
      
      
      Turning on discard options in qcow2 doesn't help a lot when the discard
      requests that it issues are thrown away by the raw-posix layer. This
      patch always enables discard functionality on the protocol level so that
      it's the image format's responsibility to send (or not) discard
      requests. Requests sent by the guest will be allowed or ignored by the
      top level BlockDriverState, which depends on the discard=... option like
      before.
      
      In particular, this means that even without specifying options, the
      qcow2 default of discarding deleted snapshots actually takes effect now,
      both for qemu and qemu-img.
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      50b05b6f
    • Kevin Wolf's avatar
      qcow2: Batch discards · 0b919fae
      Kevin Wolf authored
      
      
      This optimises the discard operation for freed clusters by batching
      discard requests (both snapshot deletion and bdrv_discard end up
      updating the refcounts cluster by cluster).
      
      Note that we don't discard asynchronously, but keep s->lock held. This
      is to avoid that a freed cluster is reallocated and written to while the
      discard is still in flight.
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      0b919fae