linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] udev: add rules for qemu guests
Date: Tue, 25 Jan 2011 14:45:19 +0000	[thread overview]
Message-ID: <4D3EE1FF.2050908@redhat.com> (raw)
In-Reply-To: <1295952245-3038-1-git-send-email-kraxel@redhat.com>

   Hi,

>> No dependency at all.  What number do you suggest then?
>
> Doesn't really matter, we just leave 00-09 and 91-99 for other custom
> stuff, to get easily before and after the common things.

Fine, so I can pick '42' ;)

>> Ok.  Is there some way to express "power/control doesn't exist but
>> power/level does" as udev rule, so I can zap the shell script?
>
> TEST="" should do that.

Thanks.

>> Havn't checked whenever there is a in-kernel white list for that stuff which
>> could be used instead.
>
> Yeah, would be nice to have some generic way to enable autosuspend
> when the hardware (real or emulated one) hints that it supports that.

Well, there is a descriptor bit for that of course, but unfortunately 
one can't expect that only (physical or virtual) devices without bugs 
actually set that ...

cheers,
   Gerd


      parent reply	other threads:[~2011-01-25 14:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 10:44 [PATCH] udev: add rules for qemu guests Gerd Hoffmann
2011-01-25 12:01 ` Kay Sievers
2011-01-25 12:20 ` Gerd Hoffmann
2011-01-25 13:39 ` Kay Sievers
2011-01-25 14:07 ` Gerd Hoffmann
2011-01-25 14:21 ` Kay Sievers
2011-01-25 14:45 ` Gerd Hoffmann [this message]

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=4D3EE1FF.2050908@redhat.com \
    --to=kraxel@redhat.com \
    --cc=linux-hotplug@vger.kernel.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).