[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] let set_phys_to_machine return the old entry
The attached patch makes set_phys_to_machine(pfn,mfn) return the old entry in the array, such that the old entry can be restored again using the same call. If the feature XENFEAT_auto_translate_physmap is not enabled, then these two calls will end up in no-op relative to changes to the phys_to_machine_mapping array. There's currently only one occurrence where remembering the entry from the array is necessary and this is in the vTPM backend driver. This patch builds on top of the previously posted TPM backend patch. Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx> Attachment:
set_phys_to_machine.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |