]> git.proxmox.com Git - mirror_qemu.git/commit - hw/core/machine.c
machine/memory encryption: Disable mem merge
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 30 Jan 2020 17:50:46 +0000 (17:50 +0000)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 17 Mar 2020 23:48:10 +0000 (19:48 -0400)
commit4ba59be1d6d8c57941841a505cb4656628d582d0
treeb4c13871339e5ca316976d42c870ae6a43d3a789
parentdcf08bc60bcce8237e42ee9d4c4983ed98401b8a
machine/memory encryption: Disable mem merge

When a host is running with memory encryption, the memory isn't visible
to the host kernel; attempts to merge that memory are futile because
what it's really comparing is encrypted memory, usually encrypted
with different keys.

Automatically turn mem-merge off when memory encryption is specified.

https://bugzilla.redhat.com/show_bug.cgi?id=1796356

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20200130175046.85850-1-dgilbert@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/machine.c