qemu/hw/xen
Konrad Rzeszutek Wilk 5b4dd0f55e xen/pt: Check if reg->init function sets the 'data' past the reg->size
It should never happen, but in case it does (an developer adds
a new register and the 'init_val' expands past the register
size) we want to report. The code will only write up to
reg->size so there is no runtime danger of the register spilling
across other ones - however to catch this sort of thing
we still return an error.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2015-09-10 16:47:09 +00:00
..
Makefile.objs xen, gfx passthrough: basic graphics passthrough support 2015-09-10 12:04:28 +00:00
xen_backend.c xen_backend: Remove unused error handling of qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
xen_devconfig.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
xen_pt_config_init.c xen/pt: Check if reg->init function sets the 'data' past the reg->size 2015-09-10 16:47:09 +00:00
xen_pt_graphics.c xen, gfx passthrough: add opregion mapping 2015-09-10 12:04:29 +00:00
xen_pt_msi.c xen/pt: Make xen_pt_msi_set_enable static 2015-09-10 12:04:30 +00:00
xen_pt.c xen/pt: Use xen_host_pci_get_[byte|word] instead of dev.config 2015-09-10 16:46:25 +00:00
xen_pt.h xen/pt: Make xen_pt_msi_set_enable static 2015-09-10 12:04:30 +00:00
xen-host-pci-device.c xen, gfx passthrough: basic graphics passthrough support 2015-09-10 12:04:28 +00:00
xen-host-pci-device.h xen, gfx passthrough: basic graphics passthrough support 2015-09-10 12:04:28 +00:00