qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 8ea90e: virtio: add class_size to VirtioPCIDe


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 8ea90e: virtio: add class_size to VirtioPCIDeviceTypeInfo
Date: Mon, 11 Mar 2019 09:26:54 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 8ea90ee690eb78bbe6644cae3a7eff857f8b4569
      
https://github.com/qemu/qemu/commit/8ea90ee690eb78bbe6644cae3a7eff857f8b4569
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-pci.h

  Log Message:
  -----------
  virtio: add class_size to VirtioPCIDeviceTypeInfo

Needed when VirtioPCIClass subclasses have their own
class struct with some extra fields.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden


  Commit: 3912e66a3febdea3b89150f923ca9be3f02f7ae3
      
https://github.com/qemu/qemu/commit/3912e66a3febdea3b89150f923ca9be3f02f7ae3
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M hw/display/virtio-vga.c

  Log Message:
  -----------
  virtio-vga: fix reset.

Store reset handler of the parent class and just call that for a
complete virtio reset.  When taking the shortcut and calling
virtio_gpu_reset() directly the generic virtio reset code (for
virtqueues etc) will not be executed.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1597621
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden


  Commit: 0be00346d1e3d96b839832809d7042db8c7d4300
      
https://github.com/qemu/qemu/commit/0be00346d1e3d96b839832809d7042db8c7d4300
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M hw/display/virtio-gpu.c
    M include/hw/virtio/virtio-gpu.h

  Log Message:
  -----------
  virtio-gpu: make virtio_gpu_reset static

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden


  Commit: 862b4a291dcf143fdb227e97feb7fd45e6466aca
      
https://github.com/qemu/qemu/commit/862b4a291dcf143fdb227e97feb7fd45e6466aca
  Author: BALATON Zoltan <address@hidden>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M hw/display/Kconfig
    M hw/display/Makefile.objs
    A hw/display/ati.c
    A hw/display/ati_2d.c
    A hw/display/ati_dbg.c
    A hw/display/ati_int.h
    A hw/display/ati_regs.h
    M hw/display/trace-events
    M vl.c

  Log Message:
  -----------
  hw/display: Add basic ATI VGA emulation

At least two machines, the PPC mac99 and MIPS fulong2e, have an ATI
gfx chip by default (Rage 128 Pro and M6/RV100 respectively) and
guests running on these and the PMON2000 firmware of the fulong2e
expect this to be available. Fortunately these are very similar chips
so they can be mostly emulated in the same device model. This patch
adds basic emulation of these ATI VGA chips.

While this is incomplete and currently only enough to run the MIPS
firmware and get framebuffer output with Linux, it allows the fulong2e
board to work more like the real hardware and having it in QEMU in
this state provides a way to experiment with it and allows others to
contribute to improve it. It is compiled for all archs but only the
fulong2e (which currently has no display output at all) is set to use
it by default (in a separate patch).

Signed-off-by: BALATON Zoltan <address@hidden>
Acked-by: Aleksandar Markovic <address@hidden>
Tested-by: Andrew Randrianasulu <address@hidden>
Tested-by: Howard Spoelstra <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: ff243cff11526c0703cefdd60467dfaa5c5803a0
      
https://github.com/qemu/qemu/commit/ff243cff11526c0703cefdd60467dfaa5c5803a0
  Author: BALATON Zoltan <address@hidden>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M hw/mips/mips_fulong2e.c

  Log Message:
  -----------
  mips_fulong2e: Add on-board graphics chip

Add (partial) emulation of the on-board GPU of the machine. This
allows the PMON2000 firmware to run and should also work with Linux
console but probably not with X yet.

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Philippe Mathieu-Daude <address@hidden>
Tested-by: Philippe Mathieu-Daude <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2e35c7738e16452a95aec1fbef5e8b6f38a2d647
      
https://github.com/qemu/qemu/commit/2e35c7738e16452a95aec1fbef5e8b6f38a2d647
  Author: Peter Maydell <address@hidden>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M hw/display/Kconfig
    M hw/display/Makefile.objs
    A hw/display/ati.c
    A hw/display/ati_2d.c
    A hw/display/ati_dbg.c
    A hw/display/ati_int.h
    A hw/display/ati_regs.h
    M hw/display/trace-events
    M hw/display/virtio-gpu.c
    M hw/display/virtio-vga.c
    M hw/mips/mips_fulong2e.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-pci.h
    M include/hw/virtio/virtio-gpu.h
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/kraxel/tags/vga-20190311-v2-pull-request' into staging

vga: virtio reset fix, add ati emulation.

# gpg: Signature made Mon 11 Mar 2019 08:50:12 GMT
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>" [full]
# gpg:                 aka "Gerd Hoffmann <address@hidden>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/vga-20190311-v2-pull-request:
  mips_fulong2e: Add on-board graphics chip
  hw/display: Add basic ATI VGA emulation
  virtio-gpu: make virtio_gpu_reset static
  virtio-vga: fix reset.
  virtio: add class_size to VirtioPCIDeviceTypeInfo

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/79d8b1dc5b44...2e35c7738e16



reply via email to

[Prev in Thread] Current Thread [Next in Thread]