Source-Changes archive

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

CVS commit: [netbsd-4] src/sys/arch/xen



Module Name:    src
Committed By:   jdc
Date:           Sun Mar 23 09:43:00 UTC 2008

Modified Files:
        src/sys/arch/xen/include [netbsd-4]: xenio.h xenio3.h
        src/sys/arch/xen/xen [netbsd-4]: privcmd.c

Log Message:
Pull up revisions: (requested by bouyer in ticket #1083)
  src/sys/arch/xen/include/xenio.h      1.6
  src/sys/arch/xen/include/xenio3.h     1.2
  src/sys/arch/xen/xen/privcmd.c        1.25

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.5.24.1 src/sys/arch/xen/include/xenio.h
cvs rdiff -r1.1 -r1.1.24.1 src/sys/arch/xen/include/xenio3.h
cvs rdiff -r1.15.2.2 -r1.15.2.3 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