Add comment about cpu type
authorLauri Kasanen <cand@gmx.com>
Fri, 28 May 2021 06:34:11 +0000 (09:34 +0300)
committerLauri Kasanen <cand@gmx.com>
Fri, 28 May 2021 06:34:11 +0000 (09:34 +0300)
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();