projects
/
kvm-minippc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add comment about cpu type
[kvm-minippc.git]
/
main.c
diff --git
a/main.c
b/main.c
index 041d0c7cd8d773e7acc0216e4b32fc90cdd819b7..5012602b756c5ffd7bca90933be29543386ae2d4 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-385,6
+385,8
@@
int main(int argc, char **argv) {
if (ioctl(vcpu, KVM_GET_SREGS, &sregs) == -1)
abort();
+ // It defaults to host cpu on POWER5+, which is what we want.
+ // http://pearpc.sourceforge.net/pvr.html
if (ioctl(vcpu, KVM_SET_SREGS, &sregs) == -1)
abort();