commit | 6b6de68c63eda6240ec92e44b998f910156f8806 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Tue Feb 09 13:47:55 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Feb 16 18:48:29 2016 +0100 |
tree | bbac3e4b7e1ce1c9fdfef89b3fea0a04ad85e88e | |
parent | efef127c30c5ded4cb10fe36275d9b11d4633de4 [diff] |
KVM: halt_polling: improve grow/shrink settings Right now halt_poll_ns can be change during runtime. The grow and shrink factors can only be set during module load. Lets fix several aspects of grow shrink: - make grow/shrink changeable by root - make all variables unsigned int - read the variables once to prevent races Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>