In the context of PCI pass-through I came to look at this code again,
while considering whether it might be usable for an issue there (which
I'll send separate mail about).
1: XENMEM_{get,set}_pod_target are restricted to HVM domains
2: tidy XENMEM_{get,set}_pod_target handling
Jan