[libvirt-users] libvirt networking

2012-08-21 Thread Dale Amon
Did something happen in the last day or two that would have screwed up libvirt networking? I just started up a VM that I last ran on Sunday and it has suddenly developed issues with communication with the host machine. Call it VM1 and VMHOST (the libvirt network) and VMHOST_EXT VM1 ping -

[libvirt-users] libvir: Domain Config error : internal error incorrect root element

2012-08-21 Thread 何鑫
hi,When I use dom = virDomainDefineXML(conn, xml) to define xml, I countered a problem that " libvir: Domain Config error : internal error incorrect root element". Could you please tell me what's wrong with it?I tend to debug such problem above by gdb to step into virDomainDefineXML. Whe

[libvirt-users] virsh command vol-upload purpose question

2012-08-21 Thread Li, Chun Wen
I use virsh vol-upload to upload some data in a volume and use vol-download to download these data from the same volume, both these two commands work well. However, when I first use these two commands, I thought I can use vol-upload to upload some file, then attach this volume to a vm, and a

Re: [libvirt-users] What can cause "libvirtd dead but pid file exists."

2012-08-21 Thread Eric Blake
[Switching from GB2312 to UTF-8 encoding, as that is accepted by more clients these days] On 08/16/2012 06:50 PM, xuanmao_001 wrote: > Hi, Eric: > > I noticed that: > # service libvirtd status > libvirtd dead but pid file exists. > > I operated VMs(like create, edit, delte) normally for a second

Re: [libvirt-users] Finding cause when "virsh list" hangs

2012-08-21 Thread Whit Blauvelt
Eric, Thanks for taking the time to respond. Your explanation about the stuck queue makes sense. The system with the more recent libvirt, I realized on closer inspection, was still using the original kvm. Once I switched the kvm symlink to /usr/local/bin/qemu-system-x86_64 and restarted libvirtd i

Re: [libvirt-users] Finding cause when "virsh list" hangs

2012-08-21 Thread Eric Blake
On 08/19/2012 12:19 PM, Whit Blauvelt wrote: > Hi, > > Did something dumb - had two VM hosts with DRBD mirroring of VMs on the same > UPS, which failed and crashed them both. While I've got VMs running now on > both, "virsh list" and "virsh start" and so on are just hanging. I'm not > seeing it lo

Re: [libvirt-users] disappeared VM in virsh

2012-08-21 Thread Eric Blake
On 08/21/2012 09:38 AM, Akendo wrote: >> Most likely, this happened because you upgraded libvirt versions, and >> the file in /var/run/libvirt/qemu corresponding to the disappearing >> guest contained information placed by the older libvirt that the newer >> libvirt does not understand. >> >> Cent

Re: [libvirt-users] Libvirt Qemu compatibility

2012-08-21 Thread Eric Blake
On 08/21/2012 01:39 PM, Shawn Furrow wrote: > Hi all, > > I am using Ubuntu 10.04 Server and I am trying to figure out which versions > of qemu-kvm and libvirt are known to work well together Libvirt is supposed to support all versions of qemu that were stable at the time of the particular libvir

[libvirt-users] IP over IB support.

2012-08-21 Thread Eric J Nelson
Hello, I'm trying to set up a lxc container with access to a Infiniband card with IP over IB. I have scripts written to create the device in the container and add all the proper cgroup permissions on the host. I can access the card from the container, but there is no Infiniband network device

[libvirt-users] Libvirt Qemu compatibility

2012-08-21 Thread Shawn Furrow
Hi all, I am using Ubuntu 10.04 Server and I am trying to figure out which versions of qemu-kvm and libvirt are known to work well together and if there is anything special that needs to be done during their installs. I am trying to work with the latest version of libvirt possible that will be sta

Re: [libvirt-users] disappeared VM in virsh

2012-08-21 Thread Akendo
On 08/16/2012 06:35 PM, Eric Blake wrote: > On 08/16/2012 08:14 AM, Akendo wrote: >> Hi guys, >> >> one of my VM has disappeared in libvirtd. I still can see the process >> with ps and the configuration file is as well there. But it is not >> displayed or found with virt-manger/virsh. >> >> virsh l

[libvirt-users] capabilities mismatch

2012-08-21 Thread Sean Abbott
So I have two instances of opennebula running libvirst/kvm. They were both installed using identical methods (a bit of a black box, frankly) on slightly different hardware. (one is "nephalem" intel, the other is "westmere". That's the only difference.) in fact, an architecture check from a kern

[libvirt-users] IVSHMEM support

2012-08-21 Thread Shawn Furrow
Hi all, Does anyone know if Libvirt supports shared memory devices such as IVSHMEM. I know it didn't at one point but I didn't know if support for it had been recently added. Thanks, Shawn -- Virginia Tech Bradley Department of Electrical and Computer Engineering B.S. Electrical Engineering B.S

Re: [libvirt-users] storage pool does not support volume creation

2012-08-21 Thread Daniel P. Berrange
On Tue, Aug 21, 2012 at 07:12:46PM +0800, zhijun liu wrote: > hi,all > > > I use iscsi create stroage pool,now i want create a volume on the pool,but > encouner a error: > > error: Failed to create vol from volume.xml > error: this function is not supported by the connection driver: storage > po

Re: [libvirt-users] libvirtd crashes after guest migration with attached console

2012-08-21 Thread Andrey Korolyov
Hi Peter, I`ve applied your patch two days ago and problem was fixed completely. Very respect for this patch, migration+console problem was a quite annoying. On Tue, Aug 21, 2012 at 12:58 PM, Peter Krempa wrote: > On 08/13/12 09:42, Andrey Korolyov wrote: >> >> Hi, > > > Hi Andrey, > >> >> pleas

Re: [libvirt-users] libvirtd crashes after guest migration with attached console

2012-08-21 Thread Peter Krempa
On 08/13/12 09:42, Andrey Korolyov wrote: Hi, Hi Andrey, please see following backtrace. How to reproduce: start qemu guest w/attached console, execute migration, get a crash at the end. Program received signal SIGSEGV, Segmentation fault. virHashRemoveEntry (table=0x7fa0e0003e90, name=0x7fa

[libvirt-users] Using Libvirt Java Bindings on Windows 7 64bit

2012-08-21 Thread Frank Wilson
Hi All, Has anybody had any managed to use the libvirt java bindings on Windows 7 64bit (or similar configuration)? I am using Java 6. When I try to use the Test.class delivered with the bindings it always fails with the following error: C:\Users\fwilson\Desktop\libvirt-java-0.4.7>java "-Djna.l

Re: [libvirt-users] Failed to use virDomainDefineXML

2012-08-21 Thread Olivier Doucet
Hi, > When I use virDomainDefineXML(conn, xml), there is a message - >"libvir: Domain Config error : at line 1: Opening and ending tag > mismatch: domian line 1 and domain"- that I cannot continue to define my > domain. According to the error message, you have a typo in the opening

[libvirt-users] Failed to use virDomainDefineXML

2012-08-21 Thread 何鑫
Hi, When I use virDomainDefineXML(conn, xml), there is a message - "libvir: Domain Config error : at line 1: Opening and ending tag mismatch: domian line 1 and domain"- that I cannot continue to define my domain. I search a lot of website, but failed to find correct answer. I gue

Re: [libvirt-users] getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted

2012-08-21 Thread Anton Beloglazov
Hi All, Unfortunately, I couldn't manage to solve my problem. I've tried various way to configure Cgroups to enable VM monitoring by a non-root user with no luck. My current /etc/cgconfig.conf is the following: group sysdefault { perm { task { uid =