Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Abbas
On 10/23/2012 12:51 AM, Eric Blake wrote: For snapshots, that all depends on what you want to do with the snapshot - if you want to ever revert to the snapshot (and boot from that state), then quiescing makes sense; but if snapshots is only an intermediate step as part of a larger sequence of ope

Re: [libvirt-users] start and stop a VMware VM using libvirt API

2012-10-22 Thread Abbas
Yes, that seems to be correct. >> The libvirt VMware ESX driver can manage VMware ESX/ESXi 3.5/4.x and VMware GSX 2.0, also called VMware Server 2.0, and possibly later versions. Since 0.8.3 the driver can also connect to a VMware vCenter 2.5/4.x (VPX). On 10/23/2012 07:40 AM, Ali Nikzad w

Re: [libvirt-users] start and stop a VMware VM using libvirt API

2012-10-22 Thread Ali Nikzad
Thank you Abbas, I already tried it but I got a message saying it found version 5.0 instead of 4.x. It seems that libvirt does not support ESXi 5.0. I used the command in libvirt-0.8.8 the windows version. Ali On Mon, Oct 22, 2012 at 10:05 PM, Abbas wrote: > You could write a bash or batch sc

Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Abbas
Thanks for the heads up. qemu 1.3 definitely looks exciting.. ! On 10/23/2012 07:24 AM, Eric Blake wrote: On 10/22/2012 03:08 PM, Abbas wrote: On 10/23/2012 12:51 AM, Eric Blake wrote: The qemu side is in qemu.git, and will be released in December as part of qemu 1.3. The libvirt side is in

Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Eric Blake
On 10/22/2012 03:08 PM, Abbas wrote: > On 10/23/2012 12:51 AM, Eric Blake wrote: >> The qemu side is in qemu.git, and will be released in December as part >> of qemu 1.3. The libvirt side is in libvirt.git, and will be released >> in November as part of libvirt 1.0.0. But you are correct that the

Re: [libvirt-users] start and stop a VMware VM using libvirt API

2012-10-22 Thread Abbas
You could write a bash or batch script to do that. Normal connect format is "virsh -c esx://yournode" "virsh start [domain]" is what starts a VM. Refer to the man pages for virsh command set. /Abbas On 10/23/2012 02:47 AM, Ali Nikzad wrote: Hi, I am a new libvirt user and I wonder if I ca

[libvirt-users] start and stop a VMware VM using libvirt API

2012-10-22 Thread Ali Nikzad
Hi, I am a new libvirt user and I wonder if I can use this library to start or stop a VM in ESXi 5.0. For example to write an application using libvirt in windows or linux that connects to an ESXi 5.0 server and get the list of VMs and start one of them. If so, is there any sample about it? Than

Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Abbas
On 10/23/2012 12:51 AM, Eric Blake wrote: The qemu side is in qemu.git, and will be released in December as part of qemu 1.3. The libvirt side is in libvirt.git, and will be released in November as part of libvirt 1.0.0. But you are correct that there are no released versions that support block

Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Eric Blake
On 10/22/2012 01:18 PM, Abbas wrote: > Thanks. That does make sense. I was trying to pull from the backing > image but wanted to flat down snapshot image and backing image. Not > specifying --base exactly does what I want. Good to hear. Remember, with blockpull, --base is the point in the chain t

Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Abbas
3. Where is the virsh bash_completion conf.d file from upstream; since el6 rpm for it seems have tab completion built right into virsh shell. Sadly, we do not yet have a bash_completion file for virsh yet. It's been on my back-burner of things that would be nice to write, if I ever had time, a

Re: [libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Eric Blake
On 10/21/2012 08:10 AM, Abbas wrote: > Coming off of xen environment; still testing with kvm, just a few > questions: > > 1. What is the roadmap for release of qemu-kvm 1.1 and libvirt 0.10.2 for > el6, cause I had to compile from upstream to get the latest stuff. RHEL-related questions are bes

Re: [libvirt-users] error: internal error lxc state driver is not active

2012-10-22 Thread Osier Yang
On 2012年10月22日 15:55, #█er wrote: hi: I want to use libvirt with LXC, but when I use virsh -c lxc:/// to connect to lxc, it just print these errors: error: internal error lxc state driver is not active error: failed to connect to the hypervisor I searched these error message , but it seems that t

[libvirt-users] error: internal error lxc state driver is not active

2012-10-22 Thread #??er
hi: I want to use libvirt with LXC, but when I use virsh -c lxc:/// to connect to lxc, it just print these errors: error: internal error lxc state driver is not active error: failed to connect to the hypervisor I searched these error message , but it seems that there is no helpful information

[libvirt-users] Questions and a blockpull issue

2012-10-22 Thread Abbas
Coming off of xen environment; still testing with kvm, just a few questions: 1. What is the roadmap for release of qemu-kvm 1.1 and libvirt 0.10.2 for el6, cause I had to compile from upstream to get the latest stuff. 2. Should not virt-manager show the sparsed disk size instead of actual reser