From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5rrF-0004Ur-2f for qemu-devel@nongnu.org; Fri, 19 Jun 2015 04:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5rrC-00026K-32 for qemu-devel@nongnu.org; Fri, 19 Jun 2015 04:41:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5rrB-000265-UO for qemu-devel@nongnu.org; Fri, 19 Jun 2015 04:41:02 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 899F52F6689 for ; Fri, 19 Jun 2015 08:41:01 +0000 (UTC) Message-ID: <1434703259.7779.31.camel@redhat.com> From: Gerd Hoffmann Date: Fri, 19 Jun 2015 10:40:59 +0200 In-Reply-To: <20150619094927-mutt-send-email-mst@redhat.com> References: <1434620035-10808-1-git-send-email-kraxel@redhat.com> <1434620035-10808-2-git-send-email-kraxel@redhat.com> <20150618113745-mutt-send-email-mst@redhat.com> <1434642288.4968.51.camel@redhat.com> <20150619094927-mutt-send-email-mst@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 1/1] virtio-input: evdev passthrough List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org Hi, > > Hmm, looking into this. Can't figure how this works. For virtio-net a > > bunch of properties are defined for virtio-net-device. But they show up > > (using -device $dev,?) on both virtio-net-device and virtio-net-pci. > > > > Trying to do the same for the (already merged) virtio-input hid devices. > > Not working. Patch below. Any clues? > > > > thanks, > > Gerd > > > > > I think the missing magic is virtio_instance_init_common > which calls qdev_alias_all_properties. Yes, that was it. Figured it meanwhile, new patches just sent to the list. cheers, Gerd