I want to enable virtual Performance Monitoring Unit (vPMU) for a single VM so I can use perf
. I’m aware of XSA-163. The VM will be an isolated AppVM without network access and only AppVM with vPMU.
I tried editing the libvirt XML template for the HVM or PV VM by modifying: /etc/templates/libvirt/xen/by-name/<vm>.xml
and adding:
{% extends 'libvirt/xen.xml' %}
<vpmu='on'/>