qemu/hw/i386/xen
Roger Pau Monne 4158e93f4a xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored
Or if it's not possible to honor the hinted address an error is returned
instead. This makes it easier to spot the actual failure, instead of
failing later on when the caller of xen_remap_bucket realizes the
mapping has not been created at the requested address.

Also note that at least on FreeBSD using MAP_FIXED will cause mmap to
try harder to honor the passed address.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Igor Druzhinin <igor.druzhinin@cirtix.com>
Message-Id: <20190318173731.14494-1-roger.pau@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2019-03-19 15:32:13 +00:00
..
Makefile.objs move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
trace-events xen-hvm: stop faking I/O to access PCI config space 2018-05-31 12:05:01 -07:00
xen_apic.c apic: add send_msi() to APICCommonClass 2016-10-17 15:44:49 -02:00
xen_platform.c xen: re-name XenDevice to XenLegacyDevice... 2019-01-14 13:45:40 +00:00
xen_pvdevice.c xen-pvdevice: Introduce a simplistic xen-pvdevice save state 2018-05-18 11:01:20 -07:00
xen-hvm.c xen: introduce new 'XenBus' and 'XenDevice' object hierarchy 2019-01-14 13:45:40 +00:00
xen-mapcache.c xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored 2019-03-19 15:32:13 +00:00