summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorMichael S. Tsirkin2017-01-19 20:34:28 +0100
committerMichael S. Tsirkin2017-02-01 02:37:17 +0100
commitec42813028d9ede3f9f73b8c943b00ff235ba0c1 (patch)
treed0a836e804255ae0cb63f8c091a642bcc092304d /include/exec
parentARRAY_SIZE: check that argument is an array (diff)
downloadqemu-ec42813028d9ede3f9f73b8c943b00ff235ba0c1.tar.gz
qemu-ec42813028d9ede3f9f73b8c943b00ff235ba0c1.tar.xz
qemu-ec42813028d9ede3f9f73b8c943b00ff235ba0c1.zip
pci: mark ROMs read-only
Looks like we didn't mark PCI ROMs as RO allowing mischief such as guests writing there. Further, e.g. vhost gets confused trying to allocate enough space to log writes there. Fix it up. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Tested-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions