Re: [kvm-devel] [PATCH] add acpi powerbutton support

2008-01-08 Thread Guido Guenther
On Tue, Jan 08, 2008 at 01:34:30PM +0900, Jun Koi wrote: Sorry for my ignorance, but what is the effect of this patch? So I can shutdown guest VM cleanly, or smt else?? system_powerdown in the commmand monitor now simulates the pressing of the acpi power button. This allows you to shutdown

Re: [kvm-devel] boot stops after console handover?

2008-01-08 Thread Avi Kivity
Antoine Martin wrote: Avi Kivity wrote: Antoine Martin wrote: Hi, Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 Booting with: qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append

Re: [kvm-devel] [PATCH] add acpi powerbutton support

2008-01-08 Thread Avi Kivity
Jun Koi wrote: On 1/7/08, Avi Kivity [EMAIL PROTECTED] wrote: Guido Guenther wrote: (needs either --no-kvm-irqchip or the previous patch) -- Guido Applied both, thanks. Sorry for my ignorance, but what is the effect of this patch? So I can shutdown guest VM

[kvm-devel] The reason of using Qcow images to boot smp Windows fail ?

2008-01-08 Thread Liu, Eric E
Hi Avi For current commit Windows SMP guests will fail to boot if using Qcow images based on the original backend file on a remote network file system. I found out that one Ap thread is hang at the place of bdrv_read_em() - qemu_aio_wait() - sigwait(), which is waiting for the signal

Re: [kvm-devel] [PATCH] portability: move kvm_fpu to asm-x86/kvm.h

2008-01-08 Thread Avi Kivity
Christian Ehrhardt wrote: Subject: [PATCH] portability: move kvm_fpu to asm-x86/kvm.h From: Christian Ehrhardt [EMAIL PROTECTED] This patch moves kvm_fpu asm-x86/kvm.h to allow every architecture to define an own representation used for KVM_GET_FPU/KVM_SET_FPU. Applied, thanks. I

[kvm-devel] [PATCH] use rtl8139 for bootp too and adjust docs accordingly

2008-01-08 Thread Guido Guenther
If we change the default nic, we should do so in all places. Without this PXE booting is broken since we select the wrong pxe etherboot image. Cheers, -- Guido diff --git a/qemu/qemu-doc.texi b/qemu/qemu-doc.texi index 04529a1..accf360 100644 --- a/qemu/qemu-doc.texi +++ b/qemu/qemu-doc.texi @@

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Amit Shah
On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: With kvm-44, I thought my kernel was freezing during boot if I gave it 1G of RAM. But, it boots fine with 512M. So, I instrumented the kernel, and found out that it is just taking

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Amit Shah
On Tuesday 08 January 2008 18:31:53 Amit Shah wrote: On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: With kvm-44, I thought my kernel was freezing during boot if I gave it 1G of RAM. But, it boots fine with 512M. So, I

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Izik Eidus
On Tue, 2008-01-08 at 18:31 +0530, Amit Shah wrote: On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: With kvm-44, I thought my kernel was freezing during boot if I gave it 1G of RAM. But, it boots fine with 512M. So, I

Re: [kvm-devel] [PATCH] use rtl8139 for bootp too and adjust docs accordingly

2008-01-08 Thread Avi Kivity
Guido Guenther wrote: If we change the default nic, we should do so in all places. Without this PXE booting is broken since we select the wrong pxe etherboot image. Applied, thanks. -- error compiling committee.c: too many arguments to function

Re: [kvm-devel] building kvm-userspace with separate kernel object directory?

2008-01-08 Thread Avi Kivity
Hollis Blanchard wrote: Create an asm symlink from libkvm into the kernel source directory. This allows one to use kernel trees built with the O= option. Applied, thanks. -- error compiling committee.c: too many arguments to function

Re: [kvm-devel] [PATCH 3/3][QEMU] Support TX mitigation in QEMU's virtio_net device

2008-01-08 Thread Avi Kivity
Anthony Liguori wrote: This patch adds support for TX mitigation in QEMU using the new NOTIFY_ON_FULL virtio ring flag. With this (modified to use VRING_USED_F_NO_NOTIFY as Rusty suggests) and the latest virtio patchqueue (now available as the virtio branch on kvm.git) I get better

Re: [kvm-devel] [PATCH] kvm guest balloon driver

2008-01-08 Thread Anthony Liguori
Marcelo Tosatti wrote: Following patch introduces a KVM guest balloon driver. Communication to/from the host is performed via virtio. Next patch implements the QEMU driver and handling. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: linux-2.6-nv/drivers/virtio/Kconfig

[kvm-devel] [PATCH] kvm guest balloon driver

2008-01-08 Thread Marcelo Tosatti
Following patch introduces a KVM guest balloon driver. Communication to/from the host is performed via virtio. Next patch implements the QEMU driver and handling. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: linux-2.6-nv/drivers/virtio/Kconfig

[kvm-devel] [PATCH] KVM: add KVM_SYNC_SHADOW_WITH_USER ioctl

2008-01-08 Thread Marcelo Tosatti
The host needs to zap its shadow entries before performing an inflate operation to avoid the guest from using stale ones. So add an ioctl to interface with kvm_mmu_zap_all(). Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm.quilt/arch/x86/kvm/x86.c

[kvm-devel] [PATCH] QEMU KVM balloon support

2008-01-08 Thread Marcelo Tosatti
Add QEMU support for the KVM balloon driver. Memory hinting is performed via madvise(). Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace/libkvm/libkvm.c === --- kvm-userspace.orig/libkvm/libkvm.c +++

Re: [kvm-devel] [PATCH] kvm guest balloon driver

2008-01-08 Thread Avi Kivity
Marcelo Tosatti wrote: Why is it taking over the irq? This is very, very wrong. A virtio device cannot be dependent on being used on top of the virtio-pci backend. A notification is necessary whenever the host changes the target value in the config space. So right now this

Re: [kvm-devel] [PATCH] kvm guest balloon driver

2008-01-08 Thread Anthony Liguori
Marcelo Tosatti wrote: On Tue, Jan 08, 2008 at 09:42:13AM -0600, Anthony Liguori wrote: Marcelo Tosatti wrote: Following patch introduces a KVM guest balloon driver. Communication to/from the host is performed via virtio. I'll address the other comments. +

[kvm-devel] [PATCH] Fixup virtio_net TX timer

2008-01-08 Thread Anthony Liguori
Instead of introducing a new flag, I think we decided that we would make the NO_NOTIFY flag be a hint and have both ends always notify when the ring is full or empty. This patch updates the QEMU virtio code to reflect this. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git

Re: [kvm-devel] [PATCH] kvm guest balloon driver

2008-01-08 Thread Avi Kivity
Anthony Liguori wrote: BTW, I don't think the target should be a config value. You don't gain anything from it being in the config space and it's somewhat unnatural for a virtio device. It makes more sense as a message to the guest. I disagree. The target is state, not an individual

[kvm-devel] [PATCH] extboot: fix -fno-stack-protector usage

2008-01-08 Thread Christian Ehrhardt
Subject: [PATCH] extboot: fix -fno-stack-protector usage From: Christian Ehrhardt [EMAIL PROTECTED] Option -fno-stack-protector breaks kvm-userspace in environments without stack-protector functionality. They fail with unrecognized command line option when compiling extboot. This patch removes

Re: [kvm-devel] [PATCH] Fixup virtio_net TX timer

2008-01-08 Thread Avi Kivity
Anthony Liguori wrote: Instead of introducing a new flag, I think we decided that we would make the NO_NOTIFY flag be a hint and have both ends always notify when the ring is full or empty. This patch updates the QEMU virtio code to reflect this. Thanks, applied. -- error compiling

Re: [kvm-devel] [PATCH] kvm guest balloon driver

2008-01-08 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: BTW, I don't think the target should be a config value. You don't gain anything from it being in the config space and it's somewhat unnatural for a virtio device. It makes more sense as a message to the guest. I disagree. The target is

Re: [kvm-devel] [PATCH] QEMU KVM balloon support

2008-01-08 Thread Marcelo Tosatti
On Tue, Jan 08, 2008 at 04:43:42PM +, Daniel P. Berrange wrote: On Tue, Jan 08, 2008 at 01:43:40PM -0200, Marcelo Tosatti wrote: Index: kvm-userspace/qemu/monitor.c === --- kvm-userspace.orig/qemu/monitor.c +++

Re: [kvm-devel] [PATCH] portability: add top level config-$arch files

2008-01-08 Thread Jerone Young
This is a patch that we do need. Though instead of redefining qemu target in every config file. It's best to use a variable and have qemu target in the main Makefile use that variable for dependencies. example: Makefile qemu: $(ARCH_QEMU_DEP) config-x86 ARCH_QEMU_DEP = libkvm extboot

Re: [kvm-devel] boot stops after console handover?

2008-01-08 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Avi Kivity wrote: Antoine Martin wrote: Avi Kivity wrote: Antoine Martin wrote: Hi, Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 Booting with: qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Daniel P. Berrange
On Tue, Jan 08, 2008 at 11:13:08AM -0800, Dave Hansen wrote: On Tue, 2008-01-08 at 12:12 +0530, Amit Shah wrote: BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820:

Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Dave Hansen
On Tue, 2008-01-08 at 12:12 +0530, Amit Shah wrote: BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820: 000e8000 - 0010 (reserved) BIOS-e820: 0010

[kvm-devel] [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c

2008-01-08 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1199827424 21600 # Node ID bff590d13f32071b50d79f511424821847ed5ba7 # Parent a6e6b30d5f4154fd91dbf68e7e3986b2af02ee0f Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c Function kvm_create_kernel_phys_mem was missing from

[kvm-devel] [PATCH] Enhnace kvm-userspace configure script for powerpc

2008-01-08 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1199829366 21600 # Node ID 5d3976c5b77e42ad1f63d02271a7ff2086cabb6c # Parent bff590d13f32071b50d79f511424821847ed5ba7 Enhnace kvm-userspace configure script for powerpc This patch adds more options to compile qemu with and places

Re: [kvm-devel] [PATCH] Enhnace kvm-userspace configure script for powerpc

2008-01-08 Thread Anthony Liguori
Jerone Young wrote: # HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1199829366 21600 # Node ID 5d3976c5b77e42ad1f63d02271a7ff2086cabb6c # Parent bff590d13f32071b50d79f511424821847ed5ba7 Enhnace kvm-userspace configure script for powerpc This patch adds more options to

Re: [kvm-devel] [PATCH] Enhnace kvm-userspace configure script for powerpc

2008-01-08 Thread Anthony Liguori
Jerone Young wrote: My upstream must be out of date. But the way upstream seems really awful. If I mistype any valid option then I don't even get an error. It's passed as a qemu option. This does not seem to be a great idea, causes more headaches. Sure, and QEMU will complain about it.

Re: [kvm-devel] [PATCH] Enhnace kvm-userspace configure script for powerpc

2008-01-08 Thread Jerone Young
My upstream must be out of date. But the way upstream seems really awful. If I mistype any valid option then I don't even get an error. It's passed as a qemu option. This does not seem to be a great idea, causes more headaches. On Tue, 2008-01-08 at 16:03 -0600, Anthony Liguori wrote: Jerone

Re: [kvm-devel] something like vmware fusion unity

2008-01-08 Thread Izik Eidus
Jerry Geis wrote: Hi all, I have kvm working, very sweet. I run linux and XP guests on my linux host. I am looking for functionality like vmware fusion unity with kvm. Is it there and I havent found it, is it coming? I want to run the XP image but display the window of my app on my linux