qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/12] char: rename qemu_chr_write() to qemu_chr


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 01/12] char: rename qemu_chr_write() to qemu_chr_fe_write()
Date: Thu, 04 Aug 2011 19:17:53 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Thunderbird/3.1.11

On 08/04/2011 07:14 PM, Avi Kivity wrote:

Yes, I'm just talking about the function names, not about the implementation.

  qemu_chr_fe_write(chr,...) -> qemu_chr_write(chr, ...)
  qemu_chr_be_write(chr, ...) -> qemu_chr_write(&chr->backend, ...)


And, if you want an internal pipe:

   QemuPipeEndpoint pipe1, pipe2;

   qemu_chr_pipe_init(&pipe0, &pipe1);

so clients don't have to choose between frontend and backend. Finally you can connect COM1: to COM2: with a qemu-provided null modem cable!

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]