Re: How to disable kvm_steal_time feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>
>> I've read, that disabling 'kvm_steal_time' feature should workarund
>> this bug, but i can't find a way to disable it in libvirt's domain xmlfile.
>
>There is no support for that in libvirt.  Either we must addit ad a
>feature (patches welcome), but if that's there just for a workaround,
>I would suggest chasing the original bug.
>
>If you just want to check that the workaround works, you could check
>how the '-cpu ' parameter looks like when the domain is running and
>then use the unsupported way of adding parameters to the qemu
>commandline to specify the -cpu parameter again (qemu should use the
>last one, so it should work), something like this:
>
><domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain>/qemu/1.0'>
>...
> <qemu:commandline>
>   <qemu:arg value='-cpu'/>
>   <qemu:arg value='${CPU_SPEC},-kvm_steal_time'/>
> </qemu:commandline>
></domain>
>
>where ${CPU_SPEC} is the next parameter after the '-cpu' one from the
>command line, so for qemu command line similar to this:
>
> qemu-kvm ... -cpu Nehalem,+feat,something ...
>
>the line in XML would be:
>
> <qemu:arg value='Nehalem,+feat,something,-kvm_steal_time'/>
>

Thank You Martin, that helped.

Just for information, commit for this bug in kernel:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7cae2bedcbd4680b155999655e49c27b9cf020fa

Best regards
Piotr Rybicki

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux