Re: [libvirt] Out of Memory Error

2013-02-15 Thread varun bhatnagar
Hi, The mentioned changes worked for adding a shared folder but while adding usb it gave an error saying: *error: Failed to attach device from /root/test/addingusb.xml error: An error occurred, but the cause is unknown* The xml file is given below: Can you tell

Re: [libvirt] Out of Memory Error

2013-02-14 Thread varun bhatnagar
Thank you so much for the reply and for sharing the patch...I will try this tomorrow and then let you know whether it works or not.And i'll try removing the tag too. Thank you again for the help :) On Thu, Feb 14, 2013 at 2:11 PM, Jiri Denemark wrote: > On Thu, Feb 14, 2013 at 01:2

Re: [libvirt] Out of Memory Error

2013-02-14 Thread Jiri Denemark
On Thu, Feb 14, 2013 at 01:24:32 +0530, varun bhatnagar wrote: > Hi, > > Today I noticed one strange thing. I* *removed the contents of > *usbSharedFolder.xml > *and kept it blank. Then I again tried both ways i.e. calling attachDevice > method using code as well as virsh but again it gave libvir:

Re: [libvirt] Out of Memory Error

2013-02-13 Thread varun bhatnagar
Hi, Today I noticed one strange thing. I* *removed the contents of *usbSharedFolder.xml *and kept it blank. Then I again tried both ways i.e. calling attachDevice method using code as well as virsh but again it gave libvir: VirtualBox Driver error : out of memory but I was expecting some syntactic