1. 14 7月, 2012 12 次提交
  2. 12 7月, 2012 15 次提交
  3. 11 7月, 2012 3 次提交
  4. 10 7月, 2012 4 次提交
    • A
      megasas: disable due to build breakage · 92336855
      Anthony Liguori 提交于
      The Buildbot has detected a new failure on builder default_i386_rhel61 while
      building qemu.
      
      Full details are available at:
       http://buildbot.b1-systems.de/qemu/builders/default_i386_rhel61/builds/304
      
      The proper fix is non-trivial so let's disable the build by default until it's
      fixed properly.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      92336855
    • A
      Merge remote-tracking branch 'mjt/mjt-iov2' into staging · 23797df3
      Anthony Liguori 提交于
      * mjt/mjt-iov2:
        rewrite iov_send_recv() and move it to iov.c
        cleanup qemu_co_sendv(), qemu_co_recvv() and friends
        export iov_send_recv() and use it in iov_send() and iov_recv()
        rename qemu_sendv to iov_send, change proto and move declarations to iov.h
        change qemu_iovec_to_buf() to match other to,from_buf functions
        consolidate qemu_iovec_copy() and qemu_iovec_concat() and make them consistent
        allow qemu_iovec_from_buffer() to specify offset from which to start copying
        consolidate qemu_iovec_memset{,_skip}() into single function and use existing iov_memset()
        rewrite iov_* functions
        change iov_* function prototypes to be more appropriate
        virtio-serial-bus: use correct lengths in control_out() message
      
      Conflicts:
      	tests/Makefile
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      23797df3
    • A
      Merge remote-tracking branch 'quintela/migration-anthony-v2' into staging · 3f6e9a5f
      Anthony Liguori 提交于
      * quintela/migration-anthony-v2:
        Maintain the number of dirty pages
        dirty bitmap: abstract its use
        Exit loop if we have been there too long
        Only calculate expected_time for stage 2
        Only TCG needs TLB handling
        No need to iterate if we already are over the limit
        Add tracepoints for savevm section start/end
        Add spent time for migration
        Add migration_end function
        Add debugging infrastructure
        Add save_block_hdr function
        Add MigrationParams structure
        Add missing check for host_from_stream_offset return value for RAM_SAVE_FLAG_PAGE
      3f6e9a5f
    • A
      Merge remote-tracking branch 'kiszka/queues/slirp' into staging · 537cf409
      Anthony Liguori 提交于
      * kiszka/queues/slirp:
        slirp: Improve error reporting of inaccessible smb directories
        slirp: Ensure smbd and shared directory exist when enable smb
        slirp: add 'cmd:' target for guestfwd
        slirp: Enforce host-side user of smb share
      537cf409
  5. 09 7月, 2012 6 次提交
    • J
      slirp: Improve error reporting of inaccessible smb directories · 22a61f36
      Jan Kiszka 提交于
      Instead of guessing, print the error code returned by access.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      22a61f36
    • D
      slirp: Ensure smbd and shared directory exist when enable smb · 927d811b
      Dunrong Huang 提交于
      Users may pass the following parameters to qemu:
          $ qemu-kvm -net nic -net user,smb= ...
          $ qemu-kvm -net nic -net user,smb ...
          $ qemu-kvm -net nic -net user,smb=bad_directory ...
      
      In these cases, qemu started successfully while samba server
      failed to start. Users will confuse since samba server
      failed silently without any indication of what it did wrong.
      
      To avoid it, we check whether the shared directory exist and
      if users have permission to access this directory when QEMU's
      "built-in" SMB server is enabled.
      Signed-off-by: NDunrong Huang <riegamaths@gmail.com>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      927d811b
    • A
      slirp: add 'cmd:' target for guestfwd · b412eb61
      Alexander Graf 提交于
      When using guestfwd=, Qemu only connects the virtual server's TCP port
      to a single chardev. This is useless in most cases, as we usually want
      to have more than a single connection from the guest to the outside world.
      
      This patch adds a new cmd: target to guestfwd= that allows for execution
      of a command on every TCP connection. This leverages the same code as
      the -smb parameter, just that here the command is user defined.
      Reported-by: NSascha Wilde <wilde@intevation.de>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      b412eb61
    • J
      slirp: Enforce host-side user of smb share · 1cb1c5d1
      Jan Kiszka 提交于
      Windows 7 (and possibly other versions) cannot connect to the samba
      share if the exported host directory is not world-readable. This can be
      resolved by forcing the username used for access checks to the one
      under which QEMU and smbd are running.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      1cb1c5d1
    • A
      Merge remote-tracking branch 'kwolf/for-anthony' into staging · 715cc00c
      Anthony Liguori 提交于
      * kwolf/for-anthony: (24 commits)
        block: Factor bdrv_read_unthrottled() out of guess_disk_lchs()
        qtest: Tidy up temporary files properly
        fdc: Drop broken code for user-defined floppy geometry
        fdc_test: introduce test_sense_interrupt
        fdc_test: update media_change test
        fdc: fix interrupt handling
        fdc: rewrite seek and DSKCHG bit handling
        block: introduce bdrv_swap, implement bdrv_append on top of it
        block: copy over job and dirty bitmap fields in bdrv_append
        raw: hook into blkdebug
        blkdebug: optionally tie errors to a specific sector
        blkdebug: store list of active rules
        blkdebug: pass getlength to underlying file
        blkdebug: tiny cleanup
        blkdebug: remove sync i/o events
        sheepdog: traverse pending_list from the first for each time
        sheepdog: split outstanding list into inflight and pending
        sheepdog: make sure we don't free aiocb before sending all requests
        sheepdog: use coroutine based socket functions in coroutine context
        sheepdog: restart I/O when socket becomes ready in do_co_req()
        ...
      715cc00c
    • M
      block: Factor bdrv_read_unthrottled() out of guess_disk_lchs() · 07d27a44
      Markus Armbruster 提交于
      To prepare move of guess_disk_lchs() into hw/, where it poking
      BlockDriverState member io_limits_enabled directly would be unclean.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      07d27a44