Re: [libvirt] Operation forbidden for read only access

2011-06-05 Thread Daniel Veillard
On Mon, Jun 06, 2011 at 08:41:51AM +0530, PREETHI RAMESH wrote: > I'm using libvirt's Java API bindingsa and i've opened a connection : [...] > exception FOUR caught: org.libvirt.LibvirtException: operation > virDomainDestroy forbidden for read only access > level:VIR_ERR_ERROR > code:VIR_ERR_OPERA

[libvirt] [libvirt-users] Release of libvirt-0.9.2

2011-06-05 Thread Daniel Veillard
As planned the new release is available at: ftp://libvirt.org/libvirt/ It is a rather large release with near 400 commits included. From an user point of view the main improvement is likely to be when using migration as various work has been done to extend the protocol and to avoid having

[libvirt] Operation forbidden for read only access

2011-06-05 Thread PREETHI RAMESH
I'm using libvirt's Java API bindingsa and i've opened a connection : Connect conn=null; Connect conn1=null; Connect conn2=null; Domain testDomain1 = null; //connect to host vm try{ conn = new Connect("qemu:///system", true); System.o

Re: [libvirt] [PATCH] esx: Fix driver method version annotations

2011-06-05 Thread Daniel Veillard
On Mon, Jun 06, 2011 at 08:19:57AM +0800, Daniel Veillard wrote: > On Sun, Jun 05, 2011 at 10:09:10AM +0200, Matthias Bolte wrote: > > --- > > src/esx/esx_interface_driver.c |6 +++--- > > src/esx/esx_network_driver.c |6 +++--- > > src/esx/esx_nwfilter_driver.c |6 +++--- > > src/e

Re: [libvirt] [PATCH] Fix QEMU p2p v2 migration when run from a v3 client

2011-06-05 Thread Daniel Veillard
On Mon, Jun 06, 2011 at 08:19:00AM +0800, Daniel Veillard wrote: > On Sat, Jun 04, 2011 at 07:04:19AM -0400, Daniel P. Berrange wrote: > > When peer-2-peer migration was invoked by a client supporting > > v3, but where the target server only supported v2, we'd not > > correctly shutdown the guest.

Re: [libvirt] [PATCH] qemu: Parse current balloon value returned by query_balloon.

2011-06-05 Thread Osier Yang
On 06/03/2011 10:22 PM, Eric Blake wrote: On 06/03/2011 02:24 AM, Osier Yang wrote: Qemu once supported following memory stats which will returned by "query_balloon": stat_put(dict, "actual", actual); stat_put(dict, "mem_swapped_in", dev->stats[VIRTIO_BALLOON_S_SWAP_IN]); stat_pu

Re: [libvirt] [PATCH] docs: Make hvsupport.pl pick up the host device drivers

2011-06-05 Thread Daniel Veillard
On Sun, Jun 05, 2011 at 10:10:08AM +0200, Matthias Bolte wrote: > Annotate the ESX device driver dummy. > > Refactor the udev and hal device driver strcuts to match the > common annotation pattern. > --- > > This is post-0.9.2. ACK, it's just a bit sad to make function non-static to improve th

Re: [libvirt] [PATCH] Fix QEMU p2p v2 migration when run from a v3 client

2011-06-05 Thread Daniel Veillard
On Sat, Jun 04, 2011 at 07:04:19AM -0400, Daniel P. Berrange wrote: > When peer-2-peer migration was invoked by a client supporting > v3, but where the target server only supported v2, we'd not > correctly shutdown the guest. > > * src/qemu/qemu_migration.c: Ensure guest is shutdown in > v2 peer

Re: [libvirt] [PATCH] esx: Fix driver method version annotations

2011-06-05 Thread Daniel Veillard
On Sun, Jun 05, 2011 at 10:09:10AM +0200, Matthias Bolte wrote: > --- > src/esx/esx_interface_driver.c |6 +++--- > src/esx/esx_network_driver.c |6 +++--- > src/esx/esx_nwfilter_driver.c |6 +++--- > src/esx/esx_secret_driver.c|6 +++--- > src/esx/esx_storage_driver.c |

Re: [libvirt] Building on Solaris 11 Express

2011-06-05 Thread Ruben Kerkhof
On Sun, Jun 5, 2011 at 05:17, Richard Laager wrote: > On Sat, 2011-06-04 at 21:57 -0500, Richard Laager wrote: >> From there, virsh connects. It seems to intermittently have problems; >> I'm trying to reproduce that issue before I can go much further. > > As the user xvm: > This works:   /usr/loca

[libvirt] [PATCH] docs: Make hvsupport.pl pick up the host device drivers

2011-06-05 Thread Matthias Bolte
Annotate the ESX device driver dummy. Refactor the udev and hal device driver strcuts to match the common annotation pattern. --- This is post-0.9.2. docs/hvsupport.pl| 22 + src/esx/esx_device_monitor.c | 15 ++- src/node_device/node_devi

[libvirt] [PATCH] esx: Fix driver method version annotations

2011-06-05 Thread Matthias Bolte
--- src/esx/esx_interface_driver.c |6 +++--- src/esx/esx_network_driver.c |6 +++--- src/esx/esx_nwfilter_driver.c |6 +++--- src/esx/esx_secret_driver.c|6 +++--- src/esx/esx_storage_driver.c |2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src