[uml-devel] [PATCH] Fix readonly ubd

2012-06-06 Thread Martin Pärtel
Hi, ubd_file_size() was recently patched so that it fails if an image is readonly. Patch attached. --- a/arch/um/drivers/ubd_kern.c 2012-06-01 10:18:44.0 +0300 +++ b/arch/um/drivers/ubd_kern.c 2012-06-07 03:41:44.790899305 +0300 @@ -514,7 +514,7 @@ goto out; } - fd = os_open_file(

Re: [uml-devel] um: TTY fixes (?)

2012-06-06 Thread Richard Weinberger
Am 04.06.2012 23:17, schrieb Alan Cox: > We can half ignore it on console for the simple reason that you don't > "dial in" to the console. I suspect it may be abusable but I've not found > a way to do so. > BTW: Can't we add such a mode to tty_port? E.g. tty_port->non_dialin_console. 8) Nobody d

Re: [uml-devel] um: TTY fixes (?)

2012-06-06 Thread Boaz Harrosh
On 06/04/2012 11:27 PM, Richard Weinberger wrote: > This patch set moves the UML console driver to the new TTY port interface. > It does ref counting and uses the tty_port_*-helpers. > Please note, it's not yet UML mconsole safe! > > Anyway, I see some really strange things and I'm not sure wheth