1. 06 6月, 2014 4 次提交
    • M
      cg3: add extra check to prevent CG3 register array overflow · 366d4f7e
      Mark Cave-Ayland 提交于
      The case statements in the CG3 read and write register routines have a maximum
      value of CG3_REG_SIZE, so if a value were written to this offset then it
      would overflow the register array.
      
      Currently this cannot be exploited since the MemoryRegion restricts accesses
      to the range 0 ... CG3_REG_SIZE - 1, but it seems worth clarifying this for
      future review and/or static analysis.
      Signed-off-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      366d4f7e
    • M
      cg3: move initialisation from realizefn to initfn · e09c49f4
      Mark Cave-Ayland 提交于
      Initialisation cleanup as suggested by Andreas.
      Signed-off-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      CC: Andreas Färber <afaerber@suse.de>
      e09c49f4
    • P
      Merge remote-tracking branch 'remotes/kvm/uq/master' into staging · 9f0355b5
      Peter Maydell 提交于
      * remotes/kvm/uq/master:
        kvm: Fix eax for cpuid leaf 0x40000000
        kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculation
        kvm: Enable -cpu option to hide KVM
        kvm: Ensure negative return value on kvm_init() error handling path
        target-i386: set CC_OP to CC_OP_EFLAGS in cpu_load_eflags
        target-i386: get CPL from SS.DPL
        target-i386: rework CPL checks during task switch, preparing for next patch
        target-i386: fix segment flags for SMM and VM86 mode
        target-i386: Fix vm86 mode regression introduced in fd460606.
        kvm_stat: allow choosing between tracepoints and old stats
        kvmclock: Ensure time in migration never goes backward
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9f0355b5
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-10' into staging · d4f005db
      Peter Maydell 提交于
      updates for docs/multiseat.txt
      input: add support for kbd delays
      
      # gpg: Signature made Wed 04 Jun 2014 08:22:39 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-input-10:
        docs/multiseat.txt: add note about spice
        docs/multiseat.txt: gtk joined the party
        docs/multiseat.txt: use autoseat
        input/vnc: use kbd delays in press_key
        input/curses: add kbd delay between keydown and keyup events
        input: use kbd delays for send_key monitor command
        input: add support for kbd delays
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d4f005db
  2. 04 6月, 2014 10 次提交
  3. 03 6月, 2014 3 次提交
    • P
      Merge remote-tracking branch 'remotes/awilliam/tags/vfio-pci-for-qemu-20140602.0' into staging · e00fcfea
      Peter Maydell 提交于
      VFIO patches: realtek NIC quirk + SPAPR IOMMU AddressSpace support
      
      # gpg: Signature made Mon 02 Jun 2014 22:44:42 BST using RSA key ID 3BB08B22
      # gpg: Can't check signature: public key not found
      
      * remotes/awilliam/tags/vfio-pci-for-qemu-20140602.0:
        vfio: Add guest side IOMMU support
        vfio: Create VFIOAddressSpace objects as needed
        vfio: Introduce VFIO address spaces
        vfio: Rework to have error paths
        vfio: Fix 128 bit handling
        int128: Add int128_exts64()
        memory: Sanity check that no listeners remain on a destroyed AddressSpace
        vfio-pci: Quirk RTL8168 NIC
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e00fcfea
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-roms-3' into staging · 278073ba
      Peter Maydell 提交于
      seabios: update to 1.7.5 final
      
      # gpg: Signature made Mon 02 Jun 2014 15:49:59 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-roms-3:
        seabios: update to 1.7.5 final
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      278073ba
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-8' into staging · 82ea61c6
      Peter Maydell 提交于
      qtest: improve ehci/uhci test
      usb: misc fixes, mostly for usb3/xhci
      
      # gpg: Signature made Mon 02 Jun 2014 15:40:34 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-usb-8:
        xhci: order superspeed ports first
        xhci: make port reset trace point more verbose
        usb: add usb_pick_speed
        usb-host: add HAVE_STREAMS define
        usb-host: allow attaching usb3 devices to ehci
        usb: improve ehci/uhci test
        usb: move ehci register defines to header file
        usb: add uhci port status reserved bit
        usb: move uhci register defines to header file
        qtest: fix qpci_config_writel
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      82ea61c6
  4. 02 6月, 2014 23 次提交