head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.26 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.24 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.22 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.20 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.18 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.16 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.14 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.12 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.10 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.8 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.6 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.4 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.2 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.1.1.0.2 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2007.06.14.19.44.51; author bouyer; state dead; branches; next 1.2; 1.2 date 2006.10.19.22.57.13; author bouyer; state Exp; branches; next 1.1; 1.1 date 2006.07.02.16.49.31; author bouyer; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.07.02.16.49.31; author bouyer; state Exp; branches; next ; desc @@ 1.3 log @Renamed xen*30 to xen*3 @ text @$NetBSD: patch-au,v 1.2 2006/10/19 22:57:13 bouyer Exp $ --- libxc/xc_private.h.orig 2006-10-16 22:15:35.000000000 +0200 +++ libxc/xc_private.h 2006-10-16 22:16:09.000000000 +0200 @@@@ -15,7 +15,11 @@@@ #include "xenctrl.h" +#ifdef __NetBSD__ +#include +#else #include +#endif /* valgrind cannot see when a hypercall has filled in some values. For this reason, we must zero the privcmd_hypercall_t or domctl/sysctl instance @ 1.2 log @Update to 3.0.3. I don't have a comprehensive list of changes, only "many new features". One looks promising: - a new easy-to-use CPU scheduler which includes weights, caps, and automatic SMP load-balancing; pkgsrc changes: - remove patches against unused files - add a netbsd-specific example with verbose comments - add a vif script for ip-routing based setups @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.1.1.1 2006/07/02 16:49:31 bouyer Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- libxc/xc_private.h.orig 2006-04-13 19:48:38.000000000 +0200 +++ libxc/xc_private.h 2006-05-07 20:33:41.000000000 +0200 a8 1 -#include d12 1 a12 1 +include d16 1 a16 16 reason, we must zero the privcmd_hypercall_t or dom0_op_t instance before a @@@@ -66,9 +70,13 @@@@ static inline int do_xen_hypercall(int xc_handle, privcmd_hypercall_t *hypercall) { - return do_privcmd(xc_handle, + int err = do_privcmd(xc_handle, IOCTL_PRIVCMD_HYPERCALL, (unsigned long)hypercall); + if (err == 0) + return 0; + else + return -errno; } static inline int do_xen_version(int xc_handle, int cmd, void *dest) @ 1.1.1.1 log @Initial import of a packages for Xen 3.0 domain0 tools. @ text @@