Re: [libvirt-users] the error for define the xml

2013-08-22 Thread Timon Wang
Use virsh capabilities to verify if your host support guest hvm On Fri, Aug 23, 2013 at 10:10 AM, Qian Feng wrote: > Hi, everyone, I have already install libvirt. I want to use it on qemu. I > have set up qemu too. I do not know how to let libvirt manage the vms for > qemu. What i did is

Re: [libvirt-users] Oracle RAC in libvirt+KVM environment

2013-08-22 Thread Timon Wang
I don't know if lsisas1078 controller in qemu is not work property or I did not configure it correct. Sometimes I can see the lun which passed to the vm, sometimes not. I have tried that controller before, and sometimes the vm will crash because qemu process quit, but I did not get the detail logs

[libvirt-users] the error for define the xml

2013-08-22 Thread Qian Feng
Hi, everyone, I have already install libvirt. I want to use it on qemu. I have set up qemu too. I do not know how to let libvirt manage the vms for qemu. What i did ist that: 1) create the xml under /etc/libvirt/qemu/demo.xml 2) # virsh define /etc/libvirt/qemu/demo.xml There is error as following

Re: [libvirt-users] virConnectDomainEventRegisterAny problem

2013-08-22 Thread Alexandr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 23.08.2013 00:51, Alexandr пишет: > 21.08.2013 12:58, Alexandr пишет: >> 21.08.2013 12:39, Daniel P. Berrange пишет: >>> On Wed, Aug 21, 2013 at 12:36:06PM +0300, Alexandr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 21.08.2013

Re: [libvirt-users] virConnectDomainEventRegisterAny problem

2013-08-22 Thread Alexandr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 21.08.2013 12:58, Alexandr пишет: > 21.08.2013 12:39, Daniel P. Berrange пишет: >> On Wed, Aug 21, 2013 at 12:36:06PM +0300, Alexandr wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> >>> 21.08.2013 09:46, Alexandr пишет: 21.08.2013 09

Re: [libvirt-users] Information needed regarding the libvirt version libvirt-1.0.6-1

2013-08-22 Thread arun abhinay
Hi Daniel, Thanks a lot for providing us your pointers. From the domain.xml(attached in my previous mail) which we have used for defining virtual guest i can see below lines /usr/local/bin/qemu-system-x86_64 We were using same domain.xml in eralier libvirt version and the execution of cpu_stats c

Re: [libvirt-users] Information needed regarding the libvirt version libvirt-1.0.6-1

2013-08-22 Thread Daniel P. Berrange
On Thu, Aug 22, 2013 at 03:04:41PM +0200, arun abhinay wrote: > Hi Daniel, > > Thanks for your immidiate reply. The starting of virtual guest was ok on > our machine. We are facing this issue while executing the "cpu-stats > " command. > I have collected the debug logs as you suggested and attachi

Re: [libvirt-users] Information needed regarding the libvirt version libvirt-1.0.6-1

2013-08-22 Thread arun abhinay
Hi Daniel, Thanks for your immidiate reply. The starting of virtual guest was ok on our machine. We are facing this issue while executing the "cpu-stats " command. I have collected the debug logs as you suggested and attaching the same. <> --> Log collected while starting the virtual guest <> --

[libvirt-users] Re: Creating a snapshot from a KVM VM fails

2013-08-22 Thread Nicolas Sebrecht
The 21/08/13, Eric Blake wrote: > On 08/20/2013 09:13 AM, Tobias Brunner wrote: > Internal snapshots require qcow2 (or the less-used qed) file format, > full stop. If you want your snapshots to live on RBD storage backend, > then you either layer the qcow2 file on top of that backend, or you use

Re: [libvirt-users] Information needed regarding the libvirt version libvirt-1.0.6-1

2013-08-22 Thread Daniel P. Berrange
On Thu, Aug 22, 2013 at 01:35:29PM +0200, arun abhinay wrote: > Hi Daniel, > > Thanks a lot for your reply. > > We have mounted all the cgoup controllers at "/dev/cgroup_" as > mentioned below. > ls /dev/ | grep cgroup > cgroup_cpucgroup_cpuacct cgroup_cpuset cgroup_mem > > On

Re: [libvirt-users] Information needed regarding the libvirt version libvirt-1.0.6-1

2013-08-22 Thread arun abhinay
Hi Daniel, Thanks a lot for your reply. We have mounted all the cgoup controllers at "/dev/cgroup_" as mentioned below. ls /dev/ | grep cgroup cgroup_cpucgroup_cpuacct cgroup_cpuset cgroup_mem On further debugging we dound that the "VCPU" directories are not being created for

Re: [libvirt-users] QemuAgentCommand API documents

2013-08-22 Thread Michal Privoznik
On 22.08.2013 12:17, Praveen Kumar wrote: > > > - Original Message - >> From: "Michal Privoznik" >> To: "Praveen Kumar" >> Cc: libvirt-users@redhat.com >> Sent: Thursday, August 22, 2013 1:15:54 PM >> Subject: Re: [libvirt-users] QemuAgentCommand API documents >> >> The API you're looki

Re: [libvirt-users] QemuAgentCommand API documents

2013-08-22 Thread Praveen Kumar
- Original Message - > From: "Michal Privoznik" > To: "Praveen Kumar" > Cc: libvirt-users@redhat.com > Sent: Thursday, August 22, 2013 1:15:54 PM > Subject: Re: [libvirt-users] QemuAgentCommand API documents > > The API you're looking for is the one you've found: > virDomainQemuAgentCo

Re: [libvirt-users] Oracle RAC in libvirt+KVM environment

2013-08-22 Thread Paolo Bonzini
Il 22/08/2013 09:46, Timon Wang ha scritto: > Thanks Nicholas. > > I found that scsicmd can't pass all the scsi3_test but the result of > sg_inq is the same as it in the host. > > I am absolutely confused about this situation. Am I missed some > information about it? I am also confused. You nee

Re: [libvirt-users] QemuAgentCommand API documents

2013-08-22 Thread Michal Privoznik
On 22.08.2013 07:13, Praveen Kumar wrote: > Hi, > > > I was going through the maillist[0] and found virDomainQemuAgentCommand() > support function added to python module. I also checked the API documentation > and didn't able to find any pointer for this particular function. Is API > documenta

Re: [libvirt-users] Oracle RAC in libvirt+KVM environment

2013-08-22 Thread Timon Wang
Thanks Nicholas. I found that scsicmd can't pass all the scsi3_test but the result of sg_inq is the same as it in the host. I am absolutely confused about this situation. Am I missed some information about it? On Wed, Aug 21, 2013 at 5:40 PM, Nicholas A. Bellinger wrote: > On Wed, 2013-08-21 at