Re: [libvirt-users] virConnectDomainEventRegisterAny problem

2013-08-20 Thread Alexandr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 21.08.2013 09:32, Martin Kletzander пишет: > On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote: >> >> good day. i trying to make callback function for >> VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering >> callback, but it never calle

Re: [libvirt-users] virConnectDomainEventRegisterAny problem

2013-08-20 Thread Martin Kletzander
On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote: > > good day. i trying to make callback function for > VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering callback, > but it never called, i need to know when domain started, stopped or > crashed, i have write following code > > stati

Re: [libvirt-users] Stop the relabeling of CD images

2013-08-20 Thread Martin Kletzander
On Tue 20 Aug 2013 10:17:19 PM CEST, Cristian Ciupitu wrote: > - Original Message - >> From: Martin Kletzander >> To: Cristian Ciupitu >> Cc: Eric Blake ; libvirt-users >> Sent: Tuesday, August 20, 2013 6:05 PM >> Subject: Re: [libvirt-users] Stop the relabeling of CD images >> >> On 08/

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

2013-08-20 Thread Timon Wang
>From the fedora 19 host: [root@fedora ~]# sg_inq /dev/sdc standard INQUIRY: PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0 SCCS=1 ACC=0 TPGS=1 3PC=0 Protect=0 [BQue=0] EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr

[libvirt-users] virConnectDomainEventRegisterAny problem

2013-08-20 Thread Alexandr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 good day. i trying to make callback function for VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering callback, but it never called, i need to know when domain started, stopped or crashed, i have write following code static intdomain_ev

Re: [libvirt-users] Stop the relabeling of CD images

2013-08-20 Thread Cristian Ciupitu
- Original Message - > From: Martin Kletzander > To: Cristian Ciupitu > Cc: Eric Blake ; libvirt-users > Sent: Tuesday, August 20, 2013 6:05 PM > Subject: Re: [libvirt-users] Stop the relabeling of CD images > > On 08/20/2013 04:19 AM, Cristian Ciupitu wrote: >> - Original Message --

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

2013-08-20 Thread Peter Krempa
On 08/20/13 16:00, Tobias Brunner wrote: > Hi, > > I'm trying to create a snapshot from a KVM VM: > > # virsh snapshot-create one-5 > error: unsupported configuration: internal checkpoints require at least > one disk to be selected for snapshot > > How can I debug this error message and what doe

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

2013-08-20 Thread Tobias Brunner
Hi, Thanks a lot for the answer. An internal snapshot of a VM requires that the VM has at least one disk using a QCOW2 volume or similar. The memory state is saved in that image. Your VM has only a RAW disk image and thus it can't be used for internal snapshot. Ok, that makes sense... You c

Re: [libvirt-users] Stop the relabeling of CD images

2013-08-20 Thread Martin Kletzander
On 08/20/2013 04:19 AM, Cristian Ciupitu wrote: > - Original Message - >> From: Eric Blake >> To: Cristian Ciupitu >> Cc: libvirt-users >> Sent: Monday, August 19, 2013 11:24 PM >> Subject: Re: [libvirt-users] Stop the relabeling of CD images > >> So maybe this would do it: >> >> >>

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

2013-08-20 Thread Tobias Brunner
Hi, I'm trying to create a snapshot from a KVM VM: # virsh snapshot-create one-5 error: unsupported configuration: internal checkpoints require at least one disk to be selected for snapshot How can I debug this error message and what does it mean? Some system information: * Ubuntu 13.04 64Bi

Re: [libvirt-users] Multi Queue KVM Support

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 13:13, Naor Shlomo ha scritto: > Hi Paolo and thanks for your help. > > I upgraded the following (compiled from source) > qemu : 1.5.2 stable > libvirt : 1.1.1 > > but for some reason when I run the version command inside virsh: > > Compiled against library: libvirt 1.1.1 > Using l

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

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 13:43, Timon Wang ha scritto: > Thanks, the whole iSCSI LUN have been passed to the VM. > > But I test it with scsicmd, and found that the driver may be not > support SPC-3, but if i use this by microsoft iscsi initiator, I can > pass all the scsi3_test tests. If you are passing the

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

2013-08-20 Thread Timon Wang
I found when I use "scsicmd -d1 -s13" test command to test the "controller bus reset" request, there will be a blue screen on windows 2008 r2. The error code is : BugCheck D1, {4, a, 0, f8800154dd06} 1: kd> !analyze -v **

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

2013-08-20 Thread Timon Wang
Thanks, the whole iSCSI LUN have been passed to the VM. But I test it with scsicmd, and found that the driver may be not support SPC-3, but if i use this by microsoft iscsi initiator, I can pass all the scsi3_test tests. Tool can be found here: http://www.symantec.com/business/support/index?page=

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

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 12:42, Timon Wang ha scritto: > [root@localhost /]# ls -l /dev/VM-IMAGES-BACKUP-DO-NOT-REMOVE/q_disk > lrwxrwxrwx. 1 root root 8 8月 20 17:38 > /dev/VM-IMAGES-BACKUP-DO-NOT-REMOVE/q_disk -> ../dm-13 > [root@localhost /]# sg_inq /dev/VM-IMAGES-BACKUP-DO-NOT-REMOVE/q_disk > standard INQ

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

2013-08-20 Thread Timon Wang
[root@localhost /]# ls -l /dev/VM-IMAGES-BACKUP-DO-NOT-REMOVE/q_disk lrwxrwxrwx. 1 root root 8 8月 20 17:38 /dev/VM-IMAGES-BACKUP-DO-NOT-REMOVE/q_disk -> ../dm-13 [root@localhost /]# sg_inq /dev/VM-IMAGES-BACKUP-DO-NOT-REMOVE/q_disk standard INQUIRY: PQual=0 Device_type=0 RMB=0 version=0x05 [

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

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 11:59, Timon Wang ha scritto: > On Tue, Aug 20, 2013 at 4:33 PM, Paolo Bonzini wrote: >> Il 20/08/2013 08:00, Timon Wang ha scritto: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>

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

2013-08-20 Thread Timon Wang
On Tue, Aug 20, 2013 at 4:33 PM, Paolo Bonzini wrote: > Il 20/08/2013 08:00, Timon Wang ha scritto: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > > I'm not sure this will be enough, but if you

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

2013-08-20 Thread Paolo Bonzini
Il 20/08/2013 08:00, Timon Wang ha scritto: > > > > > > > > > > > > > > > > I'm not sure this will be enough, but if you want passthrough to the host device you should use device='lun' here. Howe