1. 31 10月, 2012 35 次提交
  2. 30 10月, 2012 5 次提交
    • A
      Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf · 38c47183
      Aurelien Jarno 提交于
      * 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
        s390: sclp ascii console support
        s390: sclp signal quiesce support
        s390: sclp event support
        s390: sclp base support
        s390: use sync regs for register transfer
        s390/kvm_stat: correct sys_perf_event_open syscall number
        s390x: fix -initrd in virtio machine
      38c47183
    • A
      tcg/mips: use MUL instead of MULT on MIPS32 and above · 3585317f
      Aurelien Jarno 提交于
      MIPS32 and later instruction sets have a multiplication instruction
      directly operating on GPRs. It only produces a 32-bit result but
      it is exactly what is needed by QEMU.
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      3585317f
    • A
      memory: fix rendering of a region obscured by another · d26a8cae
      Avi Kivity 提交于
      The memory core drops regions that are hidden by another region (for example,
      during BAR sizing), but it doesn't do so correctly if the lower address of the
      existing range is below the lower address of the new range.
      
      Example (qemu-system-mips -M malta -kernel vmlinux-2.6.32-5-4kc-malta
               -append "console=ttyS0"  -nographic -vga cirrus):
      
      Existing range: 10000000-107fffff
      New range:      100a0000-100bffff
      
      Correct behaviour: drop new range
      Incorrect behaviour: add new range
      
      Fix by taking this case into account (previously we only considered
      equal lower boundaries).
      Tested-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d26a8cae
    • A
      Merge remote-tracking branch 'mst/tags/for_anthony' into staging · 233926fa
      Anthony Liguori 提交于
      virtio,pci infrastructure
      
      This includes infrastructure patches that don't do much by themselves
      but should help vfio and q35 make progress.
      Also included is rework of virtio-net to use iovec APIs
      for vector access - helpful to make it more secure
      and in preparation for a new feature that will allow
      arbitrary s/g layout for guests.
      Also included is a pci bridge bugfix by Avi.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      * mst/tags/for_anthony: (25 commits)
        pci: avoid destroying bridge address space windows in a transaction
        virtio-net: enable mrg buf header in tap on linux
        virtio-net: test peer header support at init time
        virtio-net: minor code simplification
        virtio-net: simplify rx code
        virtio-net: switch tx to safe iov functions
        virtio-net: first s/g is always at start of buf
        virtio-net: refactor receive_hdr
        virtio-net: use safe iov operations for rx
        virtio-net: avoid sg copy
        iov: add iov_cpy
        virtio-net: track host/guest header length
        pcie: Convert PCIExpressHost to use the QOM.
        pcie: pass pcie window size to pcie_host_mmcfg_update()
        pci: Add class 0xc05 as 'SMBus'
        pci: introduce pci_swizzle_map_irq_fn() for standardized interrupt pin swizzle
        pci_ids: add intel 82801BA pci-to-pci bridge id
        pci: pci capability must be in PCI space
        pci: make each capability DWORD aligned
        qemu: enable PV EOI for qemu 1.3
        ...
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      233926fa
    • H
      s390: sclp ascii console support · 130c57c0
      Heinz Graalfs 提交于
      This code adds console support  by implementing SCLP's ASCII Console
      Data event. This is the same console as LPARs ASCII console or z/VMs
      sysascii.
      
      The console can be specified manually with something like
      -chardev stdio,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0
      
      Newer kernels will autodetect that console and prefer that over virtio
      console.
      
      When data is received from the character layer it creates a service
      interrupt to trigger a Read Event Data command from the guest that will
      pick up the received character byte-stream.
      When characters are echo'ed by the linux guest a Write Event Data occurs
      which is forwarded by the Event Facility to the console that supports
      a corresponding mask value.
      Console resizing is not supported.
      The character layer byte-stream is buffered using a fixed size iov
      buffer.
      Signed-off-by: NHeinz Graalfs <graalfs@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NJens Freimann <jfrei@linux.vnet.ibm.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      130c57c0