[Libvir] [PATCH] an irregular value is set as 'CPU Affinity' by virsh vcpupin

2008-01-08 Thread Saori Fukuta
Hi, There is a difference between 'CPU Affinity' of 'virsh vcpuinfo' and 'CPU Affinity' of 'xm vcpu-list' when I set the vcpu affinity by 'virsh vcpupin'. i.e. 'xm vcpu-list' shows wrong value. But there is no difference between them when I set by 'xm vcpu-pin'. (a) set by 'virsh vcpupin'

Re: [Libvir] PATCH: BZ 426425: Fix truncated reading of config files

2008-01-08 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Jan 04, 2008 at 09:55:47AM +, Richard W.M. Jones wrote: Daniel P. Berrange wrote: The virConfReadFile API has a fixed 4096 byte buffer it reads the config file into, regardless of the config file size and silently drops any data

Re: [Libvir] [patch 2/2] Enable stdout/stderr spew with --enable-debug

2008-01-08 Thread Mark McLoughlin
On Mon, 2008-01-07 at 20:57 -0500, Daniel Veillard wrote: On Mon, Jan 07, 2008 at 06:12:38PM +, Mark McLoughlin wrote: Change virExec() such that with --enable-debug, stdout and stderr no longer go to /dev/null. Looks fine to me, but I didn't see [1/2] numbering problem ? I

[Libvir] OCaml bindings - Windows installer

2008-01-08 Thread Richard W.M. Jones
This is a Windows installer for the OCaml libvirt bindings and programs: http://libvirt.org/sources/ocaml/ocaml-libvirt-0.4.0.1.exe If someone has a 'virgin' Windows system and could test that the above installer works, particularly for Windows Vista and for Windows which has not had any

[Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard

2008-01-08 Thread Guido Guenther
Hi, currently domainShutdown kills qemu/kvm instances hard which is not very filesystem friendly. However recent kvm git acquired system_powerdown to shutdown the system gracefully by simulating an acpi power button press. We can now use this in libvirt: diff --git a/src/qemu_driver.c

[Libvir] OCaml bindings 0.4.0.1 released

2008-01-08 Thread Richard W.M. Jones
I'm pleased to announce the latest release of the libvirt OCaml bindings and programs. http://libvirt.org/ocaml/ There's a large list of changes since the last release, so best thing is to refer to the Changelog itself: http://libvirt.org/ocaml/ChangeLog.txt Source code is available

Re: [Libvir] [PATCH] Xen: Support cpu_weight and cpu_cap for Xen.

2008-01-08 Thread Richard W.M. Jones
Tatsuro Enokura wrote: Hi, Richard Richard W.M. Jones wrote: [Resurrecting this old thread ...] How about this as a plan? (1) Add 'virsh savetuning' and 'virsh loadtuning' commands as Daniel Veillard has suggested above. These would save the per-domain tuning information to an XML file

Re: [Libvir] PATCH: BZ 426425: Fix truncated reading of config files

2008-01-08 Thread Richard W.M. Jones
Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Jan 04, 2008 at 09:55:47AM +, Richard W.M. Jones wrote: Daniel P. Berrange wrote: The virConfReadFile API has a fixed 4096 byte buffer it reads the config file into, regardless of the config file size and silently

Re: [Libvir] PATCH: BZ 426425: Fix truncated reading of config files

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 02:11:56PM +, Richard W.M. Jones wrote: Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Jan 04, 2008 at 09:55:47AM +, Richard W.M. Jones wrote: Daniel P. Berrange wrote: The virConfReadFile API has a fixed 4096 byte buffer it reads

Re: [Libvir] [patch 1/2] Do not try and delete built-in iptables chains

2008-01-08 Thread Daniel P. Berrange
On Mon, Jan 07, 2008 at 06:12:37PM +, Mark McLoughlin wrote: Previously, when we supported adding our rules to chains with a custom prefix (e.g. libvirt-Fedora-POSTROUTING) we needed to be able to handle adding and deleting these custom chains. Now that we only use built-in iptables

Re: [Libvir] [patch 2/2] Enable stdout/stderr spew with --enable-debug

2008-01-08 Thread Daniel P. Berrange
On Mon, Jan 07, 2008 at 06:12:38PM +, Mark McLoughlin wrote: Change virExec() such that with --enable-debug, stdout and stderr no longer go to /dev/null. ACK Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules:

Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 12:15:56PM +0100, Guido Guenther wrote: Hi, currently domainShutdown kills qemu/kvm instances hard which is not very filesystem friendly. However recent kvm git acquired system_powerdown to shutdown the system gracefully by simulating an acpi power button press. We can

Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard

2008-01-08 Thread Guido Guenther
On Tue, Jan 08, 2008 at 04:37:02PM +, Daniel P. Berrange wrote: On Tue, Jan 08, 2008 at 12:15:56PM +0100, Guido Guenther wrote: Hi, currently domainShutdown kills qemu/kvm instances hard which is not very filesystem friendly. However recent kvm git acquired system_powerdown to

Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 05:55:45PM +0100, Guido Guenther wrote: On Tue, Jan 08, 2008 at 04:37:02PM +, Daniel P. Berrange wrote: On Tue, Jan 08, 2008 at 12:15:56PM +0100, Guido Guenther wrote: Hi, currently domainShutdown kills qemu/kvm instances hard which is not very filesystem

Re: [Libvir] [PATCH] an irregular value is set as 'CPU Affinity' by virsh vcpupin

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 06:42:40PM +0900, Saori Fukuta wrote: Hi, There is a difference between 'CPU Affinity' of 'virsh vcpuinfo' and 'CPU Affinity' of 'xm vcpu-list' when I set the vcpu affinity by 'virsh vcpupin'. i.e. 'xm vcpu-list' shows wrong value. But there is no difference between

Re: [Libvir] [PATCH] change a Disk/Nic of inactive domain

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 02:04:00PM +0900, S.Sakamoto wrote: Hi The libvirt on Xen-3.03 does not have the function that add/change/delete a Disk/NIC of inactive domain. So, I made a patch which enabled add/change/delete of Disk/NIC of inactive domain. This patch will be able to change

[Libvir] PATCH: make debug builds quiet by default

2008-01-08 Thread Daniel P. Berrange
During development I like to have the --enable-debug flag enabled all the time because its very handy at times. I don't want it spewing to stderr all the time though, just because I turned on the compile option. So this patch adds an env variable 'LIBVIRT_DEBUG' which controls whether it is chatty

Re: [Libvir] PATCH: make debug builds quiet by default

2008-01-08 Thread Daniel Veillard
On Wed, Jan 09, 2008 at 05:13:47AM +, Daniel P. Berrange wrote: During development I like to have the --enable-debug flag enabled all the time because its very handy at times. I don't want it spewing to stderr all the time though, just because I turned on the compile option. So this patch