[siemens/jailhouse] 6d7ac3: core: Fix printing of invalid MMIO accesses

3 views
Skip to first unread message

GitHub

unread,
Jul 17, 2016, 1:22:12 PM7/17/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 6d7ac3d3f5361058f860cb992baafb30451f70a5
https://github.com/siemens/jailhouse/commit/6d7ac3d3f5361058f860cb992baafb30451f70a5
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-07-17 (Sun, 17 Jul 2016)

Changed paths:
M hypervisor/mmio.c

Log Message:
-----------
core: Fix printing of invalid MMIO accesses

mem->phys_start is u64, but we only print up to unsigned long. Adjust
the input type. Resolves broken size reports on 32-bit ARM.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 014e86ec2882e6b7722a043879a00dcef143fccb
https://github.com/siemens/jailhouse/commit/014e86ec2882e6b7722a043879a00dcef143fccb
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-07-17 (Sun, 17 Jul 2016)

Changed paths:
M driver/cell.c

Log Message:
-----------
driver: Gracefully handle zero-sized load requests

We currently fail if a load request has a size of 0, because mapping an
empty region fails. While such requests are often caused by corrupted
files there may also be valid use cases. So better handle this
gracefully.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/9613f81a7d99...014e86ec2882
Reply all
Reply to author
Forward
0 new messages