[pve-devel] [PATCH-SERIES qemu-server/manager/docs v2 0/3] close #5291: support disabling KSM for specific VMs

Fiona Ebner f.ebner at proxmox.com
Thu Nov 13 16:51:06 CET 2025


Changes in v2:
* Rebase on current master.
* I did not include Friedrich's T-b because it has been 9 months and
  there might've been changes to affect the result in
  kernel/QEMU/qemu-server/etc. (doesn't seem to be the case from my
  testing before sending the v2, but still didn't want to claim
  somebody else tested this, when it's been this long)

v1: https://lore.proxmox.com/pve-devel/20250217150444.142182-1-f.ebner@proxmox.com/

KSM exposes a guest's virtual memory to side-channel attacks. Add a VM
configuration option to disable KSM for specific VMs that need to be
protected against such attacks. This makes it possible to still
benefit from KSM for other processes on the host rather than needing
to turn of KSM completely.

qemu-server:

Fiona Ebner (1):
  close #5291: support disabling KSM for specific VMs

 src/PVE/QemuServer.pm | 9 +++++++++
 1 file changed, 9 insertions(+)


manager:

Fiona Ebner (1):
  close #5291: ui: qemu: memory edit: support disabling KSM for specific
    VMs

 www/manager6/qemu/HardwareView.js | 11 +++++++-
 www/manager6/qemu/MemoryEdit.js   | 45 ++++++++++++++++++++++++++-----
 2 files changed, 49 insertions(+), 7 deletions(-)


docs:

Fiona Ebner (1):
  kernel samepage merging: describe how to disable for a specific VM

 kernel-samepage-merging.adoc | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)


Summary over all repositories:
  4 files changed, 71 insertions(+), 8 deletions(-)

-- 
Generated by git-murpp 0.5.0




More information about the pve-devel mailing list