Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166923
b: refs/heads/master
c: 6a54435
h: refs/heads/master
i:
  166921: cfbe8a7
  166919: e8f63e8
v: v3
  • Loading branch information
Avi Kivity committed Oct 4, 2009
1 parent 9e2422d commit 0c31c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb5109e311b5152c0614a28d7d615d087f268f19
refs/heads/master: 6a54435560efdab1a08f429a954df4d6c740bddf
2 changes: 2 additions & 0 deletions trunk/arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,8 @@ static int kvm_dev_ioctl_get_supported_cpuid(struct kvm_cpuid2 *cpuid,

if (cpuid->nent < 1)
goto out;
if (cpuid->nent > KVM_MAX_CPUID_ENTRIES)
cpuid->nent = KVM_MAX_CPUID_ENTRIES;
r = -ENOMEM;
cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry2) * cpuid->nent);
if (!cpuid_entries)
Expand Down

0 comments on commit 0c31c16

Please sign in to comment.