Revision 8e045ac4
b/kvm-all.c | ||
---|---|---|
91 | 91 |
int i; |
92 | 92 |
|
93 | 93 |
for (i = 0; i < ARRAY_SIZE(s->slots); i++) { |
94 |
/* KVM private memory slots */ |
|
95 |
if (i >= 8 && i < 12) { |
|
96 |
continue; |
|
97 |
} |
|
98 | 94 |
if (s->slots[i].memory_size == 0) { |
99 | 95 |
return &s->slots[i]; |
100 | 96 |
} |
Also available in: Unified diff