From: Gerd Hoffmann <kraxel@redhat.com>
To: Jonathan Scruggs <j.scruggs@gmail.com>
Cc: vfio-users <vfio-users@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode
Date: Mon, 25 Jan 2016 09:29:24 +0100 [thread overview]
Message-ID: <1453710564.22422.17.camel@redhat.com> (raw)
In-Reply-To: <CADABvUQc8A2hSQMjyeewjxpOupsTWunv5fAEz8o0rK9dn17Eaw@mail.gmail.com>
Hi,
> 1)
> Is it possible to have an option that would enable running a program
> on the host on switching, IE when both CRTL keys are pressed. It would
> run on the host regardless if it was on the guest machine when the
> keys pressed.
> An option like 'onswitchexecute=/usr/bin/monitorswitch'
Should be doable. We have other places with simliar things already
(network setup for example).
> Something like that. I have a small program that switches the monitor
> input via I2C direct (if interested: http://pastebin.com/6Hd0pafF).
> The program would need to be modified a little bit to not use a
> variable input. but to somehow detect what it's currently at and then
> switch to the opposite -- shouldn't be too hard.
Calling the thing with "host" or "guest" as argument should be easy too.
> This would be useful for number idea one.
> Instead of both CTRL keys, could the hotkey be something like CTRL
> +SHIFT+ALT+1 for the host, and then each guest would set an option of
> 2 through 9.
Not going to work. At least not a direct guest -> guest switch, only
guest1 -> host -> guest2.
cheers,
Gerd
next prev parent reply other threads:[~2016-01-25 8:29 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 14:18 [Qemu-devel] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode Gerd Hoffmann
2015-12-14 14:18 ` [Qemu-devel] [PATCH v2 2/3] input: linux evdev support Gerd Hoffmann
2015-12-14 16:44 ` [Qemu-devel] [vfio-users] " thibaut noah
2015-12-14 14:18 ` [Qemu-devel] [PATCH v2 3/3] input-linux: add option to toggle grab on all devices Gerd Hoffmann
2016-01-04 10:10 ` [Qemu-devel] [vfio-users] [PATCH v2 1/3] input: add qemu_input_qcode_to_linux + qemu_input_linux_to_qcode Jonathan Scruggs
2016-01-04 11:56 ` Gerd Hoffmann
2016-01-04 13:13 ` Jonathan Scruggs
2016-01-04 13:19 ` Jonathan Scruggs
[not found] ` <CAAaYXTufBXAyrc0tNkOmRWZ6qmGW5qpyfAfjmOnRsHpgi4H1YA@mail.gmail.com>
2016-01-05 2:24 ` [Qemu-devel] Fwd: " sL1pKn07 SpinFlo
2016-01-05 7:05 ` [Qemu-devel] " Gerd Hoffmann
2016-01-05 8:06 ` Jonathan Scruggs
2016-01-05 14:44 ` sL1pKn07 SpinFlo
2016-01-06 7:53 ` Gerd Hoffmann
[not found] ` <CAAaYXTvQJmgZEz8AUfe5GNULcbpN7TA8DdCNDFxD4yZKAju=kg@mail.gmail.com>
2016-01-07 4:55 ` [Qemu-devel] Fwd: " sL1pKn07 SpinFlo
[not found] ` <1452087192.6096.38.camel@redhat.com>
2016-01-07 4:57 ` sL1pKn07 SpinFlo
2016-01-13 20:34 ` [Qemu-devel] " sL1pKn07 SpinFlo
2016-01-14 23:19 ` sL1pKn07 SpinFlo
2016-01-15 8:50 ` Gerd Hoffmann
[not found] ` <CAAaYXTuX0qzgwqF0TWoVQ1zBKcNOWDEVUjat8Pe5XzP4PhHifw@mail.gmail.com>
2016-01-15 18:04 ` [Qemu-devel] Fwd: " sL1pKn07 SpinFlo
[not found] ` <1452864264.23156.72.camel@redhat.com>
2016-01-15 18:06 ` sL1pKn07 SpinFlo
2016-01-15 18:14 ` [Qemu-devel] " sL1pKn07 SpinFlo
2016-01-18 11:47 ` Jonathan Scruggs
2016-01-18 14:13 ` Gerd Hoffmann
2016-01-23 21:51 ` Jonathan Scruggs
2016-01-25 8:13 ` Gerd Hoffmann
2016-01-24 15:06 ` Jonathan Scruggs
2016-01-25 8:29 ` Gerd Hoffmann [this message]
[not found] ` <CAAaYXTty+R2DJ3=Uc3K3xJ+iTNEHdA4JE1_iWXdL=U3sPwqjZw@mail.gmail.com>
2016-01-05 2:26 ` sL1pKn07 SpinFlo
2016-01-05 7:06 ` Gerd Hoffmann
[not found] ` <CAAaYXTvaDntkeSOKvu12UwT4FeAkspM12q94GE=keRTn-NOUsQ@mail.gmail.com>
2016-01-05 2:27 ` sL1pKn07 SpinFlo
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=1453710564.22422.17.camel@redhat.com \
--to=kraxel@redhat.com \
--cc=j.scruggs@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=vfio-users@redhat.com \
/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).