]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commit
passthrough: fix writing handlers for base address registers.
authorKeir Fraser <kfraser@endor.localdomain>
Fri, 1 Aug 2008 09:01:05 +0000 (10:01 +0100)
committerKeir Fraser <kfraser@endor.localdomain>
Fri, 1 Aug 2008 09:01:05 +0000 (10:01 +0100)
commit049aa15e832c37121cced7d5a0aba2a75f556d0e
treec7596dc44d52b650134f0abebc596bafdcbc043a
parent01dc3ef17b815648780f379940b93a45d8e53c79
passthrough: fix writing handlers for base address registers.

- Current implementation can not work fine when base address registers
  are accessed via 1 byte write access and 2 byte write access. This
  patch enables them.

- Currently guest software can set address which is not aligned
  with resource size and page size. The patch does not allow guest
  software to set unaligned address.

Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
hw/pass-through.c