Skip to contentSkip to conversation

tools: remove get_platform_info from xg_save_restore.h

PATCH New Olaf Hering 1 participant 1 message Jan 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: remove get_platform_info from xg_save_restore.h

Last user was removed with commit 4ddf474e2b7c045fadeaf765ac6157de745e84d6 Previously it was also used in migration code, which was removed with commit b15bc4345e772df92e5ffdbc4c1e9ae2a6206617

---
 tools/libs/guest/xg_domain.c       |  2 +-
 tools/libs/guest/xg_save_restore.h | 60 ------------------------------
 2 files changed, 1 insertion(+), 61 deletions(-)
tools/libs/guest/xg_domain.c +1 -1
index 58713cd35d..5019c84e0e 100644
@@ -67,7 +67,7 @@ int xc_map_domain_meminfo(xc_interface *xch, uint32_t domid,
     }
     _di.guest_width = minfo->guest_width;
 
-    /* Get page table levels (see get_platform_info() in xg_save_restore.h */
+    /* Get page table levels */
     if ( xc_version(xch, XENVER_capabilities, &xen_caps) )
     {
         PERROR("Could not get Xen capabilities (for page table levels)");
tools/libs/guest/xg_save_restore.h +0 -60

66 lines not on this page · raw message