Re: [libvirt-users] C code to generate domain XML

2015-03-19 Thread Eric Blake
On 03/19/2015 02:50 PM, Parvathi wrote: Hi, Are there any C code (in libvirt) to generate domain XML like the one we supply to virsh? As to your direct question, yes, libvirt.git contains code to generate domain XML - when you do something like 'virsh edit', you are doing a round trip of

[libvirt-users] Regarding save and restore in libvirt 1.2.2

2015-03-19 Thread cool dharma06
hi all, i am exploring openstack. By the openstack i experimented the resizing instance its working fine. But from virsh i tried save and redstore VM its not working properly. i put GDB on libvirtd process also its not showing anything. its running perfectly. while virsh save vm id filename -

Re: [libvirt-users] pty pairing host - guest

2015-03-19 Thread Daniel P. Berrange
On Thu, Mar 19, 2015 at 01:29:37PM +0530, Neel Basu wrote: HI!, I am using virt-manager GUI. There I can add a `Console Device` through Add Hardware. I can add a virtio pty WITHOUT restarting the VM. also I get a pty allocated to host machine say `/dev/pty/M` My expectation is this

[libvirt-users] pty pairing host - guest

2015-03-19 Thread Neel Basu
HI!, I am using virt-manager GUI. There I can add a `Console Device` through Add Hardware. I can add a virtio pty WITHOUT restarting the VM. also I get a pty allocated to host machine say `/dev/pty/M` My expectation is this `host:/dev/pty/M` is connected with a `guest:/dev/ttyN`. so If I open

[libvirt-users] getting oriented/networking

2015-03-19 Thread Boylan, Ross
I've been using virt-manager and kvm with a disk image (as in the raw bits) from a physical windows 7 machine. Initial performance was dreadful, but improved as I switched to virtio and spice. I've been running linux VM's somewhat longer (much longer if you count kvm without libvirt). There

Re: [libvirt-users] libvirt-python Segfaults

2015-03-19 Thread Harish Vishwanath
Trying again. Is there another mailer list for libvirt-python related discussions? Regards, Harish On Thu, Mar 19, 2015 at 9:02 PM, Harish Vishwanath harish.shas...@gmail.com wrote: Hello I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I tried installing the

Re: [libvirt-users] Building libvirt 1.2.13 from source

2015-03-19 Thread Shanzhi Yu
- Original Message - | From: Harish Vishwanath harish.shas...@gmail.com | To: libvirt-users libvirt-users@redhat.com | Sent: Thursday, March 19, 2015 11:35:53 PM | Subject: [libvirt-users] Building libvirt 1.2.13 from source | Hello | I am trying to build libvirt 1.2.13 (latest) from

Re: [libvirt-users] Building libvirt 1.2.13 from source

2015-03-19 Thread Eric Blake
On 03/19/2015 09:35 AM, Harish Vishwanath wrote: Hello I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04 64 bit box. After installing all the dependencies (libyajl, libdevmapper, libpciaccess, libnl), I could finish the build and install. However, invoking libvirtd

[libvirt-users] Development of application on using the libvirt API(s)

2015-03-19 Thread Parvathi
Hi, I am developing an application that would essentially control/run VMs on a X86_64 host machine. The existing OS is 32 bit based so the application needs to be 32bit too. KVM/QEMU are 64 bit so that guests could be either be 32 or 64 bit. Does using libvirt as 32bit library on a 64bit host

Re: [libvirt-users] Building libvirt 1.2.13 from source

2015-03-19 Thread Michal Privoznik
On 19.03.2015 16:35, Harish Vishwanath wrote: Hello I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04 64 bit box. After installing all the dependencies (libyajl, libdevmapper, libpciaccess, libnl), I could finish the build and install. However, invoking libvirtd

Re: [libvirt-users] Development of application on using the libvirt API(s)

2015-03-19 Thread Eric Blake
On 03/19/2015 11:44 AM, Parvathi wrote: Hi, I am developing an application that would essentially control/run VMs on a X86_64 host machine. The existing OS is 32 bit based so the application needs to be 32bit too. KVM/QEMU are 64 bit so that guests could be either be 32 or 64 bit. Does

[libvirt-users] C code to generate domain XML

2015-03-19 Thread Parvathi
Hi, Are there any C code (in libvirt) to generate domain XML like the one we supply to virsh? Thanks! ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] still possible to use traditional bridge network setup ?

2015-03-19 Thread Lentes, Bernd
Laine wrote: -Original Message- From: sendmail [mailto:justsendmailnothinge...@gmail.com] On Behalf Of Laine Stump Sent: Tuesday, March 17, 2015 3:57 PM To: libvirt-users@redhat.com Cc: Lentes, Bernd Subject: Re: [libvirt-users] still possible to use traditional bridge network

[libvirt-users] libvirt-python Segfaults

2015-03-19 Thread Harish Vishwanath
Hello I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I tried installing the binaries from the repo itself: 1. root@test-vm8-109:/home/test# libvirtd --version libvirtd (libvirt) 1.2.2 root@test-vm8-109:/home/test# python Python 2.7.6 (default, Mar 22 2014, 22:59:56)

[libvirt-users] Building libvirt 1.2.13 from source

2015-03-19 Thread Harish Vishwanath
Hello I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04 64 bit box. After installing all the dependencies (libyajl, libdevmapper, libpciaccess, libnl), I could finish the build and install. However, invoking libvirtd throws this: