Re: [RFC PATCH 1/8] KVM: Document KVM_MAP_MEMORY ioctl

Huang, Kai
2024-03-11T01:06:01Z

>
> struct kvm_memory_mapping {
> __u64 base_gfn;
> __u64 nr_pages;
> __u64 flags;
> __u64 source;
> };

From your next patch the @source must be 4K aligned. If it is intended
please document this too.

[...]

The backend may encrypt
> it.

To me the "backend" is a little bit confusing. It doesn't mean the
@source, correct? Maybe just the "underlying physical pages may be
encrypted" etc. But it may be only my issue.