head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2; locks; strict; comment @# @; 1.4 date 2009.08.07.12.49.21; author cegger; state dead; branches; next 1.3; 1.3 date 2009.02.20.23.22.47; author cegger; state Exp; branches; next 1.2; 1.2 date 2008.10.09.10.15.52; author cegger; state dead; branches; next 1.1; 1.1 date 2008.10.08.19.13.41; author cegger; state Exp; branches; next ; desc @@ 1.4 log @Update to Xen 3.3.2. This is a mainenance release with a number of stability fixes. @ text @$NetBSD: patch-gb,v 1.3 2009/02/20 23:22:47 cegger Exp $ --- console/daemon/io.c.orig 2009-01-05 11:26:58.000000000 +0000 +++ console/daemon/io.c @@@@ -402,9 +402,7 @@@@ static int domain_create_tty(struct doma assert(dom->slave_fd == -1); assert(dom->master_fd == -1); - cfmakeraw(&term); - - if (openpty(&dom->master_fd, &dom->slave_fd, NULL, &term, NULL) < 0) { + if (openpty(&dom->master_fd, &dom->slave_fd, NULL, NULL, NULL) < 0) { err = errno; dolog(LOG_ERR, "Failed to create tty for domain-%d " "(errno = %i, %s)", @@@@ -412,6 +410,22 @@@@ static int domain_create_tty(struct doma return 0; } + if (tcgetattr(dom->slave_fd, &term) < 0) { + err = errno; + dolog(LOG_ERR, "Failed to get tty attributes for domain-%d " + "(errno = %i, %s)", + dom->domid, err, strerror(err)); + goto out; + } + cfmakeraw(&term); + if (tcsetattr(dom->slave_fd, TCSANOW, &term) < 0) { + err = errno; + dolog(LOG_ERR, "Failed to set tty attributes for domain-%d " + "(errno = %i, %s)", + dom->domid, err, strerror(err)); + goto out; + } + if ((slave = ptsname(dom->master_fd)) == NULL) { err = errno; dolog(LOG_ERR, "Failed to get slave name for domain-%d " @ 1.3 log @apply fixes from hannken@@ - make pygrub in interactive mode working (upstream c/s 18586) - PR port-xen/40675: make xen guest console visible (upstream c/s 18591) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Apply changeset 18441 from xen-3.3-testing tree. This fixes a typo introduced by the security fix for http://secunia.com/advisories/32064/ This effectively removes patch-gb @ text @d1 1 a1 1 $NetBSD: patch-gb,v 1.1 2008/10/08 19:13:41 cegger Exp $ d3 36 a38 11 --- python/xen/xend/image.py.orig 2008-08-22 09:49:08.000000000 +0000 +++ python/xen/xend/image.py @@@@ -502,7 +502,7 @@@@ class ImageHandler: if fifo_fd >= 0: self._openSentinel(sentinel_path_fifo) os.close(fifo_fd) - self.pid = self.vm.gatherDom(('image/device-model-pid', int)) + self.pid = self.vm._gatherDom(('image/device-model-pid', int)) log.debug("%s device model rediscovered, pid %s sentinel fifo %s", name, self.pid, sentinel_path_fifo) self.sentinel_thread = thread.start_new_thread(self._sentinel_watch,()) @ 1.1 log @Apply changeset 18434 from upstream xen-3.3-testing tree. This fixes security issue http://secunia.com/advisories/32064/ @ text @d1 1 a1 1 $NetBSD$ @