Re: 0.12.x: message Option 'ipv4': Use 'on' or 'off'

2010-01-04 Thread Thomas Beinicke
I get the same message since the update, is it -chardev option related? On Saturday 02 January 2010 11:53:42 Thomas Mueller wrote: hi since 0.12.x i get the following messages starting a vm: Option 'ipv4': Use 'on' or 'off' Failed to parse yes for dummy.ipv4 command is: kvm

Re: [Qemu-devel] Re: [PATCH v2] virtio-blk physical block size

2010-01-04 Thread Christoph Hellwig
On Mon, Jan 04, 2010 at 01:38:51PM +1030, Rusty Russell wrote: I thought this was what I was doing, but I have shown over and over that I have no idea about block devices. Our current driver treats BLK_SIZE as the logical and physical size (see blk_queue_logical_block_size). I have no

Re: [Qemu-devel] [PATCH RFC] Advertise IDE physical block size as 4K

2010-01-04 Thread Christoph Hellwig
On Tue, Dec 29, 2009 at 02:39:38PM +0100, Luca Tettamanti wrote: Linux tools put the first partition at sector 63 (512-byte) to retain compatibility with Windows; Well, some of them, and depending on the exact disks. It's all rather complicated. It has been discussed for hardware disk

Re: [Qemu-devel] [PATCH RFC] Advertise IDE physical block size as 4K

2010-01-04 Thread Christoph Hellwig
On Tue, Dec 29, 2009 at 12:07:58PM +0200, Avi Kivity wrote: Guests use this number as a hint for alignment and I/O request sizes. Given that modern disks have 4K block sizes, and cached file-backed images also have 4K block sizes, this hint can improve guest performance. We probably need to

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)

[Autotest PATCH] KVM-test: Add a subtest image_copy

2010-01-04 Thread Yolkfull Chow
Add image_copy subtest for convenient KVM functional testing. The target image will be copied into the linked directory if link 'images' is created, and copied to the directory specified in config file otherwise. Signed-off-by: Yolkfull Chow yz...@redhat.com --- client/tests/kvm/kvm_utils.py

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: Memory ballooning deactivated by the guest

2010-01-04 Thread Avi Kivity
On 01/04/2010 12:08 PM, Daniel Bareiro wrote: (qemu) info balloon The balloon device has not been activated by the guest You need to add '-balloon virtio' to the qemu command line (the error message is incorrect). What do you mean whereupon the error message is incorrect?

Re: Testing nested virtualization

2010-01-04 Thread Joerg Roedel
Also I was trying to use qemu-kvm-0.12.1.1 with to Linux 2.6.32 in guest within 'test'. And here it happens something similar. Sometimes I get to select the option of the menu of the installer, but after boot, the installation is hung again. The problem has probably to do with the TSC

RE: pci-stub error and MSI-X for KVM guest

2010-01-04 Thread Fischer, Anna
Subject: Re: pci-stub error and MSI-X for KVM guest * Fischer, Anna (anna.fisc...@hp.com) wrote: Subject: Re: pci-stub error and MSI-X for KVM guest This works fine in principle and I can see the PCI device in the guest under lspci. However, the 82576 VF driver requires the OS

RE: pci-stub error and MSI-X for KVM guest

2010-01-04 Thread Fischer, Anna
Subject: RE: pci-stub error and MSI-X for KVM guest Subject: Re: pci-stub error and MSI-X for KVM guest * Fischer, Anna (anna.fisc...@hp.com) wrote: Subject: Re: pci-stub error and MSI-X for KVM guest This works fine in principle and I can see the PCI device in the guest

Re: Testing nested virtualization

2010-01-04 Thread Daniel Bareiro
Hi, Joerg. On Monday, 04 January 2010 12:11:46 +0100, Joerg Roedel wrote: Also I was trying to use qemu-kvm-0.12.1.1 with to Linux 2.6.32 in guest within 'test'. And here it happens something similar. Sometimes I get to select the option of the menu of the installer, but after boot,

Re: FreeBSD guest hogs cpu after disk delay?

2010-01-04 Thread Gleb Natapov
On Mon, Jan 04, 2010 at 08:06:15AM -0700, Thomas Fjellstrom wrote: On Sun January 3 2010, Thomas Fjellstrom wrote: On Sun January 3 2010, Thomas Fjellstrom wrote: I have a strange issue, one of my free bsd guests started using up 100% cpu and wouldnt respond in the console after a

Re: Memory usage with qemu-kvm-0.12.1.1

2010-01-04 Thread Thomas Fjellstrom
On Sun January 3 2010, Thomas Fjellstrom wrote: On Sun December 27 2009, Avi Kivity wrote: On 12/27/2009 07:00 PM, Daniel Bareiro 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

Re: pci-stub error and MSI-X for KVM guest

2010-01-04 Thread Chris Wright
* Fischer, Anna (anna.fisc...@hp.com) wrote: Ouch. Can you do debuginfo-install qemu-system-x86 to get the debug packages, then attach gdb to the QEMU process so that when you do lspci -v in the guest (assuming this is QEMU segfaulting) you'll get a backtrace? I don't know how I can

Re: [ANNOUNCE] qemu-kvm-0.12.1.1

2010-01-04 Thread Gerd Hoffmann
On 12/23/09 12:37, Avi Kivity wrote: On 12/23/2009 12:58 PM, Thomas Treutner wrote: On Wednesday 23 December 2009 11:24:04 Avi Kivity wrote: Please post a full log, after 'make clean'. http://pastebin.com/f404c8648 Oh, I missed it at first - looks like libxenguest and libxenctrl conflict.

Re: FreeBSD guest hogs cpu after disk delay?

2010-01-04 Thread Thomas Fjellstrom
On Mon January 4 2010, Gleb Natapov wrote: On Mon, Jan 04, 2010 at 08:06:15AM -0700, Thomas Fjellstrom wrote: On Sun January 3 2010, Thomas Fjellstrom wrote: On Sun January 3 2010, Thomas Fjellstrom wrote: I have a strange issue, one of my free bsd guests started using up 100% cpu

Re: Testing nested virtualization

2010-01-04 Thread Daniel Bareiro
Hi, Alex. On Monday, 04 January 2010 16:07:52 +0100, Alexander Graf wrote: Also I was trying to use qemu-kvm-0.12.1.1 with to Linux 2.6.32 in guest within 'test'. And here it happens something similar. Sometimes I get to select the option of the menu of the installer, but after boot,

Re: Testing nested virtualization

2010-01-04 Thread Joerg Roedel
Hi Daniel, On Mon, Jan 04, 2010 at 12:52:47PM -0300, Daniel Bareiro wrote: test:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource kvm-clock test:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksource kvm-clock hpet acpi_pm Can you try to boot L1 and

Re: [PATCH] configure: Correct KVM options in help output

2010-01-04 Thread Pierre Riteau
On 1 déc. 2009, at 14:53, Pierre Riteau wrote: Signed-off-by: Pierre Riteau pierre.rit...@irisa.fr --- configure |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 376c458..85f7b5e 100755 --- a/configure +++ b/configure @@ -723,10

Re: Memory usage with qemu-kvm-0.12.1.1

2010-01-04 Thread David S. Ahern
On 01/04/2010 08:12 AM, Thomas Fjellstrom wrote: Would this be normal for my setup? The virt usage seems abnormally high for all of my guests, especially the ones using over 800MB virt. As I understand it virtual memory usage shows the allocated address ranges (library mappings, dynamic

Re: [PATCH 2/2] virtio_net: Defer skb allocation in receive path

2010-01-04 Thread Shirley Ma
Hello Amit, Sorry for late response. I am just back from vacation. On Thu, 2009-12-24 at 19:07 +0530, Amit Shah wrote: +static void free_unused_bufs(struct virtnet_info *vi) +{ + void *buf; + while (vi-num) { + buf = vi-rvq-vq_ops-detach_unused_buf(vi-rvq); +

Re: [PATCH 2/2] virtio_net: Defer skb allocation in receive path

2010-01-04 Thread Michael S. Tsirkin
On Mon, Jan 04, 2010 at 01:25:44PM -0800, Shirley Ma wrote: Hello Amit, Sorry for late response. I am just back from vacation. On Thu, 2009-12-24 at 19:07 +0530, Amit Shah wrote: +static void free_unused_bufs(struct virtnet_info *vi) +{ + void *buf; + while (vi-num) {

[PATCH] PPC: Fix typo in rebolting code

2010-01-04 Thread Alexander Graf
When we're loading bolted entries into the SLB again, we're checking if an entry is in use and only slbmte it when it is. Unfortunately, the check always goes to the skip label of the first entry, resulting in an endless loop when it actually gets triggered. Signed-off-by: Alexander Graf

[PATCH] PPC: Enable lightweight exits again

2010-01-04 Thread Alexander Graf
The PowerPC C ABI defines that registers r14-r31 need to be preserved across function calls. Since our exit handler is written in C, we can make use of that and don't need to reload r14-r31 on every entry/exit cycle. This technique is also used in the BookE code and is called lightweight exits

Re: Testing nested virtualization

2010-01-04 Thread Daniel Bareiro
On Monday, 04 January 2010 17:04:16 +0100, Joerg Roedel wrote: Hi Daniel, Hi, Joerg. test:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource kvm-clock test:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksource kvm-clock hpet acpi_pm Can

Re: [Autotest] [Autotest PATCH] KVM-test: Add a subtest image_copy

2010-01-04 Thread Yolkfull Chow
On Mon, Jan 04, 2010 at 10:52:13PM +0800, Amos Kong wrote: On Mon, Jan 04, 2010 at 05:30:21PM +0800, Yolkfull Chow wrote: Add image_copy subtest for convenient KVM functional testing. The target image will be copied into the linked directory if link 'images' is created, and copied to the

Re: [PATCH] Add definitions for current cpu models..

2010-01-04 Thread john cooper
Marcelo Tosatti wrote: On Mon, Dec 21, 2009 at 01:46:36AM -0500, john cooper wrote: +{ +.name = Opteron_G2, +.level = 5, +.vendor1 = CPUID_VENDOR_INTEL_1, +.vendor2 = CPUID_VENDOR_INTEL_2, +.vendor3 = CPUID_VENDOR_INTEL_3, Silly question: why a