Re: [libvirt-users] getting oriented/networking

2015-03-19 Thread Dominique Ramaekers
Dear Boyland, In collaboration with some of this mailing list users, I had put some effort in optimising the guest settings in function of a windows guest. The libvirt-gui doesn't include these options. You'll have to edit the XML in virsh. This was my conclusion on 15-03-2015 but I added the h

Re: [libvirt-users] libvirt-python Segfaults

2015-03-19 Thread Harish Vishwanath
Thanks Hao! It helped! >>> import libvirt >>> c = libvirt.open("lxc:///") >>> c.listAllDomains() [] >>> Regards, Harish On Fri, Mar 20, 2015 at 11:15 AM, Hao Liu wrote: > Hi Harish, > > I believe the proper establishment of a connection should be done by > libvirt.open() > or libvirt.openAuth

Re: [libvirt-users] libvirt-python Segfaults

2015-03-19 Thread Hao Liu
Hi Harish, I believe the proper establishment of a connection should be done by libvirt.open() or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional virConnect instance. I'm not sure this segfault is worth to fix since instantiate a virConnect directly is not an

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 wrote: > Hello > > I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I > tried installing the binaries from the repo itse

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

2015-03-19 Thread Shanzhi Yu
- Original Message - | From: "Harish Vishwanath" | To: "libvirt-users" | 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 source on a Ubuntu 14.04 64 | bit box. After in

[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 a

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] 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] 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] 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 (cap

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 libv

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 libvirt

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 netwo

[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: root@ubuntu:/home/hvishwanath/Downloads/li

[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) [GC

[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 mi