]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
qemu-dm: open char devices "file:..." with O_APPEND
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 28 Nov 2011 17:16:52 +0000 (17:16 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 28 Nov 2011 17:16:52 +0000 (17:16 +0000)
commit89daacab7035d408f32f2cb1acf68c96d6cbefed
tree888602ecea40635aa890baaf94a36e3ebf7f44d2
parent174d92a73a5d5e67c49501383a519021b72a2468
qemu-dm: open char devices "file:..." with O_APPEND

The "file:..." character open method is used by serial and parallel
ports, to divert the output to a file (and these devices never produce
any input).  This is like a logfile, and so should be opened for
append.

In qemu-xen-unstable, this is used only for the qemu stderr by libxl.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
qemu-char.c