Wim ten Have cb12c59dac qemu: support for kvm-hint-dedicated performance hint
QEMU version 2.12.1 introduced a performance feature under commit
be7773268d98 ("target-i386: add KVM_HINTS_DEDICATED performance hint")

This patch adds a new KVM feature 'hint-dedicated' to set this performance
hint for KVM guests. The feature is off by default.

To enable this hint and have libvirt add "-cpu host,kvm-hint-dedicated=on"
to the QEMU command line, the following XML code needs to be added to the
guest's domain description in conjunction with CPU mode='host-passthrough'.

  <features>
    <kvm>
      <hint-dedicated state='on'/>
    </kvm>
  </features>
  ...
  <cpu mode='host-passthrough ... />

Signed-off-by: Wim ten Have <wim.ten.have@oracle.com>
Signed-off-by: Menno Lageman <menno.lageman@oracle.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-08-12 15:13:04 +02:00
..
2016-11-21 13:15:12 +01:00
2019-07-31 11:46:31 +02:00
2019-06-20 17:01:44 +02:00
2017-10-16 10:22:34 +01:00
2018-12-17 17:52:46 +01:00
2018-05-03 12:40:37 +01:00
2019-04-09 16:59:49 +02:00
2018-12-17 17:52:46 +01:00
2018-12-17 17:52:46 +01:00
2019-07-01 17:10:20 +02:00
2018-04-01 17:42:29 +02:00
2017-08-02 15:00:28 -04:00
2019-07-09 10:42:39 -05:00
2019-08-05 19:33:25 +02:00