In the course of fixing XSA-378 fallout I ran into a number of issues, which this series is trying to deal with. The majority of the changes is pretty much independent of one another.
There was another rather basic issue to fight first (patch was submitted separately as RFC): vPCI wasn't aware of hidden PCI devices, hitting an ASSERT(). Obviously I couldn't afford not having a functioning serial console. Compared to v2 there are a number of new changes here, and a controversial one has been moved to the end. See individual patches for details. 1: PVH: improve Dom0 memory size calculation 2: PV: properly set shadow allocation for Dom0 3: PVH: permit more physdevop-s to be used by Dom0 4: PVH: provide VGA console info to Dom0 5: PVH: actually show Dom0's register state from debug key '0' 6: HVM: convert hvm_virtual_to_linear_addr() to be remote-capable 7: PVH: actually show Dom0's stacks from debug key '0' 8: HVM: skip offline vCPU-s when dumping VMCBs/VMCSes 9: P2M: relax permissions of PVH Dom0's MMIO entries Jan
