1. 24 9月, 2013 10 次提交
    • L
      linux-user: Add setsockopt(SO_ATTACH_FILTER) · f57d4192
      Laurent Vivier 提交于
      This is needed to be able to run dhclient.
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      f57d4192
    • L
      linux-user: convert /proc/net/route when endianess differs · de6b9933
      Laurent Vivier 提交于
      This patch allows to have IP addresses in correct order
      in the case of "netstat -nr" when the endianess of the
      guest differs from one of the host.
      
      For instance, an m68k guest on an x86_64 host:
      
      WITHOUT this patch:
      
      $ netstat -nr
      Kernel IP routing table
      Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
      0.0.0.0         1.3.0.10        0.0.0.0         UG        0 0          0 eth0
      0.3.0.10        0.0.0.0         0.255.255.255   U         0 0          0 eth0
      $ cat /proc/net/route
      Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask	MTU	Window	IRTT
      
      eth0	00000000	0103000A	0003	0	0	0	000000000	0	0
      eth0	0003000A	00000000	0001	0	0	0	00FFFFFF0	0	0
      
      WITH this patch:
      
      $ netstat -nr
      Kernel IP routing table
      Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
      0.0.0.0         10.0.3.1        0.0.0.0         UG        0 0          0 eth0
      10.0.3.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
      $ cat /proc/net/route
      Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask	MTU	Window	IRTT
      eth0	00000000	0a000301	0003	0	0	0	000000000	0	0
      eth0	0a000300	00000000	0001	0	0	0	ffffff000	0	0
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      de6b9933
    • R
      mips-linux-user: Adjust names in mips_syscall_args · 868e34d7
      Richard Henderson 提交于
      The name field of MIPS_SYS isn't actually used; it's just documentation.
      But adjust the umount entries to match mips/syscall_nr.h anyway.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      868e34d7
    • R
      alpha-linux-user: Fix umount syscall numbers · 8070e7be
      Richard Henderson 提交于
      It has been pointed out on LKML that the alpha umount syscall numbers
      are named wrong, and a patch to rectify that has been posted for 3.11.
      
      Glibc works around this by treating NR_umount as NR_umount2 if
      NR_oldumount exists.  That's more complicated than we need in QEMU,
      given that we control linux-user/*/syscall_nr.h.
      
      This is the last instance of TARGET_NR_oldumount, so delete that from
      the strace.list.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      8070e7be
    • A
      Merge remote-tracking branch 'stefanha/tracing' into staging · f828a4c8
      Anthony Liguori 提交于
      # By Alexey Kardashevskiy
      # Via Stefan Hajnoczi
      * stefanha/tracing:
        kvm: fix traces to use %x instead of %d
      
      Message-id: 1379699931-5837-1-git-send-email-stefanha@redhat.com
      f828a4c8
    • A
      Merge remote-tracking branch 'stefanha/net' into staging · feb678c6
      Anthony Liguori 提交于
      # By Aurelien Jarno (1) and Vincenzo Maffione (1)
      # Via Stefan Hajnoczi
      * stefanha/net:
        e1000: NetClientInfo.receive_iov implemented
        pcnet-pci: mark I/O and MMIO as LITTLE_ENDIAN
      
      Message-id: 1379699613-5338-1-git-send-email-stefanha@redhat.com
      feb678c6
    • A
      Merge remote-tracking branch 'stefanha/block' into staging · 16121fa3
      Anthony Liguori 提交于
      # By Stefan Hajnoczi (4) and others
      # Via Stefan Hajnoczi
      * stefanha/block:
        virtio-blk: do not relay a previous driver's WCE configuration to the current
        blockdev: do not default cache.no-flush to true
        block: don't lose data from last incomplete sector
        qcow2: Correct snapshots size for overlap check
        coroutine: fix /perf/nesting coroutine benchmark
        coroutine: add qemu_coroutine_yield benchmark
        qemu-timer: do not take the lock in timer_pending
        qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe
        qemu-timer: drop outdated signal safety comments
        osdep: warn if open(O_DIRECT) on fails with EINVAL
        libcacard: link against qemu-error.o for error_report()
      
      Message-id: 1379698931-946-1-git-send-email-stefanha@redhat.com
      16121fa3
    • A
      Merge remote-tracking branch 'mjt/trivial-patches' into staging · 2e6ae666
      Anthony Liguori 提交于
      # By Stefan Weil (8) and others
      # Via Michael Tokarev
      * mjt/trivial-patches:
        tests/.gitignore: ignore test-throttle
        exec: Fix broken build for MinGW (regression)
        kvm: Fix compiler warning (clang)
        tcg-sparc: Fix parenthesis warning
        Makefile: Remove some more files when cleaning
        target-i386: Fix segment cache dump
        iov: avoid "orig_len may be used unitialized" warning
        vscclient: remove unnecessary use of uninitialized variable
        trace-events: Clean up with scripts/cleanup-trace-events.pl again
        tci: Fix qemu-alpha on 32 bit hosts (wrong assertions)
        *-user: Improve documentation for lock_user function
        MAINTAINERS: Add missing entry to filelist for TCI target
        translate-all: Fix formatting of dump output
        *-user: Fix typo in comment (ulocking -> unlocking)
        docs: Fix IO port number for CPU present bitmap.
        q35: Fix typo in constant DEFUALT -> DEFAULT.
        configure: Undefine _FORTIFY_SOURCE prior using it
      
      Message-id: 1379696296-32105-1-git-send-email-mjt@msgid.tls.msk.ru
      2e6ae666
    • A
      Merge remote-tracking branch 'qemu-kvm/uq/master' into staging · 3e4be9c2
      Anthony Liguori 提交于
      # By Alexey Kardashevskiy (3) and others
      # Via Paolo Bonzini
      * qemu-kvm/uq/master:
        target-i386: add feature kvm_pv_unhalt
        linux-headers: update to 3.12-rc1
        target-i386: forward CPUID cache leaves when -cpu host is used
        linux-headers: update to 3.11
        kvm: fix traces to use %x instead of %d
        kvmvapic: Clear also physical ROM address when entering INACTIVE state
        kvmvapic: Enter inactive state on hardware reset
        kvmvapic: Catch invalid ROM size
        kvm irqfd: support direct msimessage to irq translation
        fix steal time MSR vmsd callback to proper opaque type
        kvm: warn if num cpus is greater than num recommended
        cpu: Move cpu state syncs up into cpu_dump_state()
        exec: always use MADV_DONTFORK
      
      Message-id: 1379694292-1601-1-git-send-email-pbonzini@redhat.com
      3e4be9c2
    • A
      Merge remote-tracking branch 'bonzini/scsi-next' into staging · f3ca508f
      Anthony Liguori 提交于
      # By Hervé Poussineau (5) and Stefan Weil (1)
      # Via Paolo Bonzini
      * bonzini/scsi-next:
        block/iscsi: Drop iscsi_co_get_block_status for older versions of libiscsi
        lsi: add 53C810 variant
        lsi: remove todo
        lsi: ignore write accesses to CTEST0 registers
        lsi: check ssid versus sdid only if ssid is valid
        lsi: use constant name instead of its value
      f3ca508f
  2. 21 9月, 2013 23 次提交
  3. 20 9月, 2013 7 次提交