1. 02 10月, 2015 2 次提交
  2. 01 10月, 2015 9 次提交
  3. 30 9月, 2015 6 次提交
  4. 29 9月, 2015 10 次提交
  5. 26 9月, 2015 8 次提交
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-cocoa-20150925-1' into staging · 6996a002
      Peter Maydell 提交于
      cocoa queue:
       * fix stuck-key bug if keys were down when QEMU lost focus
       * prompt the user whether they really meant to quit
       * remove the 'open image file' dialog box we used to display
         if the user started QEMU without arguments
      
      # gpg: Signature made Fri 25 Sep 2015 23:17:19 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      
      * remotes/pmaydell/tags/pull-cocoa-20150925-1:
        ui/cocoa.m: remove open dialog code
        ui/cocoa.m: prevent stuck key situation
        ui/cocoa.m: verify with user before quitting QEMU
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6996a002
    • J
      ui/cocoa.m: remove open dialog code · 365d7f3c
      John Arbuckle 提交于
      Removes the open dialog code that runs when no arguments are supplied with QEMU.
      Not everyone needs a hard drive or cdrom to boot their target. A user might only
      need to use their target's bios to do work. With that said, this patch removes
      the unneeded open dialog code.
      Signed-off-by: NJohn Arbuckle <programmingkidx@gmail.com>
      Message-id: 33856864-321C-4367-9170-FB0BF81E789B@gmail.com
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      365d7f3c
    • J
      ui/cocoa.m: prevent stuck key situation · 3b178b71
      John Arbuckle 提交于
      When the user puts QEMU in the background while holding
      down a key, QEMU will not receive the keyup event when
      the user lets go of the key. When the user goes back to
      QEMU, QEMU will think the key is still down causing
      stuck key symptoms. This patch fixes this problem by
      releasing all down keys when QEMU goes into the
      background.
      Signed-off-by: NJohn Arbuckle <programmingkidx@gmail.com>
      Message-id: 7A3FA6EE-84C8-4422-A786-C899B7229D32@gmail.com
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3b178b71
    • J
      ui/cocoa.m: verify with user before quitting QEMU · d9bc14f6
      John Arbuckle 提交于
      This patch prevents the user from accidentally quitting QEMU by pushing
      Command-Q or by pushing the close button on the main window. When
      the user does one of these two things, a dialog box appears verifying
      with the user if he or she wants to quit QEMU.
      Signed-off-by: NJohn Arbuckle <programmingkidx@gmail.com>
      Message-id: 29169A74-0347-47F5-934F-A5AD24C225CA@gmail.com
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d9bc14f6
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 9e071429
      Peter Maydell 提交于
      * First batch of MAINTAINERS updates
      * IOAPIC fixes (to pass kvm-unit-tests with -machine kernel_irqchip=off)
      * NBD API upgrades from Daniel
      * strtosz fixes from Marc-André
      * improved support for readonly=on on scsi-generic devices
      * new "info ioapic" and "info lapic" monitor commands
      * Peter Crosthwaite's ELF_MACHINE cleanups
      * docs patches from Thomas and Daniel
      
      # gpg: Signature made Fri 25 Sep 2015 11:20:52 BST using RSA key ID 78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      
      * remotes/bonzini/tags/for-upstream: (52 commits)
        doc: Refresh URLs in the qemu-tech documentation
        docs: describe the QEMU build system structure / design
        typedef: add typedef for QemuOpts
        i386: interrupt poll processing
        i386: partial revert of interrupt poll fix
        ppc: Rename ELF_MACHINE to be PPC specific
        i386: Rename ELF_MACHINE to be x86 specific
        alpha: Remove ELF_MACHINE from cpu.h
        mips: Remove ELF_MACHINE from cpu.h
        sparc: Remove ELF_MACHINE from cpu.h
        s390: Remove ELF_MACHINE from cpu.h
        sh4: Remove ELF_MACHINE from cpu.h
        xtensa: Remove ELF_MACHINE from cpu.h
        tricore: Remove ELF_MACHINE from cpu.h
        or32: Remove ELF_MACHINE from cpu.h
        lm32: Remove ELF_MACHINE from cpu.h
        unicore: Remove ELF_MACHINE from cpu.h
        moxie: Remove ELF_MACHINE from cpu.h
        cris: Remove ELF_MACHINE from cpu.h
        m68k: Remove ELF_MACHINE from cpu.h
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9e071429
    • P
      Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20150925.0' into staging · 8bfbbb4b
      Peter Maydell 提交于
      VFIO updates 2015-09-25
      
       - Remove use of g_malloc0_n for glib2.22 compat
      
      # gpg: Signature made Fri 25 Sep 2015 17:58:04 BST using RSA key ID 3BB08B22
      # gpg: Good signature from "Alex Williamson <alex.williamson@redhat.com>"
      # gpg:                 aka "Alex Williamson <alex@shazbot.org>"
      # gpg:                 aka "Alex Williamson <alwillia@redhat.com>"
      # gpg:                 aka "Alex Williamson <alex.l.williamson@gmail.com>"
      
      * remotes/awilliam/tags/vfio-update-20150925.0:
        vfio/pci: Remove use of g_malloc0_n() from quirks
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      8bfbbb4b
    • P
      Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging · 54b37623
      Peter Maydell 提交于
      # gpg: Signature made Fri 25 Sep 2015 16:47:31 BST using RSA key ID C0DE3057
      # gpg: Good signature from "Jeffrey Cody <jcody@redhat.com>"
      # gpg:                 aka "Jeffrey Cody <jeff@codyprime.org>"
      # gpg:                 aka "Jeffrey Cody <codyprime@gmail.com>"
      
      * remotes/cody/tags/block-pull-request:
        sheepdog: refine discard support
        sheepdog: use per AIOCB dirty indexes for non overlapping requests
        Backup: don't do copy-on-read in before_write_notifier
        block: Introduce a new API bdrv_co_no_copy_on_readv()
        sheepdog: add reopen support
        block/nfs: cache allocated filesize for read-only files
        block/nfs: fix calculation of allocated file size
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      54b37623
    • P
      Merge remote-tracking branch 'remotes/vivier-misc/tags/pull-muldiv64-20150925' into staging · 690b286f
      Peter Maydell 提交于
      Remove muldiv64() by using period instead of frequency
      
      # gpg: Signature made Fri 25 Sep 2015 14:54:37 BST using RSA key ID 3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier-misc/tags/pull-muldiv64-20150925:
        net: remove muldiv64()
        bt: remove muldiv64()
        hpet: remove muldiv64()
        arm: clarify the use of muldiv64()
        openrisc: remove muldiv64()
        mips: remove muldiv64()
        pcnet: remove muldiv64()
        rtl8139: remove muldiv64()
        i6300esb: remove muldiv64()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      690b286f
  6. 25 9月, 2015 5 次提交
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · cdf98182
      Peter Maydell 提交于
      virtio,pc features, fixes
      
      New features:
          vhost-user multiqueue support
          virtio-ccw virtio 1 support
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Fri 25 Sep 2015 07:40:35 BST using RSA key ID D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      
      * remotes/mst/tags/for_upstream:
        MAINTAINERS: add more devices to the PCI section
        MAINTAINERS: add more devices to the PC section
        vhost-user: add a new message to disable/enable a specific virt queue.
        vhost-user: add multiple queue support
        vhost: introduce vhost_backend_get_vq_index method
        vhost-user: add VHOST_USER_GET_QUEUE_NUM message
        vhost: rename VHOST_RESET_OWNER to VHOST_RESET_DEVICE
        vhost-user: add protocol feature negotiation
        vhost-user: use VHOST_USER_XXX macro for switch statement
        virtio-ccw: enable virtio-1
        virtio-ccw: feature bits > 31 handling
        virtio-ccw: support ring size changes
        virtio: ring sizes vs. reset
        pc: Introduce pc-*-2.5 machine classes
        q35: Move options common to all classes to pc_i440fx_machine_options()
        q35: Move options common to all classes to pc_q35_machine_options()
        virtio-net: unbreak self announcement and guest offloads after migration
        virtio: right size for virtio_queue_get_avail_size
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      cdf98182
    • H
      sheepdog: refine discard support · e6fd57ea
      Hitoshi Mitake 提交于
      This patch refines discard support of the sheepdog driver. The
      existing discard mechanism was implemented on SD_OP_DISCARD_OBJ, which
      was introduced before fine grained reference counting on newer
      sheepdog. It doesn't care about relations of snapshots and clones and
      discards objects unconditionally.
      
      With this patch, the driver just updates an inode object for updating
      reference. Removing the object is done in sheep process side.
      
      Cc: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>
      Cc: Vasiliy Tolstov <v.tolstov@selfip.ru>
      Cc: Jeff Cody <jcody@redhat.com>
      Signed-off-by: NHitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
      Tested-by: NVasiliy Tolstov <v.tolstov@selfip.ru>
      Message-id: 1441076590-8015-3-git-send-email-mitake.hitoshi@lab.ntt.co.jp
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      e6fd57ea
    • H
      sheepdog: use per AIOCB dirty indexes for non overlapping requests · 498f2140
      Hitoshi Mitake 提交于
      In the commit 96b14ff85acf, requests for overlapping areas are
      serialized. However, it cannot handle a case of non overlapping
      requests. In such a case, min_dirty_data_idx and max_dirty_data_idx
      can be overwritten by the requests and invalid inode update can
      happen e.g. a case like create(1, 2) and create(3, 4) are issued in
      parallel.
      
      This patch lets SheepdogAIOCB have dirty data indexes instead of
      BDRVSheepdogState for avoiding the above situation.
      
      This patch also does trivial renaming for better description:
      overwrapping -> overlapping
      
      Cc: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>
      Cc: Vasiliy Tolstov <v.tolstov@selfip.ru>
      Cc: Jeff Cody <jcody@redhat.com>
      Signed-off-by: NHitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
      Tested-by: NVasiliy Tolstov <v.tolstov@selfip.ru>
      Message-id: 1441076590-8015-2-git-send-email-mitake.hitoshi@lab.ntt.co.jp
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      498f2140
    • L
      net: remove muldiv64() · ab60b748
      Laurent Vivier 提交于
      muldiv64() is used to convert nanoseconds to microseconds.
      
          x = muldiv64(qemu_clock_get_ns(..), 1000000, get_ticks_per_sec());
      
      As  get_ticks_per_sec() is 10^9, it can be replaced by:
      
          x = qemu_clock_get_us(..);
      Signed-off-by: NLaurent Vivier <lvivier@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      ab60b748
    • L
      bt: remove muldiv64() · fdfea124
      Laurent Vivier 提交于
      Originally, timers were ticks based, and it made sense to
      add ticks to current time to know when to trigger an alarm.
      
      But since commit:
      
      74475455 change all other clock references to use nanosecond resolution accessors
      
      All timers use nanoseconds and we need to convert ticks to nanoseconds.
      
      As get_ticks_per_sec() is 10^9,
      
          a = muldiv64(b, get_ticks_per_sec(), 100);
          y = muldiv64(x, get_ticks_per_sec(), 1000000);
      
      can be converted to
      
          a = b * 10000000;
          y = x * 1000;
      Signed-off-by: NLaurent Vivier <lvivier@redhat.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      fdfea124