Re: [libvirt-users] Detach devices using Libvirt+Xen

2012-02-16 Thread Daniel Espling
On Feb 13, 2012, at 10:27 PM, Eric Blake wrote: > On 02/10/2012 03:24 AM, Daniel Espling wrote: >> Hi! >> >> We're struggling to get device detaching to work reliably using Xen. > > I haven't personally tried it under xen, so there may indeed be some > lurking bugs. > >> >> # virsh attach-dev

Re: [libvirt-users] Detach devices using Libvirt+Xen

2012-02-13 Thread Eric Blake
On 02/10/2012 03:24 AM, Daniel Espling wrote: > Hi! > > We're struggling to get device detaching to work reliably using Xen. I haven't personally tried it under xen, so there may indeed be some lurking bugs. > > # virsh attach-device deb cdrom7.xml >

Re: [libvirt-users] Detach devices using Libvirt+Xen

2012-02-10 Thread Daniel Espling
One detail; the code we used in KVM had a driver name='qemu', and running that code right away gives the error message; # virsh attach-device deb cdrom7.xml 1 error: Failed to attach device from cdrom7.xml error: POST operation failed: xend_post: error fr

[libvirt-users] Detach devices using Libvirt+Xen

2012-02-10 Thread Daniel Espling
Hi! We're struggling to get device detaching to work reliably using Xen. We can reliably use the same code to manage devices using Libvirt+KVM without any problems. We've tested this on Xen with both CD-ROM and USB devices without success. See below for detailed descriptions. Thankful for any