qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC] char: fix avail_connections init in qemu_ch


From: David Marchand
Subject: Re: [Qemu-devel] [PATCH RFC] char: fix avail_connections init in qemu_chr_open_eventfd()
Date: Fri, 14 Feb 2014 13:16:53 +0100

Hello Cam, 


On Thu, Feb 13, 2014 at 7:58 PM, Cam Macdonell <address@hidden> wrote:
I'm not sure which is the correct approach.  You could either do what you did or you could simply remove the qemu_chr_fe_claim_no_fail() from ivshmem.c.  I'm not sure how your change impacts other devices.


Actually, the first thing I tried, when I encountered the problem, was to remove qemu_chr_fe_claim_no_fail(), and it worked.

In HEAD, ivshmem seems to be the only place where qemu_chr_open_eventfd() is used :
$ git grep qemu_chr_open_eventfd
hw/misc/ivshmem.c:    chr = qemu_chr_open_eventfd(eventfd);
include/sysemu/char.h:CharDriverState *qemu_chr_open_eventfd(int eventfd);
qemu-char.c:CharDriverState *qemu_chr_open_eventfd(int eventfd)

I suppose my change is not that impacting :-)


Regards, 
-- 
David Marchand

reply via email to

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