ia64/xen-unstable

view tools/examples/bochsrc @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents 1bfa723fe264
children
line source
1 #megs: 32
2 #romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
3 #vgaromimage: $BXSHARE/VGABIOS-lgpl-latest
4 floppya: 1_44=a.img, status=inserted
5 floppyb: 1_44=b.img, status=inserted
6 # if you don't use absolute paths below, bochs looks under the cwd of xend,
7 # which is usually "/"
8 #ata0-master: type=disk, path=/var/images/min-el3-i386.img, cylinders=800, heads=4, spt=32
9 i440fxsupport: enabled=1
10 ne2k: ioaddr=0x300, irq=9, mac=b0:c4:22:01:00:00, ethmod=linux, ethdev=eth0
11 ata0-master: type=disk, path=/var/images/1g-el3-i386.img, mode=flat, cylinders=2048, heads=16, spt=63
12 boot: c
14 log: /tmp/bochsout.txt
15 #debug: action=report
16 info: action=report
17 error: action=report
18 panic: action=ask
20 mouse: enabled=0