[Patch] fix Oops at shutdown guest

2008-06-17 Thread Akio Takebe
Hi, I got a Oops message when I shutdown a guest on x86_32 machine. The patch fixes this issue. Signed-off-by: Akio Takebe [EMAIL PROTECTED] Best Regards, Akio Takebe --- diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 4f38f5c..f9427e2 100644 --- a/virt/kvm/kvm_main.c +++

Re: [ANNOUNCE] kvm-70 release

2008-06-17 Thread Marc Bevand
Avi Kivity avi at qumranet.com writes: This release was cooking for far too long, and as a result there are plenty of changes. Excellent news ! Quick question: when will you merge the recent qemu-img.c changes (qemu svn rev 4672) ? -marc -- To unsubscribe from this list: send the line

[PATCH] KVM: VMX: Flush all VPID tagged TLB when VMXON

2008-06-17 Thread Yang, Sheng
From efba05901f8ffca03208217d075f679f78f3469d Mon Sep 17 00:00:00 2001 From: Sheng Yang [EMAIL PROTECTED] Date: Tue, 17 Jun 2008 17:41:10 +0800 Subject: [PATCH] KVM: VMX: Flush all VPID tagged TLB when VMXON Signed-off-by: Sheng Yang [EMAIL PROTECTED] --- arch/x86/kvm/vmx.c |7 +++ 1

Re: [PATCH 1/5] vring: Replace mmap() interface with ioctl()

2008-06-17 Thread Mark McLoughlin
On Fri, 2008-06-13 at 17:09 +0300, Avi Kivity wrote: Mark McLoughlin wrote: - .ioctl = vring_ioctl, + .unlocked_ioctl = vring_ioctl, + .compat_ioctl = vring_compat_ioctl, I think you can set compat_ioctl = vring_ioctl (that's what kvm does). Don't pointer args need

Re: Linux with kvm-intel locks up VMplayer guest is started

2008-06-17 Thread Martin Michlmayr
* Anthony Liguori [EMAIL PROTECTED] [2008-06-16 10:21]: Any idea if this is a kernel bug, BIOS issue or a bug in VMplayer? This has been fixed in the latest KVM code base AFAIK. Can you give some more information? Which commit fixed the problem? Was the patch submitted to the 2.6.25-stable

Re: Linux with kvm-intel locks up VMplayer guest is started

2008-06-17 Thread Anthony Liguori
Martin Michlmayr wrote: * Anthony Liguori [EMAIL PROTECTED] [2008-06-16 10:21]: Any idea if this is a kernel bug, BIOS issue or a bug in VMplayer? This has been fixed in the latest KVM code base AFAIK. Can you give some more information? Which commit fixed the problem?

Re: Linux with kvm-intel locks up VMplayer guest is started

2008-06-17 Thread Martin Michlmayr
* Anthony Liguori [EMAIL PROTECTED] [2008-06-17 08:16]: VMware is a binary kernel module that's out of kernel. KVM is not misbehaving and the fact that VMware breaks when the KVM module is loaded isn't our problem. If they submitted their code for inclusion in mainline, we could possibly

Re: Linux with kvm-intel locks up VMplayer guest is started

2008-06-17 Thread Javier Guerra
On Tue, Jun 17, 2008 at 8:44 AM, Martin Michlmayr [EMAIL PROTECTED] wrote: Sorry, Anthony, I just realized I misparsed your response. So you're saying that it's a known issue and that VMware is the problem. Thanks a lot! I'll take it up with VMware. i think what he's saying is that VMWare

hrtimers bug

2008-06-17 Thread Brian Jackson
Don't know if this is a kvm bug or not, but figured I'd send it anyway. Just in case. http://www.theiggy.com/tmp/hrtimers_bug.png Host: Core 2 Duo 2.5G 4G ram Ubuntu 8.04 Guest: Ubuntu 8.04 qemu-system-x86_64 -m 440M -vnc :1 -std-vga -drive file=/dev/vm_space/test1,if=virtio,boot=on -kernel

Re: Linux with kvm-intel locks up VMplayer guest is started

2008-06-17 Thread Anthony Liguori
Martin Michlmayr wrote: * Anthony Liguori [EMAIL PROTECTED] [2008-06-17 08:16]: VMware is a binary kernel module that's out of kernel. KVM is not misbehaving and the fact that VMware breaks when the KVM module is loaded isn't our problem. If they submitted their code for inclusion in

[PATCH] KVM: PCIPT: free device structure on vm destroy

2008-06-17 Thread benami
From: Han Weidong [EMAIL PROTECTED] Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED] --- arch/x86/kvm/x86.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 89d9cda..896ae5c 100644 --- a/arch/x86/kvm/x86.c +++

[PATCH] KVM: PCIPT: VT-d: fix guest unmap

2008-06-17 Thread benami
From: Han Weidong [EMAIL PROTECTED] Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED] --- arch/x86/kvm/vtd.c|2 +- drivers/pci/intel-iommu.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/vtd.c b/arch/x86/kvm/vtd.c index c2d9192..be775cd 100644

[PATCH] KVM: PCIPT: temporary fix for pio (userspace part)

2008-06-17 Thread benami
From: Ben-Ami Yassour [EMAIL PROTECTED] PIO for passthrough does not work properly since the permissions are not set, it is not enough to call iopl at init time. This temporary patch calls iopl for every pio request. A better solution would be have a per thread iopl. An alternative approach

Re: guests locking up issue

2008-06-17 Thread Marcelo Tosatti
On Tue, Jun 17, 2008 at 02:29:59PM -0500, Brian Jackson wrote: I'm having a problem recently with my guests freezing. It seems to happen within a few hours of booting the guest. I can still access the monitor and check stuff in there. The kernel that comes with Ubuntu 8.04 (2.6.24) doesn't

[Bug] Real mode guests never wake up after an HLT instruction

2008-06-17 Thread Mohammed Gamal
CPU Model: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz KVM version: kvm-69-1687-gd660add Host Kernel: 2.6.26-rc5 (x86_64) Guests: FreeDOS and Minix 3.1.2 32-bit Command: qemu-system-x86_64 -hda /media/sda6/dos or minix image Real mode guests (namely Minix 3 and FreeDOS with HIMEM XMS driver)

Re: guests locking up issue

2008-06-17 Thread William Boughton
I'm seeing this as well. with KVM-70 my host: dual quad core Intel E5320 4G ram Debian Etch 2.6.26-rc6 x86_64 my guest: debian etch 2.6.26-rc6 x86_64 512 Mb ram started with: qemu-system-x86_64 -drive \ file=/mnt/kvms/images/guitest.img,if=ide,boot=on -m 512 \ -vnc localhost:2 -name

[PATCH] KVM: VMX: Add ept_sync_context in flush_tlb

2008-06-17 Thread Yang, Sheng
From 54dc26e44f1c0aa460bef409b799f36dae56a911 Mon Sep 17 00:00:00 2001 From: Sheng Yang [EMAIL PROTECTED] Date: Wed, 18 Jun 2008 11:23:13 +0800 Subject: [PATCH] KVM: VMX: Add ept_sync_context in flush_tlb Fix a potention issue caused by kvm_mmu_slot_remove_write_access(). The old behavior don't

[PATCH] libkvm: export init for coalesced MMIO support

2008-06-17 Thread Carlo Marcelo Arenas Belon
complement 2680f3df932a3119880a692609943587ecc8f409 to export the definition for kvm_init_coalesced_mmio as it is used by the per arch libkvm as shown by the following warning : libkvm-x86.c: In function 'kvm_arch_create': libkvm-x86.c:182: warning: implicit declaration of function

[PATCH] make qemu compile for kvm/ia64

2008-06-17 Thread Xu, Anthony
From 7b2c2612b21b895cd14e632fea845c03b6e1dedc Mon Sep 17 00:00:00 2001 From: Anthony Xu [EMAIL PROTECTED] Date: Thu, 29 May 2008 13:14:56 -0400 Subject: [PATCH] Make qemu compile for kvm-ia64 Since merging with Qemu upsteram, it can't be compiled for kvm-ia64 Signed-off-by: Anthony Xu [EMAIL

Re: [PATCH 4/5] kvm: qemu: Use vringfd to eliminate copies

2008-06-17 Thread Rusty Russell
On Tuesday 17 June 2008 00:02:55 Anthony Liguori wrote: There's nothing that prevents zero-copy to be implemented for tun without vringfd. In fact, I seem to recall that your earlier patches implemented zero-copy :-) They didn't actually work. You need to block until the data isn't being