Re: [RFC PATCH 4/4] KVM: SVM: Add Page modification logging support

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

 



On Mon, 2025-08-25 at 15:20 +0000, Nikunj A Dadhania wrote:
> +	if (pml) {
> +		svm->pml_page = snp_safe_alloc_page();
> +		if (!svm->pml_page)
> +			goto error_free_vmsa_page;
> +	}

I didn't see this yesterday.  Is it mandatory for AMD PML to use
snp_safe_alloc_page() to allocate the PML buffer, or we can also use
normal page allocation API?

VMX PML just uses alloc_pages().  I was thinking the page allocation/free
code could be moved to x86 common as shared code too.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux