]> git.proxmox.com Git - mirror_qemu.git/commit - ioport.c
ioport: register ranges by byte aligned addresses always
authorAvi Kivity <avi@redhat.com>
Tue, 26 Jul 2011 11:26:15 +0000 (14:26 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 29 Jul 2011 13:25:44 +0000 (08:25 -0500)
commitbf3fb0e12aeb9fea08383c145f874ed7acc29e31
treee3ca0df903bbe8d129595a5ac289024174f3ee0d
parent62152b8a014609ac94da2de440aedb3246c1204a
ioport: register ranges by byte aligned addresses always

The I/O port space is byte addressable, even for word and long accesses.

An example is the VMware svga card, which has long ports on offsets 0,
1, and 2.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ioport.c