Hi, all
In tools/libxc/xc_domain_save .c, one function called
`map_and_save_p2m_table` where there exists a confusing problem, as is
shown below:
621 live_p2m_frame_list =
622 xc_map_foreign_batch(xc_handle, dom, PROT_READ,
623 p2m_frame_list_list,
624 P2M_FLL_ENTRIES);
memcpy(p2m_frame_list, live_p2m_frame_list, P2M_GUEST_FL_SIZE);
654 p2m = xc_map_foreign_batch(xc_handle, dom, PROT_READ,
655 p2m_frame_list,
656 P2M_FL_ENTRIES);
maybe someone encountered the same problem, would you help me?
Besides, what's the difference between IOCTL_PRIVCMD_MMAP
and IOCTL_PRIVCMD_MMAPBATCH?
Thanks
bruce
In tools/libxc/xc_domain_save .c, one function called
`map_and_save_p2m_table` where there exists a confusing problem, as is
shown below:
621 live_p2m_frame_list =
622 xc_map_foreign_batch(xc_handle, dom, PROT_READ,
623 p2m_frame_list_list,
624 P2M_FLL_ENTRIES);
memcpy(p2m_frame_list, live_p2m_frame_list, P2M_GUEST_FL_SIZE);
654 p2m = xc_map_foreign_batch(xc_handle, dom, PROT_READ,
655 p2m_frame_list,
656 P2M_FL_ENTRIES);
maybe someone encountered the same problem, would you help me?
Besides, what's the difference between IOCTL_PRIVCMD_MMAP
and IOCTL_PRIVCMD_MMAPBATCH?
Thanks
bruce