Re: Solaris 10 doesn't work under KVM

Avi Kivity
2007-01-29T11:49:06Z

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

Waba wrote:
> Hello,
>
> I tried to install Solaris 10 under KVM, without success, so Avi told me
> to post the details here. My CPU is an AMD X2, and I am using KVM trunk
> on a 2.6.19.2, started with the following command-line:
>
> kvm -hda solaris.qcow -cdrom sol-10-u3-ga-x86-dvd.iso -boot d -m 512 -no-acpi
>
> (I tried with and without -no-acpi).
>
> If I follow the normal installation path, I soon get messages like:
>
> svc.startd[7]: svc:/milestone/single-user:default: Method "/sbin/rcS start" failed due to signal ILL
>
>

The attached patch should fix it.

--
error compiling committee.c: too many arguments to function

[-- Attachment #2: kvm-svm-cr0-wp.patch --]
[-- Type: text/x-patch, Size: 324 bytes --]

Index: svm.c
===================================================================
--- svm.c (revision 4344)
+++ svm.c (working copy)
@@ -727,7 +727,7 @@
}
#endif
vcpu->svm->cr0 = cr0;
- vcpu->svm->vmcb->save.cr0 = cr0 | CR0_PG_MASK;
+ vcpu->svm->vmcb->save.cr0 = cr0 | CR0_PG_MASK | CR0_WP_MASK;
vcpu->cr0 = cr0;
}

[-- Attachment #3: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org