Ridiculous Uptime in KVM VM

2010-03-23 Thread Daniel Bareiro
Hi, all! I'm observing the following thing in a KVM VM: - aps3:~# uptime 06:25:11 up 14557 days, 10:29, 5 users, load average: 0.87, 1.02, 0.95 -

Re: Modifying RAM during runtime on guest

2009-10-05 Thread Daniel Bareiro
On Tuesday, 29 September 2009 00:55:02 -0400, Jim Paris wrote: According to the tests that I was doing in guest with kernel with support for virtio, shrinking works, but when trying to return to the amount of initial memory, seems that it fails and I lose connectivity by serial console

Re: Modifying RAM during runtime on guest

2009-10-06 Thread Daniel Bareiro
Hi, Jim. On Sunday, 04 October 2009 20:35:58 -0300, Daniel Bareiro wrote: According to the tests that I was doing in guest with kernel with support for virtio, shrinking works, but when trying to return to the amount of initial memory, seems that it fails and I lose connectivity

Problem booting guest with Linux 2.6.3x

2009-10-06 Thread Daniel Bareiro
Hi all! I've compiled Linux 2.6.30.3 using the Debian way on guest Debian GNU/Linux Lenny and trying to boot the guest with this kernel, the bootstrapping is freeze on Loading, please wait... message. In logs I don't get entries of the bootstrapping process with 2.6.30 (I think it is because the

Re: Problem booting guest with Linux 2.6.3x

2009-10-07 Thread Daniel Bareiro
Hi, Alex. On Tuesday, 06 October 2009 22:40:11 -0600, Alex Williamson wrote: root  (hd0,1)  Filesystem type is ext2fs, partition type 0x83 kernel  /boot/vmlinuz-2.6.31.2-dgb root=/dev/hda2 ro quiet console=tty0 console =ttyS0,38400n8   [Linux-bzImage, setup=0x3600, size=0x203480]

Re: Problem booting guest with Linux 2.6.3x

2009-10-10 Thread Daniel Bareiro
Hi, Michael. On Wednesday, 07 October 2009 15:12:26 +0400, Michael Tokarev wrote: root (hd0,1) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.31.2-dgb root=/dev/hda2 ro quiet console=tty0 console =ttyS0,38400n8 [Linux-bzImage, setup=0x3600, size=0x203480]

Re: Hot-adding disk on VM

2009-10-11 Thread Daniel Bareiro
Hi, all! On Saturday, 22 August 2009 10:59:47 -0300, Daniel Bareiro wrote: According to I see in this document [1], is necessary that is loaded two modules in the guest: acpiphp and pci_hotplug. The pci_hotplug module is loaded. Nevertheless, in spite of existing the acpiphp module, cannot

Re: Problem booting guest with Linux 2.6.3x

2009-10-13 Thread Daniel Bareiro
Hi Michael. On Saturday, 10 October 2009 20:10:16 +0400, Michael Tokarev wrote: But according to it seems, I could verify that the disks that are passed with -hdX in KVM-88 are mapped in 2.6.31.2 guests like SATA/SCSI devices. With Linux stock 2.6.26 these are mapped like IDE disks. Can it

Re: Modifying RAM during runtime on guest

2009-10-13 Thread Daniel Bareiro
Hi Jim. On Wednesday, 07 October 2009 14:21:15 -0400, Jim Paris wrote: I noticed no-one answered this, and I just ran into the same thing myself. As Avi pointed out earlier, it is a guest bug, and upgrading the guest to 2.6.27 should fix it:

Re: Hot-adding disk on VM

2009-11-07 Thread Daniel Bareiro
Hi, Dustin. On Sunday, 11 October 2009 21:25:19 -0500, Dustin Kirkland wrote: According to I see in this document [1], is necessary that is loaded two modules in the guest: acpiphp and pci_hotplug. The pci_hotplug module is loaded. Nevertheless, in spite of existing the acpiphp module,

Doubt on KVM-88 vulnerabilities

2009-11-08 Thread Daniel Bareiro
Hi all! I'm using KVM-88 compiled by myself from the source code provided by the official site of the project. Is this version of KVM vulnerable to the mentioned thing in the DSA-1907-1 [1]? In such case, there is some published patch that can be applied or some new version that solves this?

Amount of virtual disks with KVM

2009-11-29 Thread Daniel Bareiro
Hi all! I'm trying to make a migration of a Xen PV virtual machine to KVM. For this I'm starting a VM with SystemRescueCD [1] of the following way: # /usr/local/kvm/bin/qemu-system-x86_64 -hda /dev/vm/hermes-disk -boot d \ -cdrom /space/isos/systemrescuecd-x86-1.3.2.iso -m 512 -daemonize -vnc \

Re: Amount of virtual disks with KVM

2009-11-30 Thread Daniel Bareiro
Hi, Avi. On Monday, 30 November 2009 10:18:31 +0200, Avi Kivity wrote: I'm trying to make a migration of a Xen PV virtual machine to KVM. For this I'm starting a VM with SystemRescueCD [1] of the following way: # /usr/local/kvm/bin/qemu-system-x86_64 -hda /dev/vm/hermes-disk -boot d \

Re: Doubt on KVM-88 vulnerabilities

2009-12-14 Thread Daniel Bareiro
Hi, Avi. On Tuesday, 10 November 2009 12:04:40 +0200, Avi Kivity wrote: I'm using KVM-88 compiled by myself from the source code provided by the official site of the project. Is this version of KVM vulnerable to the mentioned thing in the DSA-1907-1 [1]? Yes. In such case, there is some

Re: Doubt on KVM-88 vulnerabilities

2009-12-14 Thread Daniel Bareiro
On Monday, 14 December 2009 08:08:32 -0300, Daniel Bareiro wrote: I recommend to use distro-provided modules (or kernel.org kernels within their support period) for production use. This ensures you get security and stability fixes. kvm-89 will fix these issues, but as it's

Re: Doubt on KVM-88 vulnerabilities

2009-12-14 Thread Daniel Bareiro
Hi, Avi. On Monday, 14 December 2009 20:39:13 +0200, Avi Kivity wrote: According to I found looking for in Internet, qemu-kvm does not include the kernel modules but only the userspace and it is considered to be stable. I've downloaded qemu-kvm-0.11.0 and I build it with 'make' and 'make

Re: Doubt on KVM-88 vulnerabilities

2009-12-14 Thread Daniel Bareiro
Hi, Avi. On Monday, 14 December 2009 20:38:08 +0200, Avi Kivity wrote: Then, I imagine that only it would be necessary to compile the userspace. It is not necessary to rebuild userspace, unless you want to use new features. Good. Then if we did not need new features and we only want to

Re: Doubt on KVM-88 vulnerabilities

2009-12-14 Thread Daniel Bareiro
Hi, Avi and Chris. On Monday, 14 December 2009 18:07:57 -0300, Daniel Bareiro wrote: According to I found looking for in Internet, qemu-kvm does not include the kernel modules but only the userspace and it is considered to be stable. I've downloaded qemu-kvm-0.11.0 and I build

OpenBSD 4.5 and qemu-kvm-0.12.0-rc2

2009-12-14 Thread Daniel Bareiro
Hi all! I'm testing qemu-kvm-0.12.0-rc2 with the patch for compatfd of Chris Wright on a host with Linux 2.6.32 from kernel.org and a virtual machine with OpenBSD 4.5. After to boot this virtual machine I'm observing by serial console the following message of the network interface which is

Re: [ANNOUNCE] qemu-kvm-0.12.0-rc2 released

2009-12-15 Thread Daniel Bareiro
On Tuesday, 15 December 2009 09:28:38 +0100, Ingmar Schraub wrote: Hi, Hi, Ingmar. after upgrading from qemu-kvm-0.11.1 to qemu-kvm-0.12.0-rc2 I noticed two immediate problems on two different hosts: 1.) The e1000 driver doesn't work anymore. The Guest OS detects it (tested with Ubuntu

Re: [ANNOUNCE] kvm-kmod-2.6.32.2

2009-12-24 Thread Daniel Bareiro
Hi, Jan. On Thursday, 24 December 2009 12:48:00 +0100, Jan Kiszka wrote: Before continuing to pimp up the tree, let's quickly update kvm-kmod: This release follows latest KVM updates in stable 2.6.32 and also includes the requested kvm kernel header installation. The latter is specifically

Re: Hot-adding disk on VM

2009-12-25 Thread Daniel Bareiro
Hi, Dustin. On Saturday, 07 November 2009 21:15:09 -0600, Dustin Kirkland wrote: On Sat, Nov 7, 2009 at 7:01 PM, Daniel Bareiro daniel-lis...@gmx.net wrote: According to I see in Launchpad, there is a fix released for Qemu and qemu-kvm (Ubuntu). It's fix committed in QEMU, and Fix

Re: OpenBSD 4.5 and qemu-kvm-0.12.0-rc2

2009-12-26 Thread Daniel Bareiro
Hi, Chris. On Tuesday, 15 December 2009 08:23:02 -0500, Chris Dukes wrote: On Mon, Dec 14, 2009 at 11:36:35PM -0300, Daniel Bareiro wrote: Hi all! I'm testing qemu-kvm-0.12.0-rc2 with the patch for compatfd of Chris Wright on a host with Linux 2.6.32 from kernel.org and a virtual

Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Daniel Bareiro
Hi, all! I installed qemu-kvm-0.12.1.1 in one equipment of my house yesterday to test it with Linux 2.6.32 compiled by myself from the source code of kernel.org. From the night of yesterday that I am observing a high use of swap. This is the Service Log Entries from Nagios: 12-26-2009 21:57:33

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Daniel Bareiro
Hi, Avi. On Sunday, 27 December 2009 18:03:18 +0200, Avi Kivity wrote: I installed qemu-kvm-0.12.1.1 in one equipment of my house yesterday to test it with Linux 2.6.32 compiled by myself from the source code of kernel.org. [...] This is what I obtain with 'free' in the host:

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-27 Thread Daniel Bareiro
Hi, Avi. On Sunday, 27 December 2009 19:33:31 +0200, Avi Kivity wrote: Also, qemu might be leaking memory. Please post 'pmap $pid' for all of your guests (do that before any of the other tests, on your swapped-out system).

Re: *insane* amount of host_state_reloads for openbsd guest in 0.14

2011-03-14 Thread Daniel Bareiro
Hi, Michael. On Friday, 11 March 2011 15:02:33 +0300, Michael Tokarev wrote: I tried Openbsd 4.8 in kvm today and immediately noticed that it is running _very_ slow, boot takes several minutes to complete to the login: prompt. After investigating I found that kvm does really insane amount

Administration panel for KVM

2011-04-09 Thread Daniel Bareiro
Hi all! With a group of college buddies, we are evaluating the possibility of initiating a project to develop a management panel of KVM virtual machines. The idea is to do something similar to OpenXenManager but for KVM. All opinions and recommendations are welcome as well as on how to connect

Re: Administration panel for KVM

2011-04-09 Thread Daniel Bareiro
application does not necessarily have to install in the same VMHost. Thanks for your reply. Regards, Daniel -- Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 18:23:46 up 43 days, 23:18, 12 users, load average: 0.03, 0.02, 0.00 signature.asc

Re: Administration panel for KVM

2011-04-10 Thread Daniel Bareiro
On Sunday, 10 April 2011 14:00:41 +0200, Matthias Hovestadt wrote: Hi! Hi, Matthias! With a group of college buddies, we are evaluating the possibility of initiating a project to develop a management panel of KVM virtual machines. The idea is to do something similar to OpenXenManager but

Loss of network connectivity with high load

2010-06-15 Thread Daniel Bareiro
Hi all! I'm using Linux 2.6.31.13 compiled with the kernel.org source code on KVM host with Debian GNU/Linux Lenny amd64. Also I'm using Debian GNU/Linux Lenny amd64 virtual machine with kernel 2.6.26-2 from Debian repositories. I'm using qemu-kvm 0.12.3. These are the parameters I'm using to

Re: Loss of network connectivity with high load

2010-06-15 Thread Daniel Bareiro
Hi, Brian. On Tuesday, 15 June 2010 16:13:03 -0500, Brian Jackson wrote: I'm using Linux 2.6.31.13 compiled with the kernel.org source code on KVM host with Debian GNU/Linux Lenny amd64. Also I'm using Debian GNU/Linux Lenny amd64 virtual machine with kernel 2.6.26-2 from Debian

Re: Loss of network connectivity with high load

2010-06-16 Thread Daniel Bareiro
On Wednesday, 16 June 2010 00:36:43 -0300, Daniel Bareiro wrote: There have been a few bugs similar to this reported that should be pretty easy to find. Basically, I'd say try 0.12.4, it should have a few fixes in this area over 0.12.3. I was testing with qemu-kvm 0.12.4 but I'm having

Re: Loss of network connectivity with high load

2010-06-16 Thread Daniel Bareiro
Hi, Avi. On Wednesday, 16 June 2010 17:14:54 +0300, Avi Kivity wrote: I'm using Linux 2.6.31.13 compiled with the kernel.org source code on KVM host with Debian GNU/Linux Lenny amd64. Also I'm using Debian GNU/Linux Lenny amd64 virtual machine with kernel 2.6.26-2 from Debian repositories.

Hot resizing of partitions on HVM

2010-07-04 Thread Daniel Bareiro
Hi all! Is it possible to resize the partition of a KVM virtual machine without it is down? With Xen PV virtual machines, I get this by umounting the filesystem on the VM, detaching the device and then resizing the logical volume and file system in the VMHost. Finally, I attach the device and

Swap usage with KVM

2010-07-11 Thread Daniel Bareiro
Hi all! I have an installation with Debian GNU/Linux 5.0.4 amd64 with qemu-kvm 0.12.3 compiled with the source code obtained from the official site of KVM and Linux 2.6.32.12 compiled from source code of kernel.org. All this is installed on an HP Proliant DL380 G6 with two Xeon E5530 quadcore

Re: Swap usage with KVM

2010-07-11 Thread Daniel Bareiro
On Sunday, 11 July 2010 12:12:57 -0300, Daniel Bareiro wrote: I have an installation with Debian GNU/Linux 5.0.4 amd64 with qemu-kvm 0.12.3 compiled with the source code obtained from the official site of KVM and Linux 2.6.32.12 compiled from source code of kernel.org. All this is installed

Re: Swap usage with KVM

2010-07-11 Thread Daniel Bareiro
Hi, Freddie. On Sunday, 11 July 2010 14:05:38 -0700, Freddie Cash wrote: I have an installation with Debian GNU/Linux 5.0.4 amd64 with qemu-kvm 0.12.3 compiled with the source code obtained from the official site of KVM and Linux 2.6.32.12 compiled from source code of kernel.org. All

Re: Swap usage with KVM

2010-07-20 Thread Daniel Bareiro
On Sunday, 11 July 2010 19:08:58 -0300, Daniel Bareiro wrote: I have an installation with Debian GNU/Linux 5.0.4 amd64 with qemu-kvm 0.12.3 compiled with the source code obtained from the official site of KVM and Linux 2.6.32.12 compiled from source code of kernel.org. All

Re: Swap usage with KVM

2010-07-22 Thread Daniel Bareiro
Hi, David. On Tuesday, 20 July 2010 21:18:09 +0200, David Weber wrote: Yes, we are using Virtio drivers for networking and storage in both VMs with cache=none. Both VMs are running Linux 2.6.32-bpo.5-amd64 from Lenny Backports repositories. For VMHost, we are using a stable version of

Re: Swap usage with KVM

2010-08-02 Thread Daniel Bareiro
. Regards, Daniel -- Mi frase del día: Collaboration, n.: A literary partnership based on the false assumption that the other fellow can spell. Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 15:28:17 up 23 days, 20:20, 12 users, load

Re: Swap usage with KVM

2010-08-02 Thread Daniel Bareiro
día: BOFH excuse #281: The co-locator cannot verify the frame-relay gateway to the ISDN server. Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 16:44:53 up 23 days, 21:37, 11 users, load average: 0.02, 0.06, 0.08 signature.asc Description

Re: Swap usage with KVM

2010-08-02 Thread Daniel Bareiro
if it makes sense at all :) This is an experimental patch for an experimental kernel :)) -- Ingo Molnar on linux-kernel Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 18:38:51 up 23 days, 23:31, 11 users, load average: 0.17, 0.16, 0.10

KSM with Debian GNU/Linux

2010-08-09 Thread Daniel Bareiro
Hi all! I have understood that in addition to support from the kernel and qemu-kvm, there must be support in libc. So in testing I was doing on Lenny, it did not work using libc from Debian repositories. Now that squeeze is frozen, anyone knows if it will support KSM? Has anyone had success

Re: KSM with Debian GNU/Linux

2010-08-09 Thread Daniel Bareiro
On Monday, 09 August 2010 14:27:12 +0400, Michael Tokarev wrote: I have understood that in addition to support from the kernel and qemu-kvm, there must be support in libc. So in testing I was doing on Lenny, it did not work using libc from Debian repositories. Now that squeeze is frozen,

Re: KSM with Debian GNU/Linux

2010-08-09 Thread Daniel Bareiro
On Monday, 09 August 2010 13:00:49 +0200, Nikola Ciprich wrote: Hi, Hi, Nikola. I don't have clue what glibc is contained in debian, but it seems to me that at least compile-time KSM support DOES depend on glibc. I'm using RHEL5-based system and KSM support doesn't get compiled in by

Re: KSM with Debian GNU/Linux

2010-08-12 Thread Daniel Bareiro
Hi, Michael. On Monday, 09 August 2010 19:28:23 +0400, Michael Tokarev wrote: I'm also using qemu-kvm 0.12.1.2 compiled by myself with the source code of SourceForge. Note that this one has numerous bugs, some of which involves data corruption. JFYI. Thanks for the observation. These are

Re: KSM with Debian GNU/Linux

2010-08-15 Thread Daniel Bareiro
Hi, all! On Thursday, 12 August 2010 22:05:34 -0300, Daniel Bareiro wrote: Keeping the kernel I had compiled and installing the qemu-kvm package in Backports, now KSM is working: # cat /sys/kernel/mm/ksm/pages_sharing 181406 Looking at the statistics of the values obtained running 15

GRUB and support for Virtio

2010-08-17 Thread Daniel Bareiro
Hi all! I'm doing some tests in a KVM virtual machine with CentOS 5.5 and it seems that GRUB is not recognizing the Virtio devices: # ll /dev/vd* brw-r- 1 root disk 253, 0 ago 17 23:35 /dev/vda brw-r- 1 root disk 253, 1 ago 17 23:35 /dev/vda1 brw-r- 1 root disk 253, 2 ago 17 23:35

Re: GRUB and support for Virtio

2010-08-18 Thread Daniel Bareiro
Hi, Martin. On Wednesday, 18 August 2010 14:49:57 +0200, Martin Kraus wrote: I'm doing some tests in a KVM virtual machine with CentOS 5.5 and it seems that GRUB is not recognizing the Virtio devices: # ll /dev/vd* brw-r- 1 root disk 253, 0 ago 17 23:35 /dev/vda brw-r- 1

Re: Memory usage with qemu-kvm-0.12.1.1

2009-12-31 Thread Daniel Bareiro
Hi, Hugh. On Wednesday, 30 December 2009 18:14:30 +, Hugh Dickins wrote: On Sun, 27 Dec 2009, Rik van Riel wrote: On 12/27/2009 12:12 PM, Avi Kivity wrote: On 12/27/2009 06:45 PM, Rik van Riel wrote: If so, it doesn't copy sta...@kernel.org. Is it queued for -stable?

Re: Memory usage with qemu-kvm-0.12.1.1

2010-01-01 Thread Daniel Bareiro
Hi, Hugh. On Thursday, 31 December 2009 17:02:49 +, Hugh Dickins wrote: On Thu, 31 Dec 2009, Daniel Bareiro wrote: What tests would be recommendable to make to reproduce the problem? Oh, I thought you were the one seeing the problem! If you cannot easily reproduce it, then please

Testing nested virtualization

2010-01-01 Thread Daniel Bareiro
Hi, all! I'm testing nested virtualization with Linux 2.6.32.2 and qemu-kvm-0.12.1.1 in the host. I was looking for if in the KVM official site there is something documented, but I didn't find information so any reference will be welcome. What I got to do until the moment is to load the module

Re: Testing nested virtualization

2010-01-01 Thread Daniel Bareiro
On Friday, 01 January 2010 17:20:00 -0300, Daniel Bareiro wrote: In this guest I'm using Linux 2.6.32, with userspace kvm-85 of backports. For the VM booted within of 'test', I am using a qcow2 file. But when connecting via VNC, the boot process is hung in Press for F12 boot menu. Sometimes

Re: Testing nested virtualization

2010-01-02 Thread Daniel Bareiro
Hi, Alexander. On Saturday, 02 January 2010 14:11:04 +0100, Alexander Graf wrote: In this guest I'm using Linux 2.6.32, with userspace kvm-85 of backports. For the VM booted within of 'test', I am using a qcow2 file. But when connecting via VNC, the boot process is hung in Press for F12

Memory ballooning deactivated by the guest

2010-01-04 Thread Daniel Bareiro
Hi all! I'm using Linux 2.6.32.2 with qemu-kvm-0.12.1.1 and, testing memory ballooning, I obtained the following message: r...@ubuntu:~# telnet localhost 5001 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. QEMU 0.12.1 monitor - type 'help' for more information (qemu)

Re: Memory ballooning deactivated by the guest

2010-01-04 Thread Daniel Bareiro
Hi, Avi. On Monday, 04 January 2010 11:30:23 +0200, Avi Kivity wrote: I'm using Linux 2.6.32.2 with qemu-kvm-0.12.1.1 and, testing memory ballooning, I obtained the following message: r...@ubuntu:~# telnet localhost 5001 Trying 127.0.0.1... Connected to localhost. Escape character is

Re: Testing nested virtualization

2010-01-04 Thread Daniel Bareiro
, Daniel -- Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 10:52:11 up 19:37, 11 users, load average: 0.12, 0.17, 0.11 signature.asc Description: Digital signature

Re: Testing nested virtualization

2010-01-04 Thread Daniel Bareiro
/devices/system/clocksource/clocksource0/available_clocksource kvm-clock hpet acpi_pm Thanks for your reply. Regards, Daniel -- Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 12:21:25 up 21:06, 11 users, load average: 0.08, 0.11, 0.09 signature.asc

Re: Testing nested virtualization

2010-01-04 Thread Daniel Bareiro
for your reply. Regards, Daniel -- Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 20:43:21 up 1 day, 5:28, 11 users, load average: 0.21, 0.20, 0.12 signature.asc Description: Digital signature

Re: CPU hotplug add seems broken

2010-01-09 Thread Daniel Bareiro
On Friday, 08 January 2010 19:35:04 +0900, Ryota Ozaki wrote: Hi all, Hi, Ryota. I've tried CPU hotplug with latest qemu-kvm.git code, and got segmentation fault. I'm also having this problem but with Linux 2.6.32.2 + qemu-kvm-0.12.1.1 in the host: Jan 9 16:11:11 ubuntu kernel:

Re: How to properly turn off guest VM on server shutdown?

2010-01-24 Thread Daniel Bareiro
On Sunday, 24 January 2010 15:33:21 +0100, André Weidemann wrote: Hi, Hi, André. is there a mechanism inside qemu-kvm that can shutdown the OS inside a VM when the qemu-kvm process receives a kill signal? I am running Windows7 Pro inside a VM and I would like kvm to shut the Windows

Re: How to properly turn off guest VM on server shutdown?

2010-01-24 Thread Daniel Bareiro
Hi, Anthony. On Sunday, 24 January 2010 09:29:08 -0600, Anthony Liguori wrote: But the origin of the question here is probably, can something automatically shut down guests when a machine shutdowns down via the normal mechanism. AFAIK, libvirt does not support this today although there are

Re: How to properly turn off guest VM on server shutdown?

2010-01-24 Thread Daniel Bareiro
On Sunday, 24 January 2010 19:41:42 +0200, Avishay Traeger wrote: But the origin of the question here is probably, can something automatically shut down guests when a machine shutdowns down via the normal mechanism. AFAIK, libvirt does not support this today although there are some

Re: How to properly turn off guest VM on server shutdown?

2010-01-24 Thread Daniel Bareiro
On Sunday, 24 January 2010 15:27:23 -0300, Daniel Bareiro wrote: Does the 'system_powerdown' monitor command initiate an ACPI shutdown? If so, I guess you can make an rc.d script that calls it during shutdown? Interesting... I didn't know this command of Qemu Monitor. Doing a test

Re: KVM RAM limitation

2010-02-03 Thread Daniel Bareiro
-- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 signature.asc Description: Digital signature

Re: KVM RAM limitation

2010-02-03 Thread Daniel Bareiro
Hi, Anthony. On Wednesday, 03 February 2010 13:20:12 -0600, Anthony Liguori wrote: Are you sure you enabled KVM? Are you sure you are using the KVM binary and not some QEMU binary that's sitting around. This is one of those situations where the KVM command you are running might help. Also

Re: KVM RAM limitation

2010-02-04 Thread Daniel Bareiro
this I obtain several messages of the type cast to/from pointer from/to integer of different size. Thanks for your reply. Regards, Daniel -- Mi frase del día: An algorithm must be seen to be believed. -- D. E. Knuth Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running

Status of KVM vulnerabilities

2010-03-11 Thread Daniel Bareiro
Hi, all. Recently Debian has published the DSA-2010-1 [1] where the following vulnerabilities are fixed: * CVE-2010-0298 CVE-2010-0306 (Gleb Natapov) * CVE-2010-0309 (Marcelo Tosatti) * CVE-2010-0419 (Paolo Bonzini) I'm using Linux 2.6.32.3 with qemu-kvm-0.12.1.2 and I would like to know if it

OpenBSD and KVM

2010-12-18 Thread Daniel Bareiro
Hi all! I wanted to tell you that today I've upgraded to OpenBSD 4.8 and was not necessary to use the mpbios hack, I think that until version 4.7 was necessary. Also, I did a test to start the VM with two processors and these were detected without problems. A very good news, indeed! Regards,

system_powerdown and OpenBSD 4.8

2010-12-18 Thread Daniel Bareiro
Hi all! Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel. Thanks in advance for your replies. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian

Re: system_powerdown and OpenBSD 4.8

2010-12-18 Thread Daniel Bareiro
On Saturday, 18 December 2010 18:40:27 -0300, Daniel Bareiro wrote: Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel. I forgot to mention that the VMHost is Debian GNU/Linux Lenny with Linux 2.6.34.5

Re: system_powerdown and OpenBSD 4.8

2010-12-19 Thread Daniel Bareiro
Hi, Michael. On Sunday, 19 December 2010 11:48:42 +0300, Michael Tokarev wrote: Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel. I forgot to mention that the VMHost is Debian GNU/Linux Lenny

Bandwidth in KVM VM with OpenBSD

2011-01-09 Thread Daniel Bareiro
Hi all! I'm using an OpenBSD VM with qemu-kvm 0.12.5 (Debian repositories) and Linux 2.6.34.5 compiled with the kernel.org sources. I'm seeing a important difference in the bandwidth when I make a transfer to or from a OpenBSD VM. Here are some results: bsd:~# iperf -s

Re: GRUB and support for Virtio

2010-08-21 Thread Daniel Bareiro
On Wednesday, 18 August 2010 21:45:56 +0300, Nikolai K. Bochev wrote: Strange, i did 2 clean installs of centos 5.5 on an ubuntu 9.10 host and it went flawless with virtio devices ( both disks and network ). It appears that Debian have the same problem. In the installation of both Debian Lenny

Re: GRUB and support for Virtio

2010-08-24 Thread Daniel Bareiro
On Wednesday, 18 August 2010 21:45:56 +0300, Nikolai K. Bochev wrote: Strange, i did 2 clean installs of centos 5.5 on an ubuntu 9.10 host and it went flawless with virtio devices ( both disks and network ). Doing some tests with CentOS 5.5 on a KVM virtual machine, after doing the

Re: SeaBIOS and GRUB booting from Virtio devices [was: GRUB and support for Virtio]

2010-08-24 Thread Daniel Bareiro
On Tuesday, 24 August 2010 11:23:59 -0300, Daniel Bareiro wrote: Strange, i did 2 clean installs of centos 5.5 on an ubuntu 9.10 host and it went flawless with virtio devices ( both disks and network ). Doing some tests with CentOS 5.5 on a KVM virtual machine, after doing the installation

Re: Swap usage with KVM (and KSM)

2010-08-27 Thread Daniel Bareiro
: the AA battery in the wallclock sends magnetic interference Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 05:57:46 up 48 days, 10:50, 11 users, load average: 0.01, 0.04, 0.06 signature.asc Description: Digital signature

Virtio with Debian GNU/Linux Etch

2010-09-17 Thread Daniel Bareiro
Hi all! I have some installations with Debian GNU/Linux Etch I'm migrating to KVM. I just installed a kernel 2.6.26 from backports to use Virtio. But when I try to boot the operating system, it can not find the vd* device to mount the root filesystem. I made sure to change the /etc/fstab using

Re: [ANNOUNCE] qemu-kvm-0.13.0

2010-10-19 Thread Daniel Bareiro
Hi, Marcelo! On Tuesday, 19 October 2010 09:43:08 -0200, Marcelo Tosatti wrote: qemu-kvm-0.13.0 is now available. This release is based on the upstream qemu 0.13.0, plus kvm-specific enhancements. Please see the original qemu 0.13.0 release announcement for details. This release can be

Timeout of network interface with OpenBSD 4.5 VM

2009-07-17 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! Until today I was using OpenBSD 4.5 like KVM virtual machine on Ubuntu Hardy Heron server amd64 with KVM-62. But due to a bug that could affect to hosts with a high rate of I/O [1], I decided to update to KVM-88 compiled from sources from KVM

Re: init scripts for KVM guests UPDATE!

2009-07-18 Thread Daniel Bareiro
Hi Michael. On Saturday, 18 July 2009 09:25:57 +0400, Michael Tokarev wrote: here is an update for the init scripts for KVM guestsI've wrote for starting and stopping the KVM guest machines either by saving and restoring or by gracefully shutdown and start. My question, is there an option

'swapper Not tainted' on VM

2009-07-23 Thread Daniel Bareiro
Hi all! I'm using KVM-62 on a host with Ubuntu Hardy Heron server amd64 installed from Ubuntu repositories with a productive VM running an application server. I am observing in the VM a 'swapper tainted' in some of the processors which cause that the application server is spontaneously

Re: Timeout of network interface with OpenBSD 4.5 VM

2009-07-24 Thread Daniel Bareiro
Hi Chris. On Monday, 20 July 2009 11:51:14 -0400, Chris Dukes wrote: Per a posting to openbsd misc mailing list on the 15th by Nick Osborn All good advice, but in the meantime a kernel without acpimadt, ioapic, and mpbios drivers will do the job. It appears they must be completely

Very high memory usage with KVM

2009-07-25 Thread Daniel Bareiro
Hi all! I have an installation with Ubuntu Hardy Heron server amd64 with KVM-62 from Ubuntu repositories installed on an HP Proliant DL380 G5 with two Xeon E5405 quadcore processors and 16 GiB of RAM which has six VMs with the following configuration of memory: Hostname | RAM

Re: Timeout of network interface with OpenBSD 4.5 VM

2009-07-25 Thread Daniel Bareiro
Hi Chris. On Friday, 24 July 2009 08:03:29 -0400, Chris Dukes wrote: http://zeniv.linux.org.uk/~pakrat/obsd45 3 configs, 3 kernels. All work on a Core2 Duo T7300 running 2.6.27-7-generic (From ubuntu intrepid) crammed onto a laptop that's mostly running hardy. The OpenBSD virtual

Re: Very high memory usage with KVM

2009-07-26 Thread Daniel Bareiro
Hi Avi. On Sunday, 26 July 2009 14:31:57 +0300, Avi Kivity wrote: I have an installation with Ubuntu Hardy Heron server amd64 with KVM-62 from Ubuntu repositories installed on an HP Proliant DL380 G5 with two Xeon E5405 quadcore processors and 16 GiB of RAM which has six VMs with the

Re: Very high memory usage with KVM

2009-07-26 Thread Daniel Bareiro
Avi On Sunday, 26 July 2009 18:11:27 +0300, Avi Kivity wrote: What is the storage configuration? Are you using qcow2? I'm not using qcow2 files. The /dev/cciss/c0d0p3 partition is a physical volume that maintains the logical volumes that are used for VM's disks: In this case there should

Bandwith limitation with KVM VMs

2009-08-03 Thread Daniel Bareiro
Hi all! I have a KVM VM that it has installed a MRTG on the network interface and that it doesn't register more than 10 Mbps, seeming that per moments it is saturated in this value. Has KVM some bandwidth limitation of the virtualized network interfaces? In such case, exists some way to increase

Re: Bandwith limitation with KVM VMs

2009-08-03 Thread Daniel Bareiro
Hi Gregory. On Monday, 03 August 2009 12:52:28 -0400, Gregory Haskins wrote: I have a KVM VM that it has installed a MRTG on the network interface and that it doesn't register more than 10 Mbps, seeming that per moments it is saturated in this value. Has KVM some bandwidth limitation

Re: Bandwith limitation with KVM VMs

2009-08-04 Thread Daniel Bareiro
Hi Gregory. On Monday, 03 August 2009 23:01:30 -0400, Gregory Haskins wrote: There is no set artificial limit afaict, though there are a large number of factors that can affect performance. Of course, everything has an ultimate ceiling (KVM included) but I have found this limit in KVM

Re: Very high memory usage with KVM

2009-08-07 Thread Daniel Bareiro
Hi Avi. On Sunday, 26 July 2009 19:19:39 +0300, Avi Kivity wrote: kvm memory management with pre 2.6.27 host kernels is pretty weak. Using a newer host kernel (and newer kvm) may solve this problem. Initially I am going to see how it improves the situation upgrading to KVM-84 of backports

Re: Very high memory usage with KVM

2009-08-10 Thread Daniel Bareiro
On Monday, 10 August 2009 08:40:48 +0200, Bernhard Held wrote: Hi Daniel! Hi Bernhard! Aug 4 17:38:39 ss03 kernel: [4.750023] bnx2 :03:00.0: firmware: requesting bnx2/bnx2-mips-06-4.6.16.fw Aug 4 17:38:39 ss03 kernel: [4.751070] bnx2: Can't load firmware file

VNC server for KVM VM

2009-08-14 Thread Daniel Bareiro
Hi all! I'm using the following syntax to launch a VM: $KVM -hda ${DISK_PATH}/aprender00-raiz -hdb ${DISK_PATH}/aprender00-space \ -m 3584 -boot c -smp 4 -net nic,vlan=0,macaddr=00:16:3e:00:00:61,model=virtio \ -net tap -daemonize -vnc :3 -k es -localtime -monitor \

Re: VNC server for KVM VM

2009-08-14 Thread Daniel Bareiro
On Friday, 14 August 2009 16:28:00 -0500, Charles Duffy wrote: inet_listen: bind(ipv4,0.0.0.0,5903): Address already in use inet_listen: FAILED If you check with netstat, I expect you'll see the port in TIME_WAIT state; if so, this will eventually clean itself up if you just wait a little

Re: Very high memory usage with KVM

2009-08-21 Thread Daniel Bareiro
On Monday, 10 August 2009 18:15:17 +0200, Bernhard Held wrote: Hi Daniel! Hi, Bernhard! I've set in the kernel config: CONFIG_FIRMWARE_IN_KERNEL=y And what happened? Are you sure you recompiled and booted the new kernel with CONFIG_FIRMWARE_IN_KERNEL=y? [...] Here is what I

Console messages when launching a VM

2009-08-22 Thread Daniel Bareiro
Hi all! I have a host in which I'm using KVM-88 with kernel 2.6.30.3 where I am observing continuously the following message on console (not on ssh) from the moment which I launch the virtual machines: KVM_APIC_READ: read reserved register b0 When doing shutdown of the VM the messages no

Re: kvm-88: KVM_APIC_READ: read reserved register b0

2009-08-29 Thread Daniel Bareiro
On Friday, 28 August 2009 12:04:02 +0200, Christoph Lechner wrote: Hi all, Hi Christoph. running kvm-88 on a 2.6.26-1-amd64 kernel (stock Debian 5.0 kernel), I get the syslog on the host system flooded with the message: Aug 28 11:49:40 reactor kernel: [124035.611782] KVM_APIC_READ: read

Re: kvm-88: KVM_APIC_READ: read reserved register b0

2009-08-30 Thread Daniel Bareiro
On Sunday, 30 August 2009 14:49:59 +0300, Gleb Natapov wrote: This printk no longer exists in upstream kvm. Between emails of the list, I found the suggestion to apply this [1] patch, but I suppose that not yet it must be applied in the download version. just to be curious: What was the

Modifying RAM during runtime on guest

2009-09-08 Thread Daniel Bareiro
Hi all! I'm trying to modify the amount of RAM that has some of guests. Host has 2.6.30 kernel with KVM-88. In one of guest I didn't have problems when decreasing the amount of memory from 3584 MIB to 1024 MiB. This guest has 2.6.26-2-686 stock kernel. Also I was trying to decrease the amount

  1   2   >