Re: [Users] trouble with pci passthrough

2013-01-11 Thread Itamar Heim

On 01/11/2013 02:09 PM, Andreas Huser wrote:

I launch the vm with ovirt and attach (if started) the pci device with
virsh attach-device w2k3-server parport. this procedure  works fine
befor ovirt installation.


I think a better way to attach the pci device in ovirt would be via a 
custom vdsm hook and a custom property on the vm, then via virsh.
I'm assuming that in order to use virsh you had to use the password vdsm 
set to libvirt?



sorry for my bad english :-)



*Von: *"Itamar Heim" 
*An: *"Andreas Huser" 
*CC: *"Shu Ming" , users@ovirt.org
*Gesendet: *Freitag, 11. Januar 2013 11:36:04
*Betreff: *Re: [Users] trouble with pci passthrough

On 01/11/2013 10:46 AM, Andreas Huser wrote:
 > Hi Shu,
 >
 > it's very simple, when i install a simple Server Centos 6.3 +
qemu-kvm + libvirtd + virt-manager.
 > Then i have no Problems. I can assign the pci devicre with
virt-manager or virsh and the PCI Device works perfect.
 >
 > But when i install on top on this Centos Server oVirt. The pci
passthrough works not more cleanly.
 > I see the Device on the destination Server (Windows Server 2003) but
the divice have an error message. "device cannot be start (code 10)"
 > I tasting this installation  with Centos6.3, Oralce Linux 6.3, Fedora
17 and Fedora 18.

so you just installed oVirt engine and the guest which you are launching
without ovirt stops using the pci, or are you actually launching the
guest with ovirt?

 >
 > regards
 > Andreas
 >
 >
 > - Ursprüngliche Mail -
 >
 > Von: "Shu Ming" 
 > An: "ahuser" 
 > CC: ih...@redhat.com, users@ovirt.org
 > Gesendet: Donnerstag, 10. Januar 2013 02:35:37
 > Betreff: Re: [Users] trouble with pci passthrough
 >
 >
 > 2013-1-10 8:42, ahuser:
 >
 >
 >
 > Hi Itamar,
 >
 >
 > Thanks for your reply.
 > I tried and ro this with virsh + xml file and virt-manager.
 >
 >
 > I suppose you assigned the device to the virtual server successfully
with virsh and virt-manager.
 >
 >
 > 
 >
 >
 >
 > Confusing is that after the installation oVirt the device is not
passed cleanly.
 > 
 >
 > Do you mean the old virtual server which was created before oVirt
installation was finally managed by oVirt? Or oVirt didn't manage this
virtual server but the PCI device assigned to the virtual server
disappeared?
 >
 >
 > 
 >
 >
 >
 >
 >
 >
 >
 >
 > Von Samsung-Tablet gesendet
 > Itamar Heim  hat geschrieben:
 >
 >
 > ___
 > 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] trouble with pci passthrough

2013-01-11 Thread Andreas Huser
I launch the vm with ovirt and attach (if started) the pci device with virsh 
attach-device w2k3-server parport. this procedure works fine befor ovirt 
installation.
sorry for my bad english :-)


- Ursprüngliche Mail -

Von: "Itamar Heim" 
An: "Andreas Huser" 
CC: "Shu Ming" , users@ovirt.org
Gesendet: Freitag, 11. Januar 2013 11:36:04
Betreff: Re: [Users] trouble with pci passthrough

On 01/11/2013 10:46 AM, Andreas Huser wrote:
> Hi Shu,
>
> it's very simple, when i install a simple Server Centos 6.3 + qemu-kvm + 
> libvirtd + virt-manager.
> Then i have no Problems. I can assign the pci devicre with virt-manager or 
> virsh and the PCI Device works perfect.
>
> But when i install on top on this Centos Server oVirt. The pci passthrough 
> works not more cleanly.
> I see the Device on the destination Server (Windows Server 2003) but the 
> divice have an error message. "device cannot be start (code 10)"
> I tasting this installation with Centos6.3, Oralce Linux 6.3, Fedora 17 and 
> Fedora 18.

so you just installed oVirt engine and the guest which you are launching
without ovirt stops using the pci, or are you actually launching the
guest with ovirt?

>
> regards
> Andreas
>
>
> - Ursprüngliche Mail -
>
> Von: "Shu Ming" 
> An: "ahuser" 
> CC: ih...@redhat.com, users@ovirt.org
> Gesendet: Donnerstag, 10. Januar 2013 02:35:37
> Betreff: Re: [Users] trouble with pci passthrough
>
>
> 2013-1-10 8:42, ahuser:
>
>
>
> Hi Itamar,
>
>
> Thanks for your reply.
> I tried and ro this with virsh + xml file and virt-manager.
>
>
> I suppose you assigned the device to the virtual server successfully with 
> virsh and virt-manager.
>
>
>
>
>
>
> Confusing is that after the installation oVirt the device is not passed 
> cleanly.
>
>
> Do you mean the old virtual server which was created before oVirt 
> installation was finally managed by oVirt? Or oVirt didn't manage this 
> virtual server but the PCI device assigned to the virtual server disappeared?
>
>
> 
>
>
>
>
>
>
>
>
> Von Samsung-Tablet gesendet
> Itamar Heim  hat geschrieben:
>
>
> ___
> 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] trouble with pci passthrough

2013-01-11 Thread Itamar Heim

On 01/11/2013 10:46 AM, Andreas Huser wrote:

Hi Shu,

it's very simple, when i install a simple Server Centos 6.3 + qemu-kvm + 
libvirtd + virt-manager.
Then i have no Problems. I can assign the pci device with virt-manager or virsh 
and the PCI Device works perfect.

But when i install on top on this Centos Server oVirt. The pci passthrough 
works not more cleanly.
I see the Device on the destination Server (Windows Server 2003) but the divice have an 
error message. "device cannot be start (code 10)"
I tasting this installation  with Centos6.3, Oralce Linux 6.3, Fedora 17 and 
Fedora 18.


so you just installed oVirt engine and the guest which you are launching 
without ovirt stops using the pci, or are you actually launching the 
guest with ovirt?




regards
Andreas


- Ursprüngliche Mail -

Von: "Shu Ming" 
An: "ahuser" 
CC: ih...@redhat.com, users@ovirt.org
Gesendet: Donnerstag, 10. Januar 2013 02:35:37
Betreff: Re: [Users] trouble with pci passthrough


2013-1-10 8:42, ahuser:



Hi Itamar,


Thanks for your reply.
I tried and ro this with virsh + xml file and virt-manager.


I suppose you assigned the device to the virtual server successfully with virsh 
and virt-manager.






Confusing is that after the installation oVirt the device is not passed cleanly.


Do you mean the old virtual server which was created before oVirt installation 
was finally managed by oVirt? Or oVirt didn't manage this virtual server but 
the PCI device assigned to the virtual server disappeared?











Von Samsung-Tablet gesendet
Itamar Heim  hat geschrieben:


___
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] trouble with pci passthrough

2013-01-11 Thread Andreas Huser
Hi Shu, 

it's very simple, when i install a simple Server Centos 6.3 + qemu-kvm + 
libvirtd + virt-manager. 
Then i have no Problems. I can assign the pci device with virt-manager or virsh 
and the PCI Device works perfect. 

But when i install on top on this Centos Server oVirt. The pci passthrough 
works not more cleanly. 
I see the Device on the destination Server (Windows Server 2003) but the divice 
have an error message. "device cannot be start (code 10)"  
I tasting this installation  with Centos6.3, Oralce Linux 6.3, Fedora 17 and 
Fedora 18.

regards
Andreas 


- Ursprüngliche Mail - 

Von: "Shu Ming"  
An: "ahuser"  
CC: ih...@redhat.com, users@ovirt.org 
Gesendet: Donnerstag, 10. Januar 2013 02:35:37 
Betreff: Re: [Users] trouble with pci passthrough 


2013-1-10 8:42, ahuser: 



Hi Itamar, 


Thanks for your reply. 
I tried and ro this with virsh + xml file and virt-manager. 


I suppose you assigned the device to the virtual server successfully with virsh 
and virt-manager. 






Confusing is that after the installation oVirt the device is not passed 
cleanly. 


Do you mean the old virtual server which was created before oVirt installation 
was finally managed by oVirt? Or oVirt didn't manage this virtual server but 
the PCI device assigned to the virtual server disappeared? 











Von Samsung-Tablet gesendet 
Itamar Heim  hat geschrieben: 


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



-- 
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com Address: 3/F Ring Building, ZhongGuanCun Software 
Park, Haidian District, Beijing 100193, PRC 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] trouble with pci passthrough

2013-01-09 Thread Shu Ming

2013-1-10 8:42, ahuser:

Hi Itamar,

Thanks for your reply.
I tried and ro this with virsh + xml file and virt-manager.


I suppose you assigned the device to the virtual server successfully 
with virsh and virt-manager.




Confusing is that after the installation oVirt the device is not 
passed cleanly.


Do you mean the old virtual server which was created before oVirt 
installation was finally managed by oVirt?  Or oVirt didn't manage this 
virtual server but the PCI device assigned to the virtual server 
disappeared?






Von Samsung-Tablet gesendet

Itamar Heim  hat geschrieben:


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] trouble with pci passthrough

2013-01-09 Thread ahuser
Hi Itamar,

Thanks for your reply.
I tried and ro this with virsh + xml file and virt-manager.

Confusing is that after the installation oVirt the device is not passed cleanly.



Von Samsung-Tablet gesendetItamar Heim  hat geschrieben:On 
01/06/2013 12:59 AM, Andreas Huser wrote:
> hi everybody
>
> i have trouble with pci passthrough of a parallel port adapter. I need this 
> for a key dongle.
> The Server is a single machine and i want to use them with the all-in-one 
> plugin from ovirt.
>
> I do some tests with:
> Fedora 17, CentOS6.3, Oracle Linux 6.3
> latest kernel, qemu-kvm and libvirt from repos. No extras or advanced 
> configurations. Only a simple standard Server.
>
> I install  "yum groupinstall virtualization" + virt-manager and some other.
> I configure iommu, modul blacklist and some other.
>
> Then i starting a Windows Server 2003 and assign the parallel adapter to the 
> running server. I look in the device manager and found the adapter card.
> The dongle work finde and the Datev Lizenz Service are online.
>
> .. so far so good
>
> but when i install on the same Server ovirt. With same kernel qemu-kvm and 
> libvirt!
> And i attach the adapter card to the windows server 2003 look in the device 
> manager and found the card with a error "device cannot be start (code 10)"
>
> I am now looking for several days after the error and have diverse tried but 
> I can not keep going.
>
> can someone help me?
>
> Thanks & greetings
> Andreas
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

how did you attach the device via ovirt?

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


Re: [Users] trouble with pci passthrough

2013-01-09 Thread Itamar Heim

On 01/06/2013 12:59 AM, Andreas Huser wrote:

hi everybody

i have trouble with pci passthrough of a parallel port adapter. I need this for 
a key dongle.
The Server is a single machine and i want to use them with the all-in-one 
plugin from ovirt.

I do some tests with:
Fedora 17, CentOS6.3, Oracle Linux 6.3
latest kernel, qemu-kvm and libvirt from repos. No extras or advanced 
configurations. Only a simple standard Server.

I install  "yum groupinstall virtualization" + virt-manager and some other.
I configure iommu, modul blacklist and some other.

Then i starting a Windows Server 2003 and assign the parallel adapter to the 
running server. I look in the device manager and found the adapter card.
The dongle work finde and the Datev Lizenz Service are online.

.. so far so good

but when i install on the same Server ovirt. With same kernel qemu-kvm and 
libvirt!
And i attach the adapter card to the windows server 2003 look in the device manager and 
found the card with a error "device cannot be start (code 10)"

I am now looking for several days after the error and have diverse tried but I 
can not keep going.

can someone help me?

Thanks & greetings
Andreas


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



how did you attach the device via ovirt?

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


Re: [Users] trouble with pci passthrough

2013-01-08 Thread Andreas Huser
Hi all,

have nobody an idea how i can assign a pci device to a virtual machine with a 
ovirt installation? 

Regards 
Andreas 


- Ursprüngliche Mail - 

Von: "Andreas Huser"  
An: users@ovirt.org 
Gesendet: Samstag, 5. Januar 2013 23:59:31 
Betreff: [Users] trouble with pci passthrough 

hi everybody 

i have trouble with pci passthrough of a parallel port adapter. I need this for 
a key dongle. 
The Server is a single machine and i want to use them with the all-in-one 
plugin from ovirt. 

I do some tests with: 
Fedora 17, CentOS6.3, Oracle Linux 6.3 
latest kernel, qemu-kvm and libvirt from repos. No extras or advanced 
configurations. Only a simple standard Server. 

I install "yum groupinstall virtualization" + virt-manager and some other. 
I configure iommu, modul blacklist and some other. 

Then i starting a Windows Server 2003 and assign the parallel adapter to the 
running server. I look in the device manager and found the adapter card. 
The dongle work finde and the Datev Lizenz Service are online. 

.. so far so good 

but when i install on the same Server ovirt. With same kernel qemu-kvm and 
libvirt! 
And i attach the adapter card to the windows server 2003 look in the device 
manager and found the card with a error "device cannot be start (code 10)" 

I am now looking for several days after the error and have diverse tried but I 
can not keep going. 

can someone help me? 

Thanks & greetings 
Andreas 


___ 
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] trouble with pci passthrough

2013-01-05 Thread Andreas Huser
hi everybody

i have trouble with pci passthrough of a parallel port adapter. I need this for 
a key dongle.
The Server is a single machine and i want to use them with the all-in-one 
plugin from ovirt.

I do some tests with:
Fedora 17, CentOS6.3, Oracle Linux 6.3
latest kernel, qemu-kvm and libvirt from repos. No extras or advanced 
configurations. Only a simple standard Server. 

I install  "yum groupinstall virtualization" + virt-manager and some other.
I configure iommu, modul blacklist and some other.

Then i starting a Windows Server 2003 and assign the parallel adapter to the 
running server. I look in the device manager and found the adapter card. 
The dongle work finde and the Datev Lizenz Service are online. 

.. so far so good 
 
but when i install on the same Server ovirt. With same kernel qemu-kvm and 
libvirt! 
And i attach the adapter card to the windows server 2003 look in the device 
manager and found the card with a error "device cannot be start (code 10)"

I am now looking for several days after the error and have diverse tried but I 
can not keep going.

can someone help me?

Thanks & greetings
Andreas


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