1. 19 9月, 2016 1 次提交
  2. 16 9月, 2016 8 次提交
    • G
      tests: virtio-9p: add basic configuration test · 557a4cc0
      Greg Kurz 提交于
      This adds PCI init code and a basic test that checks the device config
      matches what is passed on the command line.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      557a4cc0
    • G
      tests: virtio-9p: introduce start/stop functions · 993f8054
      Greg Kurz 提交于
      First step to be able to run several functional steps.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      993f8054
    • G
      9pfs: introduce v9fs_path_sprintf() helper · e3e83f2e
      Greg Kurz 提交于
      This helper is similar to v9fs_string_sprintf(), but it includes the
      terminating NUL character in the size field.
      
      This is to avoid doing v9fs_string_sprintf((V9fsString *) &path) and
      then bumping the size.
      
      Affected users are changed to use this new helper.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NCédric Le Goater <clg@kaod.org>
      e3e83f2e
    • G
      9pfs: drop useless v9fs_string_null() function · abdf0086
      Greg Kurz 提交于
      The v9fs_string_null() function just calls v9fs_string_free(). Also it
      only has 4 users, whereas v9fs_string_free() has 87.
      
      This patch converts users to call directly v9fs_string_free() and drops
      the useless function.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NCédric Le Goater <clg@kaod.org>
      abdf0086
    • G
      9pfs: drop duplicate line in proxy backend · da4bc86c
      Greg Kurz 提交于
      This double free did not cause harm because v9fs_string_free() sets
      str->data to NULL and g_free(NULL) is valid.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NCédric Le Goater <clg@kaod.org>
      da4bc86c
    • G
      9pfs: drop unused fmt strings in the proxy backend · 799fe087
      Greg Kurz 提交于
      The v9fs_request() function doesn't use its fmt argument: it passes literal
      format strings to proxy_marshal() for all commands.
      
      This patch simply drops the unused fmt argument and updates all callers
      accordingly.
      Signed-off-by: NGreg Kurz <groug@kaod.org>
      Reviewed-by: NCédric Le Goater <clg@kaod.org>
      799fe087
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 5f473241
      Peter Maydell 提交于
      * Support multiple -d trace:PATTERN arguments (Daniel)
      * SCSI cleanups/fixes for removable meia (Fam)
      * SCSI security fixes (Li Qiang, PJP)
      * qemu-char segfault fix (Lin Ma)
      * "make help" and qemu-socket cleanups (Marc-André)
      * end of the buffer_is_zero reword (Richard)
      * Fix target-i386 syscall segfault (Stanislav)
      * split irqchip fix/robustification (Wanpeng)
      * misc cleanups (me, Jiangang)
      * x86 vmstate fixes (Pavel)
      
      # gpg: Signature made Thu 15 Sep 2016 14:11:35 BST
      # gpg:                using RSA key 0xBFFBD25F78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * remotes/bonzini/tags/for-upstream:
        pcspk: adding vmstate for save/restore
        kvmvapic: fix state change handler
        pc: apic: introduce APIC macro
        target-i386: Fixed syscall posssible segfault
        log: fix parsing of multiple trace:PATTERN log args
        qemu-char: avoid segfault if user lacks of permisson of a given logfile
        build-sys: add make 'help' target
        linux-user: complete omission of removing uses of strdup
        target-i386: fix ordering of fields in CPUX86State
        pc: apic: fix touch LAPIC when irqchip is split
        scsi: pvscsi: limit process IO loop to ring size
        memory: remove memory_region_destructor_rom_device
        Change net/socket.c to use socket_*() functions
        cutils: Rewrite x86 buffer zero checking
        scsi: mptsas: use g_new0 to allocate MPTSASRequest object
        virtio-scsi: Don't abort when media is ejected
        scsi-disk: Cleaning up around tray open state
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      5f473241
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging · 518352b6
      Peter Maydell 提交于
      trivial patches for 2016-09-15
      
      # gpg: Signature made Thu 15 Sep 2016 13:40:55 BST
      # gpg:                using RSA key 0x701B4F6B1A693E59
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
      #      Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931  4B22 701B 4F6B 1A69 3E59
      
      * remotes/mjt/tags/trivial-patches-fetch: (21 commits)
        mptsas: change .realize function name
        linux-user/qemu.h: change malloc to g_malloc, free to g_free
        win32: don't run subprocess tests on Mingw32 platform
        sheepdog: remove useless casts
        fw_cfg: remove useless casts
        tricore: remove useless cast
        s390x: remove useless cast
        linux-user,s390x: remove useless cast
        coccinelle: add a script to remove useless casts
        curl: Operate on zero-length file
        Remove unused function declarations
        ivshmem: Delete duplicate debug message
        sh4: fix broken link to documentation
        MAINTAINERS: Fix up F: entry bit rot
        MAINTAINERS: Add include/sysemu/cpus.h
        MAINTAINERS: Add include/hw/sh4/ to SH4 section
        MAINTAINERS: Add include/hw/tricore/ to TriCore section
        MAINTAINERS: Add include/hw/unicore32/ to UniCore32 section
        ui/console: Fix non-working backspace key in monitor of gtk UI
        tcg: Remove duplicate header includes
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      518352b6
  3. 15 9月, 2016 31 次提交