[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 07/10] passthrough/amd: split out hvm code from iommu_map.c



Wei,

On 2/21/18 3:46 PM, Wei Liu wrote:
Move and rename update_paging_mode. Create a local header file for
this and other functions that need exporting.

Signed-off-by: Wei Liu<wei.liu2@xxxxxxxxxx>
---
Cc: Suravee Suthikulpanit<suravee.suthikulpanit@xxxxxxx>
---
  xen/drivers/passthrough/x86/amd/Makefile    |   1 +
  xen/drivers/passthrough/x86/amd/hvm.c       | 108 ++++++++++++++++++++++++++++
  xen/drivers/passthrough/x86/amd/iommu.h     |  32 +++++++++
  xen/drivers/passthrough/x86/amd/iommu_map.c | 103 ++------------------------
  4 files changed, 148 insertions(+), 96 deletions(-)
  create mode 100644 xen/drivers/passthrough/x86/amd/hvm.c
  create mode 100644 xen/drivers/passthrough/x86/amd/iommu.h

I am still not sure why the update_paging_mode need to be moved out of 
iommu_map.c.
Could you please elaborate?

Thanks,
Suravee

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.