1. 25 2月, 2016 3 次提交
  2. 23 2月, 2016 4 次提交
    • V
      move get_current_ram_size to virtio-balloon.c · 39de9984
      Vladimir Sementsov-Ogievskiy 提交于
      get_current_ram_size() is used only in virtio-balloon.c
      This patch moves it into virtio-balloon and make it static, to allow
      some balloon-specific tuning.
      Signed-off-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      39de9984
    • M
      vhost-user: don't merge regions with different fds · ffe42cc1
      Michael S. Tsirkin 提交于
      vhost currently merges regions with contiguious virtual and physical
      addresses.  This breaks for vhost-user since that also needs fds to
      match.
      
      Add a vhost_ops entry to compare the fds for vhost-user only.
      
      Cc: qemu-stable@nongnu.org
      Cc: Victor Kaplansky <victork@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      ffe42cc1
    • M
      bios-linker-loader: document+validate input · b54ca0c3
      Michael S. Tsirkin 提交于
      While guest/host ABI is documented in hw/acpi/bios-linker-loader.c,
      the API was left undocumented.
      
      This adds documentation for all API functions.
      
      Additionally, input is validated to make sure all
      pointers fall within range of provided files.
      
      To allow this validation for checksum commands,
      bios_linker_loader_add_checksum is changed to accept GArray * in place
      of void *.
      Reported-by: NIgor Mammedov <imammedo@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      b54ca0c3
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 8eb779e4
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Mon 22 Feb 2016 15:59:25 GMT using RSA key ID C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      
      * remotes/kevin/tags/for-upstream: (34 commits)
        qemu-iotests: 140: make description slightly more verbose
        qemu-iotests: 140: don't use IDE device
        qemu-iotests: 067: ignore QMP events
        blockdev: unset inappropriate flags when changing medium
        MAINTAINERS: Add myself as maintainer of the throttling code
        docs: Document the throttling infrastructure
        qapi: Correct the name of the iops_rd parameter
        qemu-iotests: Extend iotest 093 to test bursts
        throttle: Test throttle_compute_wait() during bursts
        throttle: Check that burst_level leaks correctly
        qapi: Add burst length fields to BlockDeviceInfo
        qapi: Add burst length parameters to block_set_io_throttle
        throttle: Add command-line settings to define the burst periods
        throttle: Add support for burst periods
        throttle: Use throttle_config_init() to initialize ThrottleConfig
        throttle: Merge all functions that check the configuration into one
        throttle: Set always an average value when setting a maximum value
        throttle: Make throttle_is_valid() set errp
        throttle: Make throttle_max_is_missing_limit() set errp
        throttle: Make throttle_conflicting() set errp
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8eb779e4
  3. 22 2月, 2016 33 次提交