]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
ioemu: various fixes to `Use main memory for video memory'
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 11 Sep 2008 11:44:33 +0000 (12:44 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 11 Sep 2008 11:44:33 +0000 (12:44 +0100)
commit8ba1c72a3080f7c71e2c63a915ddc73634162b0c
tree973d588d1bb6e9827a00114b551d4166404708c8
parent0844825b76924eac7719875b3886072b74e19397
ioemu: various fixes to `Use main memory for video memory'

- fix ioemu segv with old firmware
  Without notifying ioemu of address, ioemu will segv.

- fix qemu-dm segv with malicous firmware
  If notifying ioemu more than once, ioemu will segv.

Usually such cases don't happen, but malicious guest can
do it intentionally.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
(Cross-ported from xen-unstable
 18449:33d907ff2b043c4bff5c265737dab0bb52d6f773
this is a fix to the patch
 0844825b76924eac7719875b3886072b74e19397
which itself was cross-ported from xen-unstable
 18383:dade7f0bdc8d6b36b1914598d83c616ee5ce97cb

There were no conflicts or problems with patch -l.)
hw/cirrus_vga.c
hw/vga.c