From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2qO-0007R3-Sj for qemu-devel@nongnu.org; Mon, 24 Mar 2014 07:15:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS2qI-0005Qa-Qn for qemu-devel@nongnu.org; Mon, 24 Mar 2014 07:15:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS2qI-0005QS-JA for qemu-devel@nongnu.org; Mon, 24 Mar 2014 07:14:58 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2OBEvMi022364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Mar 2014 07:14:57 -0400 Message-ID: <1395659694.15484.56.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Mon, 24 Mar 2014 12:14:54 +0100 In-Reply-To: <20140324093621.GA3829@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> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] multihead & multiseat in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: David Airlie , Lennart Poettering , qemu-devel 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. 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. cheers, Gerd