qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 6/6] docs: add multiseat.txt
Date: Wed, 21 May 2014 11:18:38 +0200	[thread overview]
Message-ID: <537C6F6E.5070401@redhat.com> (raw)
In-Reply-To: <1400661485.10933.22.camel@nilsson.home.kraxel.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

  reply	other threads:[~2014-05-21  9:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20 14:00 [Qemu-devel] [PATCH 0/6] add input routing and multiseat support Gerd Hoffmann
2014-05-20 14:00 ` [Qemu-devel] [PATCH 1/6] input: switch hid keyboard to new input layer api Gerd Hoffmann
2014-05-20 14:00 ` [Qemu-devel] [PATCH 2/6] input: switch hid mouse and tablet to the " Gerd Hoffmann
2014-05-20 14:00 ` [Qemu-devel] [PATCH 3/6] input: bind devices and input routing Gerd Hoffmann
2014-05-20 14:00 ` [Qemu-devel] [PATCH 4/6] sdl: pass key event source to input layer Gerd Hoffmann
2014-05-20 14:00 ` [Qemu-devel] [PATCH 5/6] usb: add input routing support for tablet and keyboard Gerd Hoffmann
2014-05-20 14:00 ` [Qemu-devel] [PATCH 6/6] docs: add multiseat.txt Gerd Hoffmann
2014-05-20 18:08   ` Paolo Bonzini
2014-05-21  8:38     ` Gerd Hoffmann
2014-05-21  9:18       ` Paolo Bonzini [this message]
2014-05-21  9:51         ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537C6F6E.5070401@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).