]> git.ipfire.org Git - thirdparty/qemu.git/commit
memory: Provide separate handling of unassigned io ports accesses
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 2 Sep 2013 16:43:30 +0000 (18:43 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 03:31:12 +0000 (22:31 -0500)
commit7ab1044eb1ac2cbc7e65769edf44ced92b85b038
treecba4a6087bf502869e520af2bd07456263a219f3
parente8601a4e3102321d054ce3d641c03ebcd0519357
memory: Provide separate handling of unassigned io ports accesses

Accesses to unassigned io ports shall return -1 on read and be ignored
on write. Ensure these properties via dedicated ops, decoupling us from
the memory core's handling of unassigned accesses.

Cc: qemu-stable@nongnu.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 3bb28b7208b349e7a1b326e3c6ef9efac1d462bf)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c
include/exec/ioport.h
ioport.c