Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/xen



Module Name:    src
Committed By:   bouyer
Date:           Sun Feb 17 16:21:19 UTC 2008

Modified Files:
        src/sys/arch/xen/include: xenio.h xenio3.h
        src/sys/arch/xen/xen: privcmd.c

Log Message:
Fix IOCTL_PRIVCMD_HYPERCALL issue which shows up with xen-3.1.3:
some hypercalls results are returned though the error path (depending on
sign, it's an error code or a result), and some results are interpreted in
a special way by the NetBSD kernel (e.g. -1).
Add a 'retval' member to the privcmd_hypercall_t argument, which holds
the hypercall result if it completed without error. The error code
is returned via the usual error path.
Handle the old IOCTL_PRIVCMD_HYPERCALL under COMPAT_40.

While there, make the double-inclusion protection #define match the
convention in xenio3.h and xenio.h.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/include/xenio.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/xen/include/xenio3.h
cvs rdiff -r1.24 -r1.25 src/sys/arch/xen/xen/privcmd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index