suport device driver initialization model
authorGlauber Costa <glommer@redhat.com>
Thu, 23 Apr 2009 19:20:55 +0000 (15:20 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 May 2009 14:44:11 +0000 (09:44 -0500)
commit7fd3da5bd435c205b22528b6129f69e9e44f3cb2
tree7169cb680bc8de9e5158d34f6027c9959b2b5a98
parentcd49bfe8e7b7279879e4b341026ca7015f7cb5f4
suport device driver initialization model

According to PnP specification, Appendix B, Option ROMs
that support DDIM (device driver initialization model) should
have their memory space writeable.

KVM deviates from us here, by removing the IO_MEM_ROM flag,
to allow for PCI option ROMs (they require DDIM). However,
there's absolutely no reason we can't do the same.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c