[libvirt] PCI/USB devices documentation

Hello, so far unsuccessfully, I'm trying to attach PCI/USB devices to Guests (via virt-manager, soon via virsh because - whatever :]). Anyway, there is <hostdev managed='yes'> where I'm wondering what 'managed' means, because it's not documented here[1]. Is it a bug or is it documented elsewhere? btw also, 'Node devices XML format'[2] page is empty Thanks, Zdenek References: --- [1] http://libvirt.org/formatdomain.html#elementsUSB [2] http://libvirt.org/formatnode.html PS: I haven't forgotten about Slackware SSH how-to, but- *sigh* I promise! -- Zdenek Styblik Net/Linux admin OS TurnovFree.net email: stybla@turnovfree.net jabber: stybla@jabber.turnovfree.net

于 2010年11月01日 21:38, Zdenek Styblik 写道:
Hello,
so far unsuccessfully, I'm trying to attach PCI/USB devices to Guests (via virt-manager, soon via virsh because - whatever :]). Anyway, there is<hostdev managed='yes'> where I'm wondering what 'managed' means, because it's not documented here[1]. Is it a bug or is it documented elsewhere?
[quote] In managed mode, the configured device will be automatically detached from the host OS drivers when the guest is started, and then re-attached when the guest shuts down. In unmanaged mode, the device must be explicit detached ahead of booting the guest. The guest will refuse to start if the device is still attached to the host OS. [/quote] see: http://libvirt.org/guide/html/Application_Development_Guide-Device_Config-PC... think we need document it in nodedev xml.. :-) - Osier
btw also, 'Node devices XML format'[2] page is empty
Thanks, Zdenek
References: --- [1] http://libvirt.org/formatdomain.html#elementsUSB [2] http://libvirt.org/formatnode.html
PS: I haven't forgotten about Slackware SSH how-to, but- *sigh* I promise!

On 11/01/10 14:59, Osier wrote:
于 2010年11月01日 21:38, Zdenek Styblik 写道:
Hello,
so far unsuccessfully, I'm trying to attach PCI/USB devices to Guests (via virt-manager, soon via virsh because - whatever :]). Anyway, there is<hostdev managed='yes'> where I'm wondering what 'managed' means, because it's not documented here[1]. Is it a bug or is it documented elsewhere?
[quote] In managed mode, the configured device will be automatically detached from the host OS drivers when the guest is started, and then re-attached when the guest shuts down. In unmanaged mode, the device must be explicit detached ahead of booting the guest. The guest will refuse to start if the device is still attached to the host OS. [/quote]
see: http://libvirt.org/guide/html/Application_Development_Guide-Device_Config-PC...
thanks :)
think we need document it in nodedev xml.. :-)
Should I file bug report then? :P Zdenek
- Osier
btw also, 'Node devices XML format'[2] page is empty
Thanks, Zdenek
References: --- [1] http://libvirt.org/formatdomain.html#elementsUSB [2] http://libvirt.org/formatnode.html
PS: I haven't forgotten about Slackware SSH how-to, but- *sigh* I promise!
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- Zdenek Styblik Net/Linux admin OS TurnovFree.net email: stybla@turnovfree.net jabber: stybla@jabber.turnovfree.net

On 11/02/2010 02:53 AM, Zdenek Styblik wrote: <snip>
think we need document it in nodedev xml.. :-)
Should I file bug report then? :P
Definitely. When people go through things, making a list of "what docs should we be updating?", having a bug with the details help to get it on that list. :)

On 11/02/2010 11:11 AM, Justin Clift wrote:
On 11/02/2010 02:53 AM, Zdenek Styblik wrote: <snip>
think we need document it in nodedev xml.. :-)
Should I file bug report then? :P
Definitely. When people go through things, making a list of "what docs should we be updating?", having a bug with the details help to get it on that list. :)
Done. I've filled bug for all empty pages in documentation I could find and this one in topic. https://bugzilla.redhat.com/show_bug.cgi?id=649229 I hope it helps ... (us all :]), Zdenek -- Zdenek Styblik Net/Linux admin OS TurnovFree.net email: stybla@turnovfree.net jabber: stybla@jabber.turnovfree.net
participants (3)
-
Justin Clift
-
Osier
-
Zdenek Styblik