[libvirt] [PATCH] Allow chardev of type 'file' for UML domains.

Matthias Bolte matthias.bolte at googlemail.com
Tue Aug 24 09:22:33 UTC 2010


2010/8/23 Daniel P. Berrange <berrange at redhat.com>:
> On Mon, Aug 23, 2010 at 01:25:50PM +0200, Soren Hansen wrote:
>> Like the comment suggested, we just open the file and pass the file
>> descriptor to uml. The input "stream" is set to "null", since I couldn't
>> find any useful way to actually use a file for input for a chardev and
>> this also mimics what e.g. QEmu does internally.
>>
>> Signed-off-by: Soren Hansen <soren at linux2go.dk>
>> ---
>>  src/uml/uml_conf.c   |   31 ++++++++++++++++++++++++++-----
>>  src/uml/uml_conf.h   |    1 +
>>  src/uml/uml_driver.c |   10 +++++++++-
>>  3 files changed, 36 insertions(+), 6 deletions(-)
>
> ACK, looks good now.
>

I applied and pushed this patch.

Matthias




More information about the libvir-list mailing list