From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn2fl-0005q3-12 for qemu-devel@nongnu.org; Wed, 21 May 2014 05:19:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn2fc-0000AX-0c for qemu-devel@nongnu.org; Wed, 21 May 2014 05:18:52 -0400 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:40389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn2fb-0000AP-SS for qemu-devel@nongnu.org; Wed, 21 May 2014 05:18:43 -0400 Received: by mail-qg0-f54.google.com with SMTP id q108so2710494qgd.13 for ; Wed, 21 May 2014 02:18:43 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <537C6F6E.5070401@redhat.com> Date: Wed, 21 May 2014 11:18:38 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1400594447-16637-1-git-send-email-kraxel@redhat.com> <1400594447-16637-7-git-send-email-kraxel@redhat.com> <537B9A2B.7030807@redhat.com> <1400661485.10933.22.camel@nilsson.home.kraxel.org> In-Reply-To: <1400661485.10933.22.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 6/6] docs: add multiseat.txt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Il 21/05/2014 10:38, Gerd Hoffmann ha scritto: > On Di, 2014-05-20 at 20:08 +0200, Paolo Bonzini wrote: >> Is there anything about the window that we would like to configure? If >> so, should this be something like >> >> -object window,id=window.2 \ >> -device pci-bridge,addr=12.0,chassis_nr=2,id=head.2 \ >> -device secondary-vga,bus=head.2,addr=02.0,window=window.2 \ >> -device nec-usb-xhci,bus=head.2,addr=0f.0,id=usb.2 \ >> -device usb-kbd,bus=usb.2.0,port=1,window=window.2 \ >> -device usb-tablet,bus=usb.2.0,port=2,window=window.2 >> >> ? > > The "window" is a QemuConsole. Which is a object already, visible > in /backend/console[nr]. Has a device link pointing to the display > device it is bound to. > > QemuConsoles are automatically created by display devices and don't have > ids, so we lookup them using the display device id. See > qemu_input_handler_bind in patch #3. > > If there is anything to configure then it most likely will be ui > specific, i.e. we could possibly allow something like this ... > > -display gtk,display=video.1 \ > -vnc :0,display=video.2 > > ... to have one head show up on gtk and the other on vnc (needs '-vga > none -device VGA,id=video.1' instead of '-vga std'). How would you configure the case where one input goes to multiple heads (e.g. 2 seats, 4 monitors)? Paolo