Lors de l'utilisation du module kvm, penser à vérifier l'état de ses paramètres:
$ systool -v -m kvm
Module = "kvm"
Attributes:
coresize = "456261"
initsize = "0"
initstate = "live"
refcnt = "1"
srcversion = "BC27E5FC9EC8E4A83C79517"
taint = "F"
uevent = <store method only>
Parameters:
allow_unsafe_assigned_interrupts= "N"
ignore_msrs = "N"
min_timer_period_us = "500"
tsc_tolerance_ppm = "250"
...
Penser aussi à vérifier le module "kvm_intel" afin d'activer les "ept" et "nested"
$ systool -v -m kvm_intel
Module = "kvm_intel"
Attributes:
coresize = "137928"
initsize = "0"
initstate = "live"
refcnt = "0"
srcversion = "0DB7A728004E8D66BAA5199"
taint = "F"
uevent = <store method only>
Parameters:
emulate_invalid_guest_state= "Y"
ept = "Y"
eptad = "Y"
fasteoi = "Y"
flexpriority = "Y"
nested = "Y"
ple_gap = "128"
ple_window = "4096"
unrestricted_guest = "Y"
vmm_exclusive = "Y"
vpid = "Y"
Si les paramètres ne sont pas correctes, faire:
$ sudo rmmod kvm_intel
$ sudo modprobe kvm_intel ept="Y" nested="Y"
Aucun commentaire:
Enregistrer un commentaire