Skip to content
Snippets Groups Projects
  1. Jun 16, 2019
  2. Jun 12, 2019
    • Markus Armbruster's avatar
      Clean up a header guard symbols (again) · fe2611b0
      Markus Armbruster authored
      
      Commit d52c454a "contrib: add vhost-user-gpu" and "c68082c4
      virtio-gpu: split virtio-gpu-pci & virtio-vga" created headers with
      unusual header guard symbols.  Clean them up
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190607141321.9726-1-armbru@redhat.com>
      fe2611b0
    • Markus Armbruster's avatar
      Clean up a few header guard symbols · 37677d7d
      Markus Armbruster authored
      
      Commit 58ea30f5 "Clean up header guards that don't match their file
      name" messed up contrib/elf2dmp/qemu_elf.h and
      tests/migration/migration-test.h.
      
      It missed target/cris/opcode-cris.h and
      tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h
      due to the scripts/clean-header-guards.pl bug fixed in the previous
      commit.
      
      Commit a8b991b5 "Clean up ill-advised or unusual header guards"
      missed include/hw/xen/io/ring.h for the same reason.
      
      Commit 3979fca4 "disas: Rename include/disas/bfd.h back to
      include/disas/dis-asm.h" neglected to update the guard symbol for the
      rename.
      
      Commit a331c6d7 "semihosting: implement a semihosting console"
      created include/hw/semihosting/console.h with an ill-advised guard
      symbol.
      
      Clean them up.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190604181618.19980-4-armbru@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      37677d7d
    • Markus Armbruster's avatar
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster authored
      
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
  3. May 29, 2019
    • Marc-André Lureau's avatar
      contrib: add vhost-user-gpu · d52c454a
      Marc-André Lureau authored
      
      Add a vhost-user gpu backend, based on virtio-gpu/3d device. It is
      associated with a vhost-user-gpu device.
      
      Various TODO and nice to have items:
      - multi-head support
      - crash & resume handling
      - accelerated rendering/display that avoids the waiting round trips
      - edid support
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190524130946.31736-6-marcandre.lureau@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      d52c454a
    • Marc-André Lureau's avatar
      vhost-user: add vhost_user_gpu_set_socket() · bd2e44fe
      Marc-André Lureau authored
      
      Add a new vhost-user message to give a unix socket to a vhost-user
      backend for GPU display updates.
      
      Back when I started that work, I added a new GPU channel because the
      vhost-user protocol wasn't bidirectional. Since then, there is a
      vhost-user-slave channel for the slave to send requests to the master.
      We could extend it with GPU messages. However, the GPU protocol is
      quite orthogonal to vhost-user, thus I chose to have a new dedicated
      channel.
      
      See vhost-user-gpu.rst for the protocol details.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190524130946.31736-2-marcandre.lureau@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      bd2e44fe
  4. May 22, 2019
  5. May 20, 2019
  6. May 13, 2019
    • Markus Armbruster's avatar
      Clean up header guards that don't match their file name · 58ea30f5
      Markus Armbruster authored
      
      Header guard symbols should match their file name to make guard
      collisions less likely.
      
      Cleaned up with scripts/clean-header-guards.pl, followed by some
      renaming of new guard symbols picked by the script to better ones.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190315145123.28030-6-armbru@redhat.com>
      [Rebase to master: update include/hw/net/ne2000-isa.h]
      58ea30f5
    • Markus Armbruster's avatar
      Use #include "..." for our own headers, <...> for others · 1b6d3b51
      Markus Armbruster authored
      
      Also delete a few redundant #include.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190315145123.28030-2-armbru@redhat.com>
      1b6d3b51
    • Markus Armbruster's avatar
      Clean up includes · bbfff196
      Markus Armbruster authored
      
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes, with the changes
      to the following files manually reverted:
      
          contrib/libvhost-user/libvhost-user-glib.h
          contrib/libvhost-user/libvhost-user.c
          contrib/libvhost-user/libvhost-user.h
          linux-user/mips64/cpu_loop.c
          linux-user/mips64/signal.c
          linux-user/sparc64/cpu_loop.c
          linux-user/sparc64/signal.c
          linux-user/x86_64/cpu_loop.c
          linux-user/x86_64/signal.c
          slirp/src/*
          target/s390x/gen-features.c
          tests/fp/platform.h
          tests/migration/s390x/a-b-bios.c
          tests/test-rcu-simpleq.c
          tests/test-rcu-tailq.c
          tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c
      
      We're in the process of spinning out slirp/.  tests/fp/platform.h is
      has to include qemu/osdep.h because tests/fp/berkeley-softfloat-3/ and
      tests/fp/berkeley-testfloat-3/ don't.  tests/uefi-test-tools/ is guest
      software.  The remaining reverts are the same as in commit
      b7d89466.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190313162812.8885-1-armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      [Revert change to tests/fp/platform.h, adjust commit message]
      bbfff196
  7. May 10, 2019
    • Marc-André Lureau's avatar
      libvhost-user: add PROTOCOL_F_CONFIG if {set, get}_config · 78067fde
      Marc-André Lureau authored
      
      Add the config protocol feature bit if the set_config & get_config
      callbacks are implemented.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190503130034.24916-3-marcandre.lureau@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      78067fde
    • Marc-André Lureau's avatar
      libvhost-user: fix -Waddress-of-packed-member · d288eef3
      Marc-André Lureau authored
      
      /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_mem_table_exec_postcopy’:
      /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:546:31: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value [-Waddress-of-packed-member]
        546 |     VhostUserMemory *memory = &vmsg->payload.memory;
            |                               ^~~~~~~~~~~~~~~~~~~~~
      /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_mem_table_exec’:
      /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:688:31: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value [-Waddress-of-packed-member]
        688 |     VhostUserMemory *memory = &vmsg->payload.memory;
            |                               ^~~~~~~~~~~~~~~~~~~~~
      /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_vring_addr_exec’:
      /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:817:36: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value [-Waddress-of-packed-member]
        817 |     struct vhost_vring_addr *vra = &vmsg->payload.addr;
            |                                    ^~~~~~~~~~~~~~~~~~~
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20190503130034.24916-2-marcandre.lureau@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      d288eef3
  8. May 07, 2019
  9. Mar 16, 2019
  10. Mar 13, 2019
  11. Mar 12, 2019
  12. Mar 11, 2019
  13. Feb 21, 2019
  14. Feb 05, 2019
Loading