Re: [ovirt-users] host usb

2016-06-16 Thread Fernando Fuentes
Giorgio,

Thanks! The update to vdsm did the trick.

Thanks again!

Regards,

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Thu, Jun 16, 2016, at 09:21 AM, Giorgio Bersano wrote:
> 2016-06-16 14:59 GMT+02:00 ffuentes :
> > Giorgio,
> >
> > Thanks for your reply.
> >
> > Where can I get vdsm from 3.6.7* for my host?
> >
> > Thanks again!
> >
> > Regards,
> >
> > Fernando Fuentes
> 
> 
> From the oVIrt site: "In order to install oVirt 3.6.7 Release
> Candidate you've to enable oVirt 3.6 release candidate repository" so
> you better use intructions in http://www.ovirt.org/release/3.6.7/
> 
> Obviously you have to put the host in mantenance before upgrading vdsm
> but this is a normal operating procedure.
> 
> Best Regards,
> Giorgio.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-16 Thread Giorgio Bersano
2016-06-16 14:59 GMT+02:00 ffuentes :
> Giorgio,
>
> Thanks for your reply.
>
> Where can I get vdsm from 3.6.7* for my host?
>
> Thanks again!
>
> Regards,
>
> Fernando Fuentes


>From the oVIrt site: "In order to install oVirt 3.6.7 Release
Candidate you've to enable oVirt 3.6 release candidate repository" so
you better use intructions in http://www.ovirt.org/release/3.6.7/

Obviously you have to put the host in mantenance before upgrading vdsm
but this is a normal operating procedure.

Best Regards,
Giorgio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-16 Thread ffuentes

Giorgio,

Thanks for your reply.

Where can I get vdsm from 3.6.7* for my host?

Thanks again!

Regards,

Fernando Fuentes
Supervisor & Senior Systems Administrator
Email: ffuen...@aasteel.com
 
American Alloy Steel, Inc.

Houston, Texas
Website: http://www.aasteel.com
 
Phone: 713-744-4222

Fax:   713-300-5688

On 06/16/2016 05:52 AM, Giorgio Bersano wrote:

2016-06-16 6:39 GMT+02:00 Fernando Fuentes :

I am now getting this when I try to start it:


VM methub is down with error. Exit message: Hook Error.

To get the hostusb setup I did:

engine-config -s
"UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
ovirt-engine restart

and the host has the usb hooked installed.
But when I go an add the custom property "hostusb" the vm wont start.

Again this is on oVirt 3.6 Centos 6.5 x86_64
and a host of Centos 7 x86_64

Any ideas?

TIA!


Hi Fernando,
in 3.6 to pass an host USB device to a VM you don't need an hook as it
is now standard in the system.

But if you have vdsm from 3.6.6 it doesn't work because of a bug. It
has already been corrected and if you update vdsm* to 3.6.7rc it will
work. I had the same problem but now it's OK.

Going to the administration portal after the upgrade you should see
your USB device in the "Host devices" tab of the "Host"; if it isn't
there clik "Refresh Capabilities" and it should come up.
Then you go to "Virtual Machines", select your VM, then "Host devices"
and "Add device" and you're almost there.

I learned this thanks to something posted in this list and probably a
bugzilla too but I'm unable to find it ATM.
If you see references to IOMMU ignore them unless you need to expose a
PCI device.

HTH,
Giorgio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-16 Thread Giorgio Bersano
2016-06-16 6:39 GMT+02:00 Fernando Fuentes :
> I am now getting this when I try to start it:
>
>
> VM methub is down with error. Exit message: Hook Error.
>
> To get the hostusb setup I did:
>
> engine-config -s
> "UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
> ovirt-engine restart
>
> and the host has the usb hooked installed.
> But when I go an add the custom property "hostusb" the vm wont start.
>
> Again this is on oVirt 3.6 Centos 6.5 x86_64
> and a host of Centos 7 x86_64
>
> Any ideas?
>
> TIA!
>

Hi Fernando,
in 3.6 to pass an host USB device to a VM you don't need an hook as it
is now standard in the system.

But if you have vdsm from 3.6.6 it doesn't work because of a bug. It
has already been corrected and if you update vdsm* to 3.6.7rc it will
work. I had the same problem but now it's OK.

Going to the administration portal after the upgrade you should see
your USB device in the "Host devices" tab of the "Host"; if it isn't
there clik "Refresh Capabilities" and it should come up.
Then you go to "Virtual Machines", select your VM, then "Host devices"
and "Add device" and you're almost there.

I learned this thanks to something posted in this list and probably a
bugzilla too but I'm unable to find it ATM.
If you see references to IOMMU ignore them unless you need to expose a
PCI device.

HTH,
Giorgio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-16 Thread Martin Polednik

On 15/06/16 23:39 -0500, Fernando Fuentes wrote:

I am now getting this when I try to start it:


VM methub is down with error. Exit message: Hook Error.

To get the hostusb setup I did:

engine-config -s
"UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
ovirt-engine restart

and the host has the usb hooked installed.
But when I go an add the custom property "hostusb" the vm wont start.

Again this is on oVirt 3.6 Centos 6.5 x86_64
and a host of Centos 7 x86_64

Any ideas?


I'm not sure how hostusb hook and proper hostdev solutions work
together, could assigning the device through the more robust
'hostdev passthrough'[1] feature work for you?

[1] 
http://www.ovirt.org/develop/release-management/features/engine/hostdev-passthrough/

TIA!

Regards,

--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 11:30 PM, Fernando Fuentes wrote:

I got the vm to start but the vm wont see the usb device.

Any idaes?

--
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 09:21 PM, Fernando Fuentes wrote:
> After upgrading my ovirt to 3.6 and configuring my host usb passthrough
> again. My vm is unable to start with the following error message:
>
> VM methub is down with error. Exit message: Node device not found: no
> node device with matching name 'usb'
>
> The host is running Centos 7 x86_64
> Any ideas?
>
> Regards,
>
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-15 Thread Fernando Fuentes
I am now getting this when I try to start it:


VM methub is down with error. Exit message: Hook Error.

To get the hostusb setup I did:

engine-config -s
"UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"
ovirt-engine restart

and the host has the usb hooked installed.
But when I go an add the custom property "hostusb" the vm wont start.

Again this is on oVirt 3.6 Centos 6.5 x86_64
and a host of Centos 7 x86_64

Any ideas?

TIA!

Regards,

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 11:30 PM, Fernando Fuentes wrote:
> I got the vm to start but the vm wont see the usb device.
> 
> Any idaes?
> 
> -- 
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> 
> On Wed, Jun 15, 2016, at 09:21 PM, Fernando Fuentes wrote:
> > After upgrading my ovirt to 3.6 and configuring my host usb passthrough
> > again. My vm is unable to start with the following error message:
> > 
> > VM methub is down with error. Exit message: Node device not found: no
> > node device with matching name 'usb'
> > 
> > The host is running Centos 7 x86_64
> > Any ideas?
> > 
> > Regards,
> > 
> > 
> > -- 
> > Fernando Fuentes
> > ffuen...@txweather.org
> > http://www.txweather.org
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host usb

2016-06-15 Thread Fernando Fuentes
I got the vm to start but the vm wont see the usb device.

Any idaes?

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Wed, Jun 15, 2016, at 09:21 PM, Fernando Fuentes wrote:
> After upgrading my ovirt to 3.6 and configuring my host usb passthrough
> again. My vm is unable to start with the following error message:
> 
> VM methub is down with error. Exit message: Node device not found: no
> node device with matching name 'usb'
> 
> The host is running Centos 7 x86_64
> Any ideas?
> 
> Regards,
> 
> 
> -- 
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] host usb

2016-06-15 Thread Fernando Fuentes
After upgrading my ovirt to 3.6 and configuring my host usb passthrough
again. My vm is unable to start with the following error message:

VM methub is down with error. Exit message: Node device not found: no
node device with matching name 'usb'

The host is running Centos 7 x86_64
Any ideas?

Regards,


-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-15 Thread emi...@gmail.com
Thank you very much guys... works perfect!

I would like to know if there is any chance to make a passthrough of a USB
device that doesn't have the linux driver?

Regards!


2013/10/11 Eduardo Ramos 

>  Oh well, there is one missing step:
>
> I had to run this command on engine to define 'hostusb' as a custom
> property:
>
> sudo engine-config -s UserDefinedVMProperties='hostusb=[\w:&]+'
>
> You can check out using:
>
> sudo engine-config -g UserDefinedVMProperties
>
> I have to write about it so as to not forget. Now I think it is enough.
>
> Regards!
>
>
> On 10/11/2013 02:59 PM, emi...@gmail.com wrote:
>
> I've installed the hook on both host that belong to the cluster where the
> VM is but I don't get the option to configure. I've also pinned the vm to a
> host but I get the same options as in any other vm from the cluster.
>
>  There is something that I'm not doing?
>
>  Regards!
>
>
> 2013/10/11 Eduardo Ramos 
>
>>  You're welcome!
>>
>>
>> On 10/11/2013 02:13 PM, emi...@gmail.com wrote:
>>
>> Oh! great! i though that was by modifying the xml "by hand".
>>
>>  Thanks!
>>
>>
>> 2013/10/11 Eduardo Ramos 
>>
>>>  Emitor,
>>>
>>> You won't put it into a XML. You will configure it in ovirt webadmin.
>>>
>>> First you have to install hostusb hook on the host machine. Then editing
>>> your virtual machine, go to the 'Custom Properties' tab. There, select
>>> 'hostusb' and in the right textbox, put the id. Example: 0x1234:0xbeef.
>>>
>>> You can define several ids, putting '&' between them:
>>> 0x1234:0xbeef&0x:0xabaa.
>>>
>>> http://imagebin.org/273393
>>>
>>> I hope it is what you want.
>>>
>>>
>>> On 10/11/2013 01:56 PM, emi...@gmail.com wrote:
>>>
>>> Thanks for your answer Eduardo, but i don't know which is the file where
>>> i have to put the '0x', I mean the XML file that describes the VM. Where is
>>> it located?
>>>
>>>  Regards!
>>>
>>>
>>> 2013/10/11 Eduardo Ramos 
>>>
  Hi my friend!

 On the host, you can run 'lsusb' command. It will return you some like
 this:

 Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey
 Keyboard

 You just add '0x' in the begining of ids.




 On 10/11/2013 01:17 PM, emi...@gmail.com wrote:

  Hi,

  I would like to implement the USB pass through from a host to a VM. I
 don't know how to configure the hook that allow me to do this. Could you
 give me some guidance with this?

  I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb

  But I don't know where is located the "VM XML" that it's mentioned
 there.

  Regards!


  ___
 Users mailing 
 listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users



>>>
>>>
>>>  --
>>> *Emiliano Tortorella*
>>> +598 98941176 <%2B598%2098941176>
>>> emi...@gmail.com
>>>
>>>
>>>
>>
>>
>>  --
>> *Emiliano Tortorella*
>> +598 98941176 <%2B598%2098941176>
>> emi...@gmail.com
>>
>>
>>
>
>
>  --
> *Emiliano Tortorella*
> +598 98941176
> emi...@gmail.com
>
>
>


-- 
*Emiliano Tortorella*
+598 98941176
emi...@gmail.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread Eduardo Ramos

Oh well, there is one missing step:

I had to run this command on engine to define 'hostusb' as a custom 
property:


sudo engine-config -s UserDefinedVMProperties='hostusb=[\w:&]+'

You can check out using:

sudo engine-config -g UserDefinedVMProperties

I have to write about it so as to not forget. Now I think it is enough.

Regards!

On 10/11/2013 02:59 PM, emi...@gmail.com wrote:
I've installed the hook on both host that belong to the cluster where 
the VM is but I don't get the option to configure. I've also pinned 
the vm to a host but I get the same options as in any other vm from 
the cluster.


There is something that I'm not doing?

Regards!


2013/10/11 Eduardo Ramos >


You're welcome!


On 10/11/2013 02:13 PM, emi...@gmail.com 
wrote:

Oh! great! i though that was by modifying the xml "by hand".

Thanks!


2013/10/11 Eduardo Ramos mailto:edua...@freedominterface.org>>

Emitor,

You won't put it into a XML. You will configure it in ovirt
webadmin.

First you have to install hostusb hook on the host machine.
Then editing your virtual machine, go to the 'Custom
Properties' tab. There, select 'hostusb' and in the right
textbox, put the id. Example: 0x1234:0xbeef.

You can define several ids, putting '&' between them:
0x1234:0xbeef&0x:0xabaa.

http://imagebin.org/273393

I hope it is what you want.


On 10/11/2013 01:56 PM, emi...@gmail.com
 wrote:

Thanks for your answer Eduardo, but i don't know which is
the file where i have to put the '0x', I mean the XML file
that describes the VM. Where is it located?

Regards!


2013/10/11 Eduardo Ramos mailto:edua...@freedominterface.org>>

Hi my friend!

On the host, you can run 'lsusb' command. It will return
you some like this:

Bus 002 Device 004: ID 413c:2106 Dell Computer Corp.
Dell QuietKey Keyboard

You just add '0x' in the begining of ids.




On 10/11/2013 01:17 PM, emi...@gmail.com
 wrote:

Hi,

I would like to implement the USB pass through from a
host to a VM. I don't know how to configure the hook
that allow me to do this. Could you give me some
guidance with this?

I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb

But I don't know where is located the "VM XML" that
it's mentioned there.

Regards!


___
Users mailing list
Users@ovirt.org  
http://lists.ovirt.org/mailman/listinfo/users





-- 
*Emiliano Tortorella*

+598 98941176 
emi...@gmail.com 





-- 
*Emiliano Tortorella*

+598 98941176 
emi...@gmail.com 





--
*Emiliano Tortorella*
+598 98941176 
emi...@gmail.com 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread Oved Ourfalli
See this wiki page about VDSM hooks.
http://www.ovirt.org/Vdsm_Hooks

Hope it is up to date. I Just skimmed it a bit.
I think the step you're missing is configuring the engine to allow using this 
hook (see section http://www.ovirt.org/Vdsm_Hooks#VM-level_hooks).

Hope it helps,
Oved


- Original Message -
> From: emi...@gmail.com
> To: "Eduardo Ramos" , users@ovirt.org
> Sent: Friday, October 11, 2013 8:59:54 PM
> Subject: Re: [Users] Host USB
> 
> I've installed the hook on both host that belong to the cluster where the VM
> is but I don't get the option to configure. I've also pinned the vm to a
> host but I get the same options as in any other vm from the cluster.
> 
> There is something that I'm not doing?
> 
> Regards!
> 
> 
> 2013/10/11 Eduardo Ramos < edua...@freedominterface.org >
> 
> 
> 
> You're welcome!
> 
> 
> On 10/11/2013 02:13 PM, emi...@gmail.com wrote:
> 
> 
> 
> Oh! great! i though that was by modifying the xml "by hand".
> 
> Thanks!
> 
> 
> 2013/10/11 Eduardo Ramos < edua...@freedominterface.org >
> 
> 
> 
> Emitor,
> 
> You won't put it into a XML. You will configure it in ovirt webadmin.
> 
> First you have to install hostusb hook on the host machine. Then editing your
> virtual machine, go to the 'Custom Properties' tab. There, select 'hostusb'
> and in the right textbox, put the id. Example: 0x1234:0xbeef.
> 
> You can define several ids, putting '&' between them:
> 0x1234:0xbeef&0x:0xabaa.
> 
> http://imagebin.org/273393
> 
> I hope it is what you want.
> 
> 
> On 10/11/2013 01:56 PM, emi...@gmail.com wrote:
> 
> 
> 
> Thanks for your answer Eduardo, but i don't know which is the file where i
> have to put the '0x', I mean the XML file that describes the VM. Where is it
> located?
> 
> Regards!
> 
> 
> 2013/10/11 Eduardo Ramos < edua...@freedominterface.org >
> 
> 
> 
> Hi my friend!
> 
> On the host, you can run 'lsusb' command. It will return you some like this:
> 
> Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard
> 
> You just add '0x' in the begining of ids.
> 
> 
> 
> 
> On 10/11/2013 01:17 PM, emi...@gmail.com wrote:
> 
> 
> 
> Hi,
> 
> I would like to implement the USB pass through from a host to a VM. I don't
> know how to configure the hook that allow me to do this. Could you give me
> some guidance with this?
> 
> I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb
> 
> But I don't know where is located the "VM XML" that it's mentioned there.
> 
> Regards!
> 
> 
> ___
> Users mailing list Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> --
> Emiliano Tortorella
> +598 98941176
> emi...@gmail.com
> 
> 
> 
> 
> --
> Emiliano Tortorella
> +598 98941176
> emi...@gmail.com
> 
> 
> 
> 
> --
> Emiliano Tortorella
> +598 98941176
> emi...@gmail.com
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread emi...@gmail.com
I've installed the hook on both host that belong to the cluster where the
VM is but I don't get the option to configure. I've also pinned the vm to a
host but I get the same options as in any other vm from the cluster.

There is something that I'm not doing?

Regards!


2013/10/11 Eduardo Ramos 

>  You're welcome!
>
>
> On 10/11/2013 02:13 PM, emi...@gmail.com wrote:
>
> Oh! great! i though that was by modifying the xml "by hand".
>
>  Thanks!
>
>
> 2013/10/11 Eduardo Ramos 
>
>>  Emitor,
>>
>> You won't put it into a XML. You will configure it in ovirt webadmin.
>>
>> First you have to install hostusb hook on the host machine. Then editing
>> your virtual machine, go to the 'Custom Properties' tab. There, select
>> 'hostusb' and in the right textbox, put the id. Example: 0x1234:0xbeef.
>>
>> You can define several ids, putting '&' between them:
>> 0x1234:0xbeef&0x:0xabaa.
>>
>> http://imagebin.org/273393
>>
>> I hope it is what you want.
>>
>>
>> On 10/11/2013 01:56 PM, emi...@gmail.com wrote:
>>
>> Thanks for your answer Eduardo, but i don't know which is the file where
>> i have to put the '0x', I mean the XML file that describes the VM. Where is
>> it located?
>>
>>  Regards!
>>
>>
>> 2013/10/11 Eduardo Ramos 
>>
>>>  Hi my friend!
>>>
>>> On the host, you can run 'lsusb' command. It will return you some like
>>> this:
>>>
>>> Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey
>>> Keyboard
>>>
>>> You just add '0x' in the begining of ids.
>>>
>>>
>>>
>>>
>>> On 10/11/2013 01:17 PM, emi...@gmail.com wrote:
>>>
>>>  Hi,
>>>
>>>  I would like to implement the USB pass through from a host to a VM. I
>>> don't know how to configure the hook that allow me to do this. Could you
>>> give me some guidance with this?
>>>
>>>  I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb
>>>
>>>  But I don't know where is located the "VM XML" that it's mentioned
>>> there.
>>>
>>>  Regards!
>>>
>>>
>>>  ___
>>> Users mailing 
>>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>>
>>  --
>> *Emiliano Tortorella*
>> +598 98941176 <%2B598%2098941176>
>> emi...@gmail.com
>>
>>
>>
>
>
>  --
> *Emiliano Tortorella*
> +598 98941176
> emi...@gmail.com
>
>
>


-- 
*Emiliano Tortorella*
+598 98941176
emi...@gmail.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread emi...@gmail.com
Oh! great! i though that was by modifying the xml "by hand".

Thanks!


2013/10/11 Eduardo Ramos 

>  Emitor,
>
> You won't put it into a XML. You will configure it in ovirt webadmin.
>
> First you have to install hostusb hook on the host machine. Then editing
> your virtual machine, go to the 'Custom Properties' tab. There, select
> 'hostusb' and in the right textbox, put the id. Example: 0x1234:0xbeef.
>
> You can define several ids, putting '&' between them:
> 0x1234:0xbeef&0x:0xabaa.
>
> http://imagebin.org/273393
>
> I hope it is what you want.
>
>
> On 10/11/2013 01:56 PM, emi...@gmail.com wrote:
>
> Thanks for your answer Eduardo, but i don't know which is the file where i
> have to put the '0x', I mean the XML file that describes the VM. Where is
> it located?
>
>  Regards!
>
>
> 2013/10/11 Eduardo Ramos 
>
>>  Hi my friend!
>>
>> On the host, you can run 'lsusb' command. It will return you some like
>> this:
>>
>> Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey
>> Keyboard
>>
>> You just add '0x' in the begining of ids.
>>
>>
>>
>>
>> On 10/11/2013 01:17 PM, emi...@gmail.com wrote:
>>
>>  Hi,
>>
>>  I would like to implement the USB pass through from a host to a VM. I
>> don't know how to configure the hook that allow me to do this. Could you
>> give me some guidance with this?
>>
>>  I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb
>>
>>  But I don't know where is located the "VM XML" that it's mentioned
>> there.
>>
>>  Regards!
>>
>>
>>  ___
>> Users mailing 
>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>
>
>  --
> *Emiliano Tortorella*
> +598 98941176
> emi...@gmail.com
>
>
>


-- 
*Emiliano Tortorella*
+598 98941176
emi...@gmail.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread Eduardo Ramos

Emitor,

You won't put it into a XML. You will configure it in ovirt webadmin.

First you have to install hostusb hook on the host machine. Then editing 
your virtual machine, go to the 'Custom Properties' tab. There, select 
'hostusb' and in the right textbox, put the id. Example: 0x1234:0xbeef.


You can define several ids, putting '&' between them: 
0x1234:0xbeef&0x:0xabaa.


http://imagebin.org/273393

I hope it is what you want.

On 10/11/2013 01:56 PM, emi...@gmail.com wrote:
Thanks for your answer Eduardo, but i don't know which is the file 
where i have to put the '0x', I mean the XML file that describes the 
VM. Where is it located?


Regards!


2013/10/11 Eduardo Ramos >


Hi my friend!

On the host, you can run 'lsusb' command. It will return you some
like this:

Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey
Keyboard

You just add '0x' in the begining of ids.




On 10/11/2013 01:17 PM, emi...@gmail.com 
wrote:

Hi,

I would like to implement the USB pass through from a host to a
VM. I don't know how to configure the hook that allow me to do
this. Could you give me some guidance with this?

I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb

But I don't know where is located the "VM XML" that it's
mentioned there.

Regards!


___
Users mailing list
Users@ovirt.org  
http://lists.ovirt.org/mailman/listinfo/users





--
*Emiliano Tortorella*
+598 98941176
emi...@gmail.com 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread emi...@gmail.com
Thanks for your answer Eduardo, but i don't know which is the file where i
have to put the '0x', I mean the XML file that describes the VM. Where is
it located?

Regards!


2013/10/11 Eduardo Ramos 

>  Hi my friend!
>
> On the host, you can run 'lsusb' command. It will return you some like
> this:
>
> Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard
>
> You just add '0x' in the begining of ids.
>
>
>
>
> On 10/11/2013 01:17 PM, emi...@gmail.com wrote:
>
> Hi,
>
>  I would like to implement the USB pass through from a host to a VM. I
> don't know how to configure the hook that allow me to do this. Could you
> give me some guidance with this?
>
>  I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb
>
>  But I don't know where is located the "VM XML" that it's mentioned there.
>
>  Regards!
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>


-- 
*Emiliano Tortorella*
+598 98941176
emi...@gmail.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread Eduardo Ramos

Oh sorry,

This XML would be the VM definition in libvirt.

On 10/11/2013 01:49 PM, Eduardo Ramos wrote:

Hi my friend!

On the host, you can run 'lsusb' command. It will return you some like 
this:


Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey 
Keyboard


You just add '0x' in the begining of ids.



On 10/11/2013 01:17 PM, emi...@gmail.com wrote:

Hi,

I would like to implement the USB pass through from a host to a VM. I 
don't know how to configure the hook that allow me to do this. Could 
you give me some guidance with this?


I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb

But I don't know where is located the "VM XML" that it's mentioned there.

Regards!


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host USB

2013-10-11 Thread Eduardo Ramos

Hi my friend!

On the host, you can run 'lsusb' command. It will return you some like this:

Bus 002 Device 004: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard

You just add '0x' in the begining of ids.



On 10/11/2013 01:17 PM, emi...@gmail.com wrote:

Hi,

I would like to implement the USB pass through from a host to a VM. I 
don't know how to configure the hook that allow me to do this. Could 
you give me some guidance with this?


I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb

But I don't know where is located the "VM XML" that it's mentioned there.

Regards!


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Host USB

2013-10-11 Thread emi...@gmail.com
Hi,

I would like to implement the USB pass through from a host to a VM. I don't
know how to configure the hook that allow me to do this. Could you give me
some guidance with this?

I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb

But I don't know where is located the "VM XML" that it's mentioned there.

Regards!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users