Re: [libvirt] [PATCH 2/2] RPM spec file updated with glusterfs dependency

2009-08-28 Thread Gerrit Slomma
On Tue, Jul 07, 2009 at 05:47:56AM -0700, Harshavardhana wrote: > Add new dependency for glusterfs rpm. [...] > +# For glusterfs > +Requires: glusterfs-client >= 2.0.2 > %endif why 2.0.2 ? is taht a hard requirement ? In Fedora/Rawhide we have only 2.0.1 at the moment, Daniel -- Daniel Vei

Re: [libvirt] Is it possible to use more then 2 CPUs in the guest?

2009-08-09 Thread Gerrit Slomma
Mirko Raasch schrieb I tried Windows 7 Ultimate and its the same like in WinXP, only two Cores are in use. The other two cores are bored. It does not matter whether I emulate four, six or eight cpu in the guest, in the host only two of four cores are in use. -- Libvir-list mailing list Libvir

Re: [libvirt][PATCH] running libvirt on the latest kvm snapshot

2009-08-07 Thread Gerrit Slomma
Daniel P. Berrange schrieb: Fix kvm to include a relevant version number instead of just the 'devel' eg, Instead of QEMU PC emulator version 0.10.0 (kvm-devel), Copyright (c) 2003-2008 have QEMU PC emulator version 0.10.0 (kvm-85-devel), Copyright (c) 2003-2008 So that its clear this de

Re: [libvirt] Is it possible to use more then 2 CPUs in the guest?

2009-08-06 Thread Gerrit Slomma
Daniel P. Berrange schrieb: On Thu, Aug 06, 2009 at 12:59:19PM +0100, Tom Hughes wrote: On 06/08/09 12:36, Daniel P. Berrange wrote: On Wed, Aug 05, 2009 at 10:11:07AM +0200, Mirko Raasch wrote: in my server i use an Intel Quad Core CPU and i want to use in one WindowsXP guest

Re: [libvirt] Is it possible to use more then 2 CPUs in the guest?

2009-08-05 Thread Gerrit Slomma
Mirko Raasch schrieb: Hi, in my server i use an Intel Quad Core CPU and i want to use in one WindowsXP guest all 4 cores. The device manager shows four CPU (Qemu Virtual CPU version 0.10.5). When i start prime95 or superpi, only 2 of them are in use. CPU-Z shows also 2 Cores, instead of 4 lik

Re: [libvirt] Is it possible to use more then 2 CPUs in the guest?

2009-08-05 Thread Gerrit Slomma
Mirko Raasch schrieb: Hi, in my server i use an Intel Quad Core CPU and i want to use in one WindowsXP guest all 4 cores. The device manager shows four CPU (Qemu Virtual CPU version 0.10.5). When i start prime95 or superpi, only 2 of them are in use. CPU-Z shows also 2 Cores, instead of 4 lik

Re: [libvirt] KVM root mac address

2009-06-18 Thread Gerrit Slomma
Paul Reeves schrieb: On Thursday 18 June 2009, Paul Reeves wrote: A quick question - What is the correct root for dynamically generated KVM mac addresses? The docs (man virt-install) say 54:52:00 and I've seen Ubuntu docs on-line that say 52:54:00. Does no one know? Is this the wrong

Re: [libvirt] Re: [CentOS-devel] Latest kvm packages for CentOS 5.3

2009-06-11 Thread Gerrit Slomma
Daniel P. Berrange schrieb: On Wed, Jun 10, 2009 at 04:50:25PM +0200, Dag Wieers wrote: On Wed, 10 Jun 2009, Federico Simoncelli wrote: I've been working quite extensively with kvm on CentOS 5.3 lately. If you are interested in the latest rpm of kvm-kmod-2.6.30-rc8, qemu-kvm-0.10.5 and

Re: [libvirt] PATCH: Enable migration with QEMU >= 0.10.0

2009-05-18 Thread Gerrit Slomma
Daniel Veillard schrieb: haha, now I remember where I had seen it :-) (...) Daniel hehe ...the patch also answers my question. -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] patch for virsh list

2009-05-16 Thread Gerrit Slomma
Daniel P. Berrange schrieb: If you want a virt-manager like display of VMs, 'virt-top' is the tool to use http://et.redhat.com/~rjones/virt-top/ Regards, Daniel Okay that gives the "xm top" but needs another tool to be installed. Since it comes from epel one could install it though. I

[libvirt] patch for virsh list

2009-05-15 Thread Gerrit Slomma
Hello I thought it would be cool if virsh list behaves a bit more like virt-manager or xm list because as a system-administrator i want to know with one look what VMs are active, how much memory they commit and what their runtime is. I implemented this with the following patch which give such

[libvirt] is qemu really needed for make rpm or is kvm sufficient?

2009-05-15 Thread Gerrit Slomma
Hello I am curious if qemu is really needed to do "make rpm". As far as i have seen only the src.rpm has this dependency but neither of the install-rpms. What is this needed for in the src.rpm-package that do lack the install-packages? I haven't installed qemu on my hosts, only kvm and everythi

Re: [libvirt] PATCH: Enable migration with QEMU >= 0.10.0

2009-05-14 Thread Gerrit Slomma
Daniel P. Berrange schrieb: On Wed, May 13, 2009 at 10:43:39PM +0200, Gerrit Slomma wrote: Daniel P. Berrange schrieb: The KVM migration code was added to QEMU for the 0.10.0 release, so we should enable this in libvirt now. Daniel Hello Why is in qemu_conf.c caps

Re: [libvirt] PATCH: Enable migration with QEMU >= 0.10.0

2009-05-13 Thread Gerrit Slomma
Daniel P. Berrange schrieb: The KVM migration code was added to QEMU for the 0.10.0 release, so we should enable this in libvirt now. Daniel Hello Why is in qemu_conf.c caps initialized with 0 for offlineMigrate and liveMigrate? qemu_conf.c line 364 ff virCapsPtr qemudCapsInit(void) { st

Re: [libvirt] discrepancies in issuing virsh capabilities with different user-accounts

2009-05-06 Thread Gerrit Slomma
Gerrit Slomma schrieb: Hello When doing a virsh capabilities with root i get a different output than when issuing the command with my own unprivileged account roadrunner. Furthermore the first issuing of the command as roadrunner throws a error-message. Restarting of the libvirt-daemon

[libvirt] discrepancies in issuing virsh capabilities with different user-accounts

2009-05-06 Thread Gerrit Slomma
Hello When doing a virsh capabilities with root i get a different output than when issuing the command with my own unprivileged account roadrunner. Furthermore the first issuing of the command as roadrunner throws a error-message. Restarting of the libvirt-daemon gives the correct output. Samp

Re: [libvirt] KVM processes -- should we be able to attach them to the libvirtd process?

2009-05-06 Thread Gerrit Slomma
r mentiond behaviour would also make it impossible to update/upgrade libvirt without restarting all VMs. Kind regards, Gerrit Slomma -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] migration fails

2009-05-02 Thread Gerrit Slomma
jens schrieb: Hello, I tried to migrate a kvm domain to a second identical machine with the command: virsh migrate --live dom1 qemu+ssh://second.machine.org/system which leads me to an unresponsive virsh on the second machine - 'virsh list' just takes forever and qemu wasn't started (the domain

Re: [libvirt] [PATCH] Refresh QEMU driver caps in getCapabilities

2009-04-28 Thread Gerrit Slomma
Cole Robinson schrieb: (...) To test the performance impact, I used a simple python script: import libvirt conn = libvirt.open("qemu:///system") for i in range(0, 30): conn.getCapabilities() The time difference was on average .02 seconds slower, which I think is negligible. If at somepoin

Re: [libvirt] libvirt Driver support Matrix.

2009-04-24 Thread Gerrit Slomma
Abhishek K Jha schrieb: Hi Pritesh, Thanks for your prompt reply. If I look at the latest hvsupport.html, it still shows virDomainMigrate as unsupported by QEMU/KVM. I did some more search and if I look at the log ( http://git.et.redhat.com/?p=libvirt.git;a=log;h=2bfdcfda7c55c3ed59c16e82fcba86

[libvirt] live-migration is not working with libvirt-0.6.2 on RHEL5.3

2009-04-21 Thread Gerrit Slomma
So i still do not get live migration up and running with libvirt-0.6.2 on RHEL5.3 My setup is as following: Host#1 rr016: RHEL5.3 2.6.18-128.el5.x86_64; 4 GB RAM; C2D T8300 Host#2 rr017: RHEL5.3 2.6.18-128.el5.x86_64; 3 GB RAM; C2D E6550 on both hosts: kvm-85 compiled rpms from sourceforge.org (

Re: [libvirt] Release of libvirt-0.6.2

2009-04-17 Thread Gerrit Slomma
Daniel Veillard schrieb: Oops I notice I didn't replied to this. No problemo. On Fri, Apr 03, 2009 at 10:13:48PM +0200, Gerrit Slomma wrote: "make rpm" or "rpmbuild --rebuild libvirt-0.6.2-1.fc9.src.rpm" is broken. Strange I actually use "

Re: [libvirt] KVM live migration with libvirt

2009-04-17 Thread Gerrit Slomma
inates the string Do we need a fix here ? (...) This is fixed in the current libvirt-0.6.2 release and a fix is available for libvirt-0.6.1 here: https://www.redhat.com/archives/libvir-list/2009-March/msg00503.html Kind regards Gerrit Slomma -- Libvir-list mailing list Libvir-list@redhat

Re: [libvirt] virGetNodeinfo .cpus

2009-04-17 Thread Gerrit Slomma
Gerrit Slomma schrieb: An Opteron 2210 HE only has two cores. Yours is a single-CPU. Each core is on Processor, the core-count is of all cores bound together (i.e. in one socket), also called the siblings in /proc/cpuinfo Lots of typos here... To be more specific: An Opteron 2210 HE processor

Re: [libvirt] virGetNodeinfo .cpus

2009-04-17 Thread Gerrit Slomma
Zvi Dubitzky schrieb: virNodeGetInfo() returns .cpus as 2 but the /proc/cpuinfo of the node shows 2 processors with 2 cores each ('cpu cores') . Or maybe the 'core id' is what counts in the /proc/cpuinfo and that one gets vaue 0 , 1 only i.e totally 2 can you clarify ? Here is the

Re: [libvirt] XML network model type stripped on define.

2009-04-15 Thread Gerrit Slomma
Daniel P. Berrange schrieb: On Wed, Apr 15, 2009 at 12:00:34PM -0500, Adrian Garay wrote: virsh --version returns 0.3.3 Yes, that's too old to support the NIC model setting. You should be able to build the current libvirt release as an RPM for RHEL-5 though. Daniel I too use RHEL

Re: [libvirt] libvirt arch detection on x86_64 host

2009-04-14 Thread Gerrit Slomma
Gerry Reno schrieb: I have a 64-bit host that is running a 32-bit OS (Fedora 10). (...) # virsh nodeinfo CPU model: i686 (...) Shouldn't the host arch have been detected and identified as x86_64? Regards, Gerry -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.co

[libvirt] vcpuinfo returns wrong CPU value for kvm

2009-04-14 Thread Gerrit Slomma
vcpuinfo returns a wrong value for kvm with libvirt 0.6.2: virsh # nodeinfo CPU-Modell: x86_64 CPU(s): 2 CPU-Frequenz:2333 MHz CPU-Socket(s): 1 Kern(e) pro Socket: 2 Thread(s) pro Kern: 1 NUMA-Zelle(n): 1 Speichergrösse: 3062956 kB virsh # dominfo

Re: [libvirt] libvirt 0.6.2 on Fedora 10

2009-04-14 Thread Gerrit Slomma
Thomas Sjolshagen schrieb: I've been looking for a binary package for x86_64/fc10 of libvirt/libvirt-python, but can only find the F11 versions. Have none been created and I'll need to build my own, or am I (and google/rpmfind/koji/etc) being vision impaired? Thanks, // Thomas

Re: [libvirt] Release of libvirt-0.6.2

2009-04-03 Thread Gerrit Slomma
"make rpm" or "rpmbuild --rebuild libvirt-0.6.2-1.fc9.src.rpm" is broken. With good reason he (rpmbuild) complains about not finding libvirt_proxy. In proxy/Makefile a lot of is commented out - is this due to the libvirt_proxy buffer overflow? There is no libvirt_proxy in the libvirt-0.6.2-1.fc9

Re: [libvirt] freecell gives out bytes instead of kilobytes

2009-04-03 Thread Gerrit Slomma
Daniel P. Berrange schrieb: For command line tools like virsh I prefer to have it consistently report in the same units, so if someone wants to script it from the shell they don't have to concern themselves with changing units. All the other virsh commands report in KB, so the simple fix is to j

Re: [libvirt] freecell gives out bytes instead of kilobytes

2009-04-03 Thread Gerrit Slomma
Florian Vichot schrieb: Gerrit Slomma a écrit : if (cell == -1) -vshPrint(ctl, "%s: %llu kB\n", _("Total"), memory); + if (memory < 10*1024*1204*1024) If I may, it should probably read "1024", not "1204" here. and here. +

[libvirt] freecell gives out bytes instead of kilobytes

2009-04-02 Thread Gerrit Slomma
The virsh-command freecell hands out bytes but affixes those with kB. The error ist found in virsh.c on line 1663 and following. I have corrected this and altered the output to the method i chose for virt-manager - in the days of 96 GB per socket (Nehalem-EP) no one cares even about a fraction o

[libvirt] error in libvirt.py from libvirt-0.6.1 ?

2009-04-01 Thread Gerrit Slomma
Hello Is there a paticular reason for having "def migrate" two times in libvirt.py? The first occurence is on line 345 with parameters (self, dconn, flags, dname, uri, bandwidth) The second occurence is on line 1102 with parameters (self, domain, flags, dname, uri, bandwidth) Which one is cor

[libvirt] question about qemudDomainMigratePrepare2 of qemu_driver.c from libvirt-0.6.1

2009-03-31 Thread Gerrit . Slomma
mething here and the checking in qemu_driver.c is correct? I always get the "only tcp URIs are supported for KVM migrations" if i try to migrate KVM-domains in virt-manager 0.7.0 and therefore searched for the root-cause of this problem. Kind regards, Gerrit Slomma Mit freundlichen Grüßen,