On Wed, 16 May 2007 15:51:27 +0200,
Carsten Otte <[EMAIL PROTECTED]> wrote:

> +static int priv_chsc(struct zlcpu *cpu)
> +{
> +
> +     debug("cpu %d: channel subsystem call at %lx", cpu->cpuno, 
> cl_get_psw(cpu).addr);
> +     setcc(cpu, 3);

Actually, while this works for a Linux guest, this is not quite the
correct response for "don't do chsc". Either
- set a response code of 0x0004 (requires setting up areas etc.)
or
- do a program exception for chsc
If someone had the idea to run a non-Linux guest someday, cc=3 would
not quite be what they expected by the architecture :)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to