qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f872c7: stdvga+bochs-display: add dummy mmio


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] f872c7: stdvga+bochs-display: add dummy mmio handler
Date: Mon, 16 Mar 2020 11:30:21 -0700

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

  Changed paths:
    M hw/display/bochs-display.c
    M hw/display/vga-pci.c

  Log Message:
  -----------
  stdvga+bochs-display: add dummy mmio handler

The bochs-display mmio bar has some sub-regions with the actual hardware
registers.  What happens when the guest access something outside those
regions depends on the archirecture.  On x86 those reads succeed (and
return 0xff I think).  On risc-v qemu aborts.

This patch adds handlers for the parent region, to make the wanted
behavior explicit and to make things consistent across architectures.

v2:
 - use existing unassigned_io_ops.
 - also cover stdvga.

Cc: Alistair Francis <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: a98135f727595382e200d04c2996e868b7925a01
      
https://github.com/qemu/qemu/commit/a98135f727595382e200d04c2996e868b7925a01
  Author: Peter Maydell <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M hw/display/bochs-display.c
    M hw/display/vga-pci.c

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

vga: stdvga/bochs mmio fix.

# gpg: Signature made Mon 16 Mar 2020 12:48:10 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-20200316-pull-request:
  stdvga+bochs-display: add dummy mmio handler

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


Compare: https://github.com/qemu/qemu/compare/509f61798b5d...a98135f72759



reply via email to

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