1. 14 8月, 2012 30 次提交
  2. 13 8月, 2012 2 次提交
  3. 12 8月, 2012 3 次提交
    • A
      Merge remote-tracking branch 'stefanha/trivial-patches' into staging · 346fe0c4
      Anthony Liguori 提交于
      * stefanha/trivial-patches:
        target-arm: Fix typos in comments
        arm: translate: comment typo - s/middel/middle/
        vl.c: Exit QEMU early if no machine is found
      346fe0c4
    • A
      Merge remote-tracking branch 'kwolf/for-anthony' into staging · 53810bab
      Anthony Liguori 提交于
      * kwolf/for-anthony:
        qemu-iotests: skip 039 with ./check -nocache
        block: add BLOCK_O_CHECK for qemu-img check
        qcow2: mark image clean after repair succeeds
        qed: mark image clean after repair succeeds
        blockdev: flip default cache mode from writethrough to writeback
        virtio-blk: disable write cache if not negotiated
        virtio-blk: support VIRTIO_BLK_F_CONFIG_WCE
        qemu-iotests: Save some sed processes
        ahci: Fix sglist memleak in ahci_dma_rw_buf()
        ahci: Fix ahci cdrom read corruptions for reads > 128k
        virtio-blk: fix use-after-free while handling scsi commands
      53810bab
    • A
      Merge remote-tracking branch 'bonzini/scsi-next' into staging · 31294261
      Anthony Liguori 提交于
      * bonzini/scsi-next:
        scsi-disk: add support for the UNMAP command
        scsi-disk: improve out-of-range LBA detection for WRITE SAME
        scsi-disk: more assertions and resets for aiocb
        virtio-scsi: do not compare 32-bit QEMU tags against 64-bit virtio-scsi tags
        iscsi: Pick default initiator-name based on the name of the VM
        iscsi: reorganize code for parse_initiator_name
        iscsi: do not leak initiator_name
      31294261
  4. 11 8月, 2012 5 次提交
    • B
      configure: fix double check tests with Clang · c075a723
      Blue Swirl 提交于
      Configuring with Clang compiler with -Werror would not work after
      improved checks:
      /tmp/qemu-conf--25992-.c:4:32: error: self-comparison always evaluates
      to true [-Werror,-Wtautological-compare]
      int main(void) { return preadv == preadv; }
      /tmp/qemu-conf--25992-.c:13:26: error: self-comparison always
      evaluates to true [-Werror,-Wtautological-compare]
          return epoll_create1 == epoll_create1;
      /tmp/qemu-conf--25992-.c:3:13: error: explicitly assigning a variable
      of type 'char **' to itself [-Werror,-Wself-assign]
          environ = environ;
      
      Avoid the errors by adjusting the tests.
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c075a723
    • P
      configure: Check for -Werror causing failures when compiling tests · 8dc38a78
      Peter Maydell 提交于
      Add support for checking whether test case code can compile without
      warnings, by recompiling each successful test with -Werror. If the
      -Werror version doesn't pass, we bail out. This gives us the same
      level of visibility of warnings in test code as --enable-werror
      provides for the main compile.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      8dc38a78
    • I
      exec.c: fix dirty bitmap reallocation · 5fda043f
      Igor Mitsyanko 提交于
      For each newly created RAM block, dirty bitmap is reallocated with g_realloc, which doesn't
      make any promises on initial content of new extra data in returned buffer. In theory,
      we initialize this new data with cpu_physical_memory_set_dirty_range() call. The
      problem is, cpu_physical_memory_set_dirty_range() has a side effect of incrementing
      ram_list.dirty_pages variable, but only for pages which are not already dirty. And
      page "cleanliness" is determined using the same not yet uninitialized dirty bitmap
      we've just reallocated. This results in inconsistency between real dirty page number
      and value in ram_list.dirty_pages variable, which in turn could (and will) result
      in errors during VM migration.
      Zero initialize new dirty bitmap bytes to fix this problem.
      Signed-off-by: NIgor Mitsyanko <i.mitsyanko@samsung.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      5fda043f
    • S
      Makefile: add qapi.py dependencies · 0521d375
      Stefan Hajnoczi 提交于
      Commit 427a1a2c ("qapi: avoid reserved
      keywords") modifies qapi.py, which is used by qapi-types.py and other
      Python scripts.  Because Makefile has no dependencies for qapi.py the
      qapi code generator will not be rerun and the following build error is
      produced:
      
        net/slirp.c: In function ‘net_init_slirp’:
        net/slirp.c:721:50: error: ‘NetdevUserOptions’ has no member named ‘q_restrict’
      
      Fix this issue by adding the missing qapi.py dependencies.
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      0521d375
    • G
      unicore32-softmmu: Add a minimal curses screen support · ff5928d0
      Guan Xuetao 提交于
      This patch adds a minimal curses screen support for unicore32-softmmu.
      We assume 80*30 screen size to minimize the implementation.
      Two problems are not solved, but they are innocuous.
      1. curses windows will be blank when switching to monitor screen and back
      2. backspace is not handled yet
      
      v1->v2: add extra handler for '\r'
      Signed-off-by: NZhang Mengchi <zhangmengchi@mprc.pku.edu.cn>
      Signed-off-by: NGuan Xuetao <gxt@mprc.pku.edu.cn>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      ff5928d0