Re: [systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

2015-07-01 Thread Gerd Hoffmann
On Mi, 2015-07-01 at 13:10 +0200, David Herrmann wrote:
 Hi
 
 On Mon, Jun 29, 2015 at 9:42 AM, Gerd Hoffmann kra...@redhat.com wrote:
  Signed-off-by: Gerd Hoffmann kra...@redhat.com
  ---
   src/login/71-seat.rules.in | 6 ++
   1 file changed, 6 insertions(+)
 
  diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
  index ab7b66f..270da71 100644
  --- a/src/login/71-seat.rules.in
  +++ b/src/login/71-seat.rules.in
  @@ -17,6 +17,12 @@ SUBSYSTEM==usb, ATTR{bDeviceClass}==09, TAG+=seat
   # 'Plugable' USB hub, sound, network, graphics adapter
   SUBSYSTEM==usb, ATTR{idVendor}==2230, ATTR{idProduct}==000[13], 
  ENV{ID_AUTOSEAT}=1
 
  +# qemu (version 2.4+) has a PCI-PCI bridge (-device pci-bridge-seat)
  +# to group devices belonging to one seat.
  +# see http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
  +SUBSYSTEM==pci, ATTR{vendor}==0x1b36, ATTR{device}==0x000a, \
  +   TAG+=seat, ENV{ID_AUTOSEAT}=1
  +
 
 I have no idea why this is correct. Could you provide a proper commit-message?
 
 Is this specific VID/PID match exclusively used for seat'ing?

Yes.  The normal pci-pci bridge (-device pci-bridge) has 1b36:0001.
The new pci-bridge-seat was specifically added to simplify guest-side
multiseat configuration.  It is identical to the normal pci-pci bridge,
except that it has a different id (1b36:000a) so we can match it and
configure multiseating automatically.

The documentation linked in the comment has all the details.  /me
through this would be more useful as it is visible on the installed
system (unlike the git commit message).

But I can cut  paste the paragraph above into the commit message and
resend.  Or should I redo the github pull-request instead?

cheers,
  Gerd


___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

2015-07-01 Thread David Herrmann
Hi

On Mon, Jun 29, 2015 at 9:42 AM, Gerd Hoffmann kra...@redhat.com wrote:
 Signed-off-by: Gerd Hoffmann kra...@redhat.com
 ---
  src/login/71-seat.rules.in | 6 ++
  1 file changed, 6 insertions(+)

 diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
 index ab7b66f..270da71 100644
 --- a/src/login/71-seat.rules.in
 +++ b/src/login/71-seat.rules.in
 @@ -17,6 +17,12 @@ SUBSYSTEM==usb, ATTR{bDeviceClass}==09, TAG+=seat
  # 'Plugable' USB hub, sound, network, graphics adapter
  SUBSYSTEM==usb, ATTR{idVendor}==2230, ATTR{idProduct}==000[13], 
 ENV{ID_AUTOSEAT}=1

 +# qemu (version 2.4+) has a PCI-PCI bridge (-device pci-bridge-seat)
 +# to group devices belonging to one seat.
 +# see http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
 +SUBSYSTEM==pci, ATTR{vendor}==0x1b36, ATTR{device}==0x000a, \
 +   TAG+=seat, ENV{ID_AUTOSEAT}=1
 +

I have no idea why this is correct. Could you provide a proper commit-message?

Is this specific VID/PID match exclusively used for seat'ing? Or might
other pci-bridges use the same (without any intention to get different
seats?). Even if that's the case, I'm still fine with you default, but
please describe this properly so we can understand the implications
later on.

Thanks!
David

  # Mimo 720, with integrated USB hub, displaylink graphics, and e2i
  # touchscreen. This device carries no proper VID/PID in the USB hub,
  # but it does carry good ID data in the graphics component, hence we
 --
 1.8.3.1

 ___
 systemd-devel mailing list
 systemd-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/systemd-devel
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

2015-07-01 Thread David Herrmann
Hi

On Wed, Jul 1, 2015 at 4:25 PM, Gerd Hoffmann kra...@redhat.com wrote:
 On Mi, 2015-07-01 at 13:10 +0200, David Herrmann wrote:
 Hi

 On Mon, Jun 29, 2015 at 9:42 AM, Gerd Hoffmann kra...@redhat.com wrote:
  Signed-off-by: Gerd Hoffmann kra...@redhat.com
  ---
   src/login/71-seat.rules.in | 6 ++
   1 file changed, 6 insertions(+)
 
  diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
  index ab7b66f..270da71 100644
  --- a/src/login/71-seat.rules.in
  +++ b/src/login/71-seat.rules.in
  @@ -17,6 +17,12 @@ SUBSYSTEM==usb, ATTR{bDeviceClass}==09, TAG+=seat
   # 'Plugable' USB hub, sound, network, graphics adapter
   SUBSYSTEM==usb, ATTR{idVendor}==2230, ATTR{idProduct}==000[13], 
  ENV{ID_AUTOSEAT}=1
 
  +# qemu (version 2.4+) has a PCI-PCI bridge (-device pci-bridge-seat)
  +# to group devices belonging to one seat.
  +# see http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
  +SUBSYSTEM==pci, ATTR{vendor}==0x1b36, ATTR{device}==0x000a, \
  +   TAG+=seat, ENV{ID_AUTOSEAT}=1
  +

 I have no idea why this is correct. Could you provide a proper 
 commit-message?

 Is this specific VID/PID match exclusively used for seat'ing?

 Yes.  The normal pci-pci bridge (-device pci-bridge) has 1b36:0001.
 The new pci-bridge-seat was specifically added to simplify guest-side
 multiseat configuration.  It is identical to the normal pci-pci bridge,
 except that it has a different id (1b36:000a) so we can match it and
 configure multiseating automatically.

Ok, then this looks fine.

 The documentation linked in the comment has all the details.  /me
 through this would be more useful as it is visible on the installed
 system (unlike the git commit message).

 But I can cut  paste the paragraph above into the commit message and
 resend.  Or should I redo the github pull-request instead?

I can amend this information.

Thanks
David
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

2015-07-01 Thread Gerd Hoffmann
  Hi,

  But I can cut  paste the paragraph above into the commit message and
  resend.  Or should I redo the github pull-request instead?
 
 I can amend this information.

Great.

thanks,
  Gerd


___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

2015-06-29 Thread systemd github import bot
Patchset imported to github.
To create a pull request, one of the main developers has to initiate one via:
https://github.com/systemd/systemd/compare/master...systemd-mailing-devs:1435563731-465-1-git-send-email-kraxel%40redhat.com

--
Generated by https://github.com/haraldh/mail2git
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] [PATCH] loginctl: add rule for qemu's pci-bridge-seat

2015-06-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
 src/login/71-seat.rules.in | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in
index ab7b66f..270da71 100644
--- a/src/login/71-seat.rules.in
+++ b/src/login/71-seat.rules.in
@@ -17,6 +17,12 @@ SUBSYSTEM==usb, ATTR{bDeviceClass}==09, TAG+=seat
 # 'Plugable' USB hub, sound, network, graphics adapter
 SUBSYSTEM==usb, ATTR{idVendor}==2230, ATTR{idProduct}==000[13], 
ENV{ID_AUTOSEAT}=1
 
+# qemu (version 2.4+) has a PCI-PCI bridge (-device pci-bridge-seat)
+# to group devices belonging to one seat.
+# see http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
+SUBSYSTEM==pci, ATTR{vendor}==0x1b36, ATTR{device}==0x000a, \
+   TAG+=seat, ENV{ID_AUTOSEAT}=1
+
 # Mimo 720, with integrated USB hub, displaylink graphics, and e2i
 # touchscreen. This device carries no proper VID/PID in the USB hub,
 # but it does carry good ID data in the graphics component, hence we
-- 
1.8.3.1

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel