qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] TCP based PCIE request forwarding


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] TCP based PCIE request forwarding
Date: Thu, 22 Nov 2012 13:38:32 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Nov 22, 2012 at 11:21:58AM +0100, Paolo Bonzini wrote:
> Il 22/11/2012 09:19, Stefan Hajnoczi ha scritto:
> >> > usage
> >> > -----
> >> > PCIEFW devices are instanciated using the following QEMU options:
> >> > -device \
> >> >  pciefw,\
> >> >  laddr=<local_addr>,\
> >> >  lport=<local_port>,\
> >> >  raddr=<remote_addr>,\
> >> >  rport=<remote_port>
> > Take a look at qemu_socket.h:socket_parse().  It should allow you to
> > support TCP, UNIX domain sockets, and arbitrary file descriptors.
> > 
> 
> Even better it could just be a chardev.  socket_parse() is only used by
> the (human) monitor interface.

The issue with chardev is that it's asynchronous.

In this case we cannot return from MemoryRegionOps->read() or
MemoryRegionOps->write() back to the event loop.

Stefan



reply via email to

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