diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-05-19 18:55:21 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-20 09:12:57 -0500 |
commit | 76ae317f7c16aec6b469604b1764094870a75470 (patch) | |
tree | 41a937d49a1fce0c4face186de07fecb24766fee /migration.c | |
parent | e561a2809fc63b77b05075b10b713749edf93e25 (diff) | |
download | qemu-76ae317f7c16aec6b469604b1764094870a75470.tar.gz qemu-76ae317f7c16aec6b469604b1764094870a75470.tar.bz2 qemu-76ae317f7c16aec6b469604b1764094870a75470.zip |
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>
Diffstat (limited to 'migration.c')
0 files changed, 0 insertions, 0 deletions