[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Is ivshmem's use of qemu_chr_open_eventfd() kosher?
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Is ivshmem's use of qemu_chr_open_eventfd() kosher? |
Date: |
Tue, 24 Nov 2015 13:43:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 24/11/2015 13:26, Markus Armbruster wrote:
> Device models (a.k.a. frontends) are normally not supposed to create
> backends by themselves, because it blurs the separation between frontend
> and backend, and commonly denies the user the opportunity to fully
> configure the backend.
Right, but here the fd comes from the ivshmem server. It's just using
the chardev API internally. It could be changed with little effort to
use a GSource or qemu_set_fd_handler.
Paolo