commit | 0926c7a4e5abd3cfebec3a6e35617730577ce932 | [log] [tgz] |
---|---|---|
author | Mark McLoughlin <markmc@redhat.com> | Wed May 20 15:36:18 2009 -0300 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed May 20 15:21:28 2009 -0500 |
tree | ed21db957f74aa0f0c9fbd8612ef495bdaf6c299 | |
parent | a02ba54eed0bcb588a4746a2702f1337cbfe54f8 [diff] |
kvm: work around supported cpuid ioctl() brokenness KVM_GET_SUPPORTED_CPUID has been known to fail to return -E2BIG when it runs out of entries. Detect this by always trying again with a bigger table if the ioctl() fills the table. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>