From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2xa-0004iu-S2 for qemu-devel@nongnu.org; Mon, 24 Mar 2014 07:22:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS2xU-0007hw-Qa for qemu-devel@nongnu.org; Mon, 24 Mar 2014 07:22:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2xU-0007hn-HV for qemu-devel@nongnu.org; Mon, 24 Mar 2014 07:22:24 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2OBMNBp011420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Mar 2014 07:22:23 -0400 Date: Mon, 24 Mar 2014 11:22:19 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20140324112219.GD3829@work-vm> References: <1395408446.20837.49.camel@nilsson.home.kraxel.org> <20140321163727.GA14504@work-vm> <1395650203.15484.29.camel@nilsson.home.kraxel.org> <20140324093621.GA3829@work-vm> <1395659694.15484.56.camel@nilsson.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1395659694.15484.56.camel@nilsson.home.kraxel.org> Subject: Re: [Qemu-devel] multihead & multiseat in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: David Airlie , Lennart Poettering , qemu-devel * Gerd Hoffmann (kraxel@redhat.com) wrote: > On Mo, 2014-03-24 at 09:36 +0000, Dr. David Alan Gilbert wrote: > > * Gerd Hoffmann (kraxel@redhat.com) wrote: > > > Hi, > > > > > > > > I'd like to have some way to assign tags such as seat=foo or head=1 to > > > > > devices. Preferably in some way which can easily picked up with udev > > > > > rules, so it is easily usable by system-logind and Xorg server. > > > > > > > > Can't you just do this in the serial number strings for both monitor EDID > > > > and USB device, I'm assuming that's how current multiseat setups figure > > > > stuff out. > > > > > > We don't emulate monitor EDID ... > > > > > > Also the serial number for HID devices is (ab-)used to signal remote > > > wakeup support (see commit 7b074a22dab4bdda9864b933f1bc811a3db42845). > > > > Oh dear, that's a shame to use a field like that for a single bit of info. > > Indeed. Patch sent to systemd-devel to get that fixed. Yes, what are the logistics of when QEMU could change without breaking things. > Matching by serial number certainly makes sense. EDID emulation / > pass-through has been discussed before, so we might get that some day. > Also for virtio-gpu (which is the most important case) we have the > option to simply pass on serial numbers without the edid, maybe in > virtgpu_display_info. Yeh I guess for virtio/spice it's easy, and probably the only thing to worry about. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK