Re: [kvm-devel] Kernel Oops with kvm 66 running WinXP

2008-05-05 Thread Izik Eidus
Avi Kivity wrote: Izik Eidus wrote: Michal Ludvig wrote: Avi Kivity wrote: Avi Kivity wrote: Michal Ludvig wrote: Hi, I've experienced a kernel Oops on 2.6.24 with kvm 66 on AMD in 64bit mode while starting up WinXP: The host is still alive but the XP guest

Re: [kvm-devel] Kernel Oops with kvm 66 running WinXP

2008-05-05 Thread Izik Eidus
Avi Kivity wrote: Avi Kivity wrote: Izik Eidus wrote: Michal Ludvig wrote: Avi Kivity wrote: Avi Kivity wrote: Michal Ludvig wrote: Hi, I've experienced a kernel Oops on 2.6.24 with kvm 66 on AMD in 64bit mode while starting up WinXP: The host is still alive

Re: [kvm-devel] More queries on guest swapping in KVM

2008-05-01 Thread Izik Eidus
Arn wrote: Hi , Regarding the guest swapping mechanism (host ability to swap out guest pages), 1) Can the host swap out any page of a guest VM ? (including the guest's kernel pages) right now kvm can swap any pages but pages that are mapped in it mmu cache. (it doesnt matther if it

Re: [kvm-devel] kvm: how big is type?

2008-04-28 Thread Izik Eidus
flag nseg_desc.type |= (1 8); type is a 4-bit bitfield on x86please look into this. I think it ought to be (1 1), not (1 8), as it refers to the busy bit of the task type. Izik? From cf6e76c69a38a983df0c84a3dcc2336042eb3436 Mon Sep 17 00:00:00 2001 From: Izik Eidus

Re: [kvm-devel] problems with Ubuntu server amd64 (kernel 2.6.24) and Windows 2003 32bit as guest

2008-04-09 Thread Izik Eidus
Davide D'Amico wrote: Hi, I'm new in the world of virtualization. I have the following setup: An Ubuntu amd64 Server (DELL PE 2950 with Dual Quad Xen 2Ghz) with 24GB DDR2 Ram onboard and a Perc 6/i SAS controller. I have a Windows 2003 32 bit guest that hangs up (i.e. not responding

[kvm-devel] [PATCH] KVM: add kvm_get_kvm and kvm_put_kvm functions

2008-03-30 Thread Izik Eidus
From ebb9fe4765f1572314d2249e29a7ef4d0de07273 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Sun, 30 Mar 2008 15:48:35 +0300 Subject: [PATCH] KVM: add kvm_get_kvm and kvm_put_kvm functions, the main purpose of adding this functions is the abilaty to release the spinlock

[kvm-devel] KVM: register the kvm mmu cache with the shrinker.

2008-03-25 Thread Izik Eidus
this is the shrinker patch with all comments applied beside adding aging mechanism it look like the aging mechanism is not really needed and therefor for now it isn't implemented. From 8503a57ae88ba819e4eac6371172772c98b485f0 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Tue

Re: [kvm-devel] KVM: register the kvm mmu cache with the shrinker.

2008-03-25 Thread Izik Eidus
Avi Kivity wrote: Izik Eidus wrote: this is the shrinker patch with all comments applied beside adding aging mechanism it look like the aging mechanism is not really needed and therefor for now it isn't implemented. From 8503a57ae88ba819e4eac6371172772c98b485f0 Mon Sep 17 00:00:00 2001

Re: [kvm-devel] KVM and shared pages?

2008-03-19 Thread Izik Eidus
Nathan W McSween wrote: Will KVM (QEMU) support sharing identical pages among guests? we alreday have support for this the module is named ksm, and it was posted in the list the only problem is that you will need to compile the kernel and insert some functions to it + mmu notifiers

Re: [kvm-devel] [PATCH] convert init_rmode_tss to slots_lock

2008-03-18 Thread Izik Eidus
Marcelo Tosatti wrote: init_rmode_tss was forgotten during the conversion from mmap_sem to slots_lock. yup, good catch. There are several sites reading the slots data without taking slots_lock, including tdp_page_fault. I'll be sending a patch to move acquision to vcpu_run

[kvm-devel] [PATCH] shrinker support for the mmu cache

2008-03-12 Thread Izik Eidus
this patch simply register the mmu cache with the shrinker. 0004-KVM-register-the-kvm-mmu-cache-with-the-shrinker.patch Description: application/mbox - This SF.net email is sponsored by: Microsoft Defy all challenges.

Re: [kvm-devel] [PATCH] shrinker support for the mmu cache

2008-03-12 Thread Izik Eidus
Marcelo Tosatti wrote: On Wed, Mar 12, 2008 at 08:13:41PM +0200, Izik Eidus wrote: this patch simply register the mmu cache with the shrinker. Hi Izik, Hello Marcelo, Nice. I think you want some sort of aging mechanism here. well it is long time in the todo list to do some

Re: [kvm-devel] [PATCH] shrinker support for the mmu cache

2008-03-12 Thread Izik Eidus
Anthony Liguori wrote: Izik Eidus wrote: this patch simply register the mmu cache with the shrinker. Please inline patches in the future as it makes it easier to review. I knew this time will come when ppl will force me to send patchs inline (will happen next time

[kvm-devel] [PATCH RFC 0/2] KVM task switching support

2008-03-12 Thread Izik Eidus
Hi, the following patchs add support for hardware task switching inside kvm, there is one issue with this patch that i couldnt figure why it is happen and it related to ghost, it seems like ghost after 2 task switchs have the same segment values as well as registers like qemu have, but for some

[kvm-devel] [PATCH RFC 1/2] add functions to read and set the ldt

2008-03-12 Thread Izik Eidus
From 28f36d30f8eef9c12afe52e183bf4c8405d113d2 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Thu, 13 Mar 2008 02:03:37 +0200 Subject: [PATCH] KVM: vmx, svm add functions to read and set the ldt Signed-off-by: Izik Eidus [EMAIL PROTECTED] --- arch/x86/kvm/svm.c | 18

[kvm-devel] [PATCH RFC 2/2] Hardware task switching support

2008-03-12 Thread Izik Eidus
From 6a7207a0f3ee8af6ebafcec9d40a75b87f00a129 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Thu, 13 Mar 2008 02:34:21 +0200 Subject: [PATCH] KVM: hardware task switching support Signed-off-by: Izik Eidus [EMAIL PROTECTED] --- arch/x86/kvm/svm.c | 11 +- arch/x86/kvm

Re: [kvm-devel] [PATCH] KVM swapping with mmu notifiers #v9

2008-03-03 Thread izik eidus
ציטוט Andrea Arcangeli: Notably the registration now requires the mmap_sem in write mode. Signed-off-by: Andrea Arcangeli [EMAIL PROTECTED] diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 41962e7..e1287ab 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -21,6

Re: [kvm-devel] 64bit host performance

2008-02-29 Thread izik eidus
ציטוט [EMAIL PROTECTED]: Hello All, Is there a significant performance advantage with using a 64bit host os? I am specifically wondering about the advantages where KVM and QEMU are concerned. the mmu code (the page table entries pointers are 64bits) would run faster on 64bits host i

Re: [kvm-devel] [PATCH] KVM swapping with mmu notifiers #v7

2008-02-28 Thread izik eidus
ציטוט Andrea Arcangeli: Same as before but one one hand ported to #v7 API and on the other hand ported to latest kvm.git. Signed-off-by: Andrea Arcangeli [EMAIL PROTECTED] diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 41962e7..e1287ab 100644 --- a/arch/x86/kvm/Kconfig +++

Re: [kvm-devel] KVM Test result, KVM62-RC2

2008-02-26 Thread Izik Eidus
On Tue, 2008-02-26 at 12:58 +0100, Farkas Levente wrote: Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against KVM62-RC2. Two old issues fixed: 1. fc5/fc6/rhel5u1 no-acpi up guests can't boot on pae host

Re: [kvm-devel] KVM Testing Result for KVM-61

2008-02-21 Thread Izik Eidus
On Thu, 2008-02-21 at 13:58 +0800, Zhao, Yunfeng wrote: Izik Eidus wrote: On Wed, 2008-02-20 at 21:12 +0800, Zhao, Yunfeng wrote: On Wed, 2008-02-20 at 20:58 +0800, Zhao, Yunfeng wrote: Five old issues: 1. Fails to save/restore guests Save/restore may cause host to hang. https

Re: [kvm-devel] [PATCH] fix widescreen resolution issues

2008-02-21 Thread Izik Eidus
On Thu, 2008-02-21 at 11:29 +0100, Arne Brutschy wrote: Hi, On Mi, 2008-02-20 at 22:16 +0100, Andreas Winkelbauer wrote: the attached patch fixes the issues with widescreen resolutions for me when using -std-vga. I would appreciate any suggestions, comments and of course testing.

Re: [kvm-devel] KVM Testing Result for KVM-61

2008-02-20 Thread Izik Eidus
On Wed, 2008-02-20 at 15:09 +0800, Zhao, Yunfeng wrote: Hi,All This is testing result for KVM-61. No new issue has been found in the testing. Five old issues: 1. Fails to save/restore guests Save/restore may cause host to hang.

Re: [kvm-devel] KVM Testing Result for KVM-61

2008-02-20 Thread Izik Eidus
On Wed, 2008-02-20 at 12:29 +0200, Dor Laor wrote: On Wed, 2008-02-20 at 11:41 +0200, Izik Eidus wrote: On Wed, 2008-02-20 at 15:09 +0800, Zhao, Yunfeng wrote: Hi,All This is testing result for KVM-61. No new issue has been found in the testing. Five old issues: 1. Fails

Re: [kvm-devel] KVM Testing Result for KVM-61

2008-02-20 Thread Izik Eidus
On Wed, 2008-02-20 at 20:58 +0800, Zhao, Yunfeng wrote: Five old issues: 1. Fails to save/restore guests Save/restore may cause host to hang. https://sourceforge.net/tracker/index.php?funcÞtailaid24525group_ id0599atid‰3831 savevm loadvm does not work, but it doesnt crush my host

Re: [kvm-devel] KVM Testing Result for KVM-61

2008-02-20 Thread Izik Eidus
On Wed, 2008-02-20 at 21:12 +0800, Zhao, Yunfeng wrote: On Wed, 2008-02-20 at 20:58 +0800, Zhao, Yunfeng wrote: Five old issues: 1. Fails to save/restore guests Save/restore may cause host to hang. https://sourceforge.net/tracker/index.php?funcÞtailaid24525group_

[kvm-devel] [PATCH] fixing dirty bit setting for calls of rmap_write_protect

2008-02-12 Thread Izik Eidus
-- woof. From 8a849eb0cedacb384676aa7416e8997d89fe9b0f Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Tue, 12 Feb 2008 17:56:43 +0200 Subject: [PATCH] KVM: mmu: fixing dirty bit setting for calls of rmap_write_protect when mmu_set_spte is checking if a page related to spte

Re: [kvm-devel] [PATCH] replace the slots lock from the mmap_sem to private kvm lock

2008-02-11 Thread Izik Eidus
Marcelo Tosatti wrote: On Mon, Feb 11, 2008 at 05:12:42PM +0200, Izik Eidus wrote: right now kvm take the down_read(mmap_sem) lock to make sure that no slots will be removed while trying to get them / make the dirty log safe, but in some cases when the down_read(mmap_sem) is called

[kvm-devel] [PATCH] replace the slots lock from the mmap_sem to private kvm lock

2008-02-11 Thread Izik Eidus
that will lead to recursivly taking the mmap_sem, this patch remove the mmap_sem, with new kvm private lock. -- woof. From 17ab59f76968731a1dc1067fc07d637b5c52e3da Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Sun, 10 Feb 2008 18:04:15 +0200 Subject: [PATCH] KVM: remove the usage

Re: [kvm-devel] [PATCH] Move common VGAState attributes to VGA_STATE_COMMON

2008-02-11 Thread Izik Eidus
Soren Hansen wrote: I was told to resend this, so here goes: vmware_vga.c uses functions in vga.c to do some things. They need to agree on which parts of their state struct is common and which aren't, otherwise they'll overwrite parts of each other's state. This patch makes it so.

Re: [kvm-devel] [PATCH 7/8] MMU: add TDP support to the KVM MMU

2008-02-07 Thread Izik Eidus
Joerg Roedel wrote: This patch contains the changes to the KVM MMU necessary for support of the Nested Paging feature in AMD Barcelona and Phenom Processors. good patch, it look like things will be very fixable with it Signed-off-by: Joerg Roedel [EMAIL PROTECTED] ---

Re: [kvm-devel] [PATCH 7/8] MMU: add TDP support to the KVM MMU

2008-02-07 Thread Izik Eidus
Joerg Roedel wrote: On Thu, Feb 07, 2008 at 03:27:19PM +0200, Izik Eidus wrote: Joerg Roedel wrote: This patch contains the changes to the KVM MMU necessary for support of the Nested Paging feature in AMD Barcelona and Phenom Processors. good patch, it look like things

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Izik Eidus
On Wed, 2008-02-06 at 08:33 +0100, Guillaume Thouvenin wrote: Hello, I read on the kvmwiki/TODO that there is a work in progress for extending x86 emulator to support more instructions in real mode and for changing the execution loop to call the emulator for real mode. As I'm

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Izik Eidus
On Wed, 2008-02-06 at 13:07 +0100, Guillaume Thouvenin wrote: On Wed, 06 Feb 2008 10:52:54 +0200 Izik Eidus [EMAIL PROTECTED] wrote: i am not expert for the emulator area, but as far as i remember: virtual 8086 have some checks related to segments (the big mode problem), it mean

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Izik Eidus
On Wed, 2008-02-06 at 11:32 -0600, Anthony Liguori wrote: Guillaume Thouvenin wrote: Hello, I read on the kvmwiki/TODO that there is a work in progress for extending x86 emulator to support more instructions in real mode and for changing the execution loop to call the emulator for

Re: [kvm-devel] [PATCH 2/6] Use correct types to enable 2G support (v2)

2008-02-04 Thread Izik Eidus
On Sun, 2008-02-03 at 19:56 -0600, Anthony Liguori wrote: Hi Izik, Hi Anthony Liguori wrote: Index: qemu/cpu-all.h === --- qemu.orig/cpu-all.h 2008-02-01 15:24:45.0 -0600 +++ qemu/cpu-all.h 2008-02-01

Re: [kvm-devel] preempt notifier emulation host crash fix

2008-02-04 Thread Izik Eidus
On Sun, 2008-02-03 at 23:45 +0100, Andrea Arcangeli wrote: Hello, there's a small glitch in the preempt notifier external module emulation. The overloaded debug handler will not detect when a debug exception has been generated by ptrace and it'll crash the host by calling the preempt

Re: [kvm-devel] [PATCH 1/5] Use correct types to enable 2G support (v3)

2008-02-04 Thread Izik Eidus
On Mon, 2008-02-04 at 09:33 -0600, Anthony Liguori wrote: Izik Eidus wrote: On Mon, 2008-02-04 at 09:11 -0600, Anthony Liguori wrote: KVM supports more than 2GB of memory for x86_64 hosts. The following patch fixes a number of type related issues where int's were being used when

Re: [kvm-devel] [PATCH 1/5] Use correct types to enable 2G support (v3)

2008-02-04 Thread Izik Eidus
On Mon, 2008-02-04 at 09:11 -0600, Anthony Liguori wrote: KVM supports more than 2GB of memory for x86_64 hosts. The following patch fixes a number of type related issues where int's were being used when they shouldn't have been. It also introduces CMOS support so the BIOS can build the

Re: [kvm-devel] [PATCH 1/6] Use correct types to enable 2G support

2008-02-03 Thread Izik Eidus
21ea5f8286fd9cd7124dfa0865a213613b51add5 Author: Izik Eidus [EMAIL PROTECTED] Date: Mon Aug 20 17:46:04 2007 +0300 kvm: bios: add support to memory above the pci hole the new memory region is mapped after address 0x1, the bios take the size of the memory after the 0x1 from

Re: [kvm-devel] swapping with MMU Notifiers V2

2008-01-29 Thread Izik Eidus
Andrea Arcangeli wrote: Hello, I'm testing KVM swapping on top of Christoph's latest patch series. However the host is hanging hard for me. Could others test it? i will ask alexey to run it I changed test-hardware, kernel version and kvm kernel version at the same time, so it might not

Re: [kvm-devel] [PATCH]

2008-01-29 Thread Izik Eidus
S.Çağlar Onur wrote: Hi; This patch (rediffed againg kvm-60) from Tavis Ormandy [EMAIL PROTECTED] fixes an infinite loop in the emulated SB16 device (See http://taviso.decsystem.org/virtsec.pdf for more details.) I'm not sure why qemu upstream not merged these but Xen already did. [1]

Re: [kvm-devel] [patch 0/4] [RFC] MMU Notifiers V1

2008-01-28 Thread Izik Eidus
Andrea Arcangeli wrote: On Thu, Jan 24, 2008 at 09:56:06PM -0800, Christoph Lameter wrote: Andrea's mmu_notifier #4 - RFC V1 - Merge subsystem rmap based with Linux rmap based approach - Move Linux rmap based notifiers out of macro - Try to account for what locks are held while the

Re: [kvm-devel] [RFC][PATCH 3/5] ksm source code

2008-01-24 Thread Izik Eidus
Chris Wright wrote: * Izik Eidus ([EMAIL PROTECTED]) wrote: Just a bunch of nitpicks. struct ksm *ksm; static yes static int page_hash_size = 0; no need to initialize to zero ok module_param(page_hash_size, int, 0); MODULE_PARM_DESC(page_hash_size, Hash

Re: [kvm-devel] [RFC][PATCH 0/5] Memory merging driver for Linux

2008-01-24 Thread Izik Eidus
Avi Kivity wrote: Chris Wright wrote: * Izik Eidus ([EMAIL PROTECTED]) wrote: this module find this identical data (pages) and merge them into one single page this new page is write protected so in any case the guest will try to write to it do_wp_page will duplicate the page

Re: [kvm-devel] [RFC][PATCH 3/5] ksm source code

2008-01-24 Thread Izik Eidus
Avi Kivity wrote: Izik Eidus wrote: struct ksm *ksm; static yes Actually the entire contents of 'struct ksm' should be module static variables. i agree with you, i will fix this as well -- woof

Re: [kvm-devel] kvm-59 doesn't work

2008-01-23 Thread Izik Eidus
cb019c68bea9955d553c3ef6946e3abed357f1c2 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Wed, 23 Jan 2008 15:16:26 +0200 Subject: [PATCH] KVM: x86 emulator: fix decoding of registers to dst and src in case of instructions that declared as SrcMem or DstMem, right now

Re: [kvm-devel] kvm-59 doesn't work

2008-01-23 Thread Izik Eidus
Izik Eidus wrote: Andi Kleen wrote: On Tue, Jan 15, 2008 at 12:56:52PM +0200, Avi Kivity wrote: Andi Kleen wrote: FWIW it seems things are broken even without -kernel in -59 too. If I try to boot an existing image with just -hda ... the VGA screen just stays black while the process

Re: [kvm-devel] [RFC][PATCH 0/5] Memory merging driver for Linux

2008-01-23 Thread Izik Eidus
Andrea Arcangeli wrote: On Wed, Jan 23, 2008 at 12:05:10PM -0500, Rik van Riel wrote: On Mon, 21 Jan 2008 18:05:53 +0200 Izik Eidus [EMAIL PROTECTED] wrote: i added 2 new functions to the kernel one: page_wrprotect() make the page as read only by setting the ptes point

Re: [kvm-devel] [RFC][PATCH 2/5] add new exported function replace_page()

2008-01-23 Thread Izik Eidus
Rik van Riel wrote: On Mon, 21 Jan 2008 18:10:50 +0200 Izik Eidus [EMAIL PROTECTED] wrote: What prevents another CPU from freeing newpage while we run through the start of replace_page() ? before calling to replace_page one have to call to get_page() and to do put_page() after

Re: [kvm-devel] VT disabled on Sony Vaio...

2008-01-22 Thread Izik Eidus
Andrea Gelmini wrote: Hi all, I've got a Vaio VGN-SZ1VP_C. As you can read here¹, Sony disabled VT (and AHCI) by BIOS. So, when I try to load KVM module I've got: kvm: disabled by bios Is it possible to ignore BIOS settings (without hacking with hardware)? no, but you can try looks

[kvm-devel] [RFC][PATCH 2/5] add new exported function replace_page()

2008-01-21 Thread Izik Eidus
-- woof. From c6fc21397e37481696723115cb1680f42661be48 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Mon, 21 Jan 2008 17:04:45 +0200 Subject: [PATCH] memory.c: add new exported function replace_page() replace_page() - replace the pte mapping related to vm area between two

[kvm-devel] [RFC][PATCH 1/5] rmap: add new exported function: page_wrprotect()

2008-01-21 Thread Izik Eidus
From 45e5a255b004e0d578007576304a6b1e272fcb67 Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Mon, 21 Jan 2008 16:59:35 +0200 Subject: [PATCH] rmap: add new exported function: page_wrprotect(), page_wrprotect() make the page as read only by setting the ptes point

[kvm-devel] [RFC][PATCH 0/5] Memory merging driver for Linux

2008-01-21 Thread Izik Eidus
when kvm is used in production servers, many times it run the same guests operation systems more than once the idea of this module is to find the identical pages in diffrent guests and to share them so we can save memory, due to the fact that many guests run identical operation systems, alot of

[kvm-devel] [RFC][PATCH 3/5] ksm source code

2008-01-21 Thread Izik Eidus
-- woof. /* * Memory merging driver for Linux * * This module enables dynamic sharing of identical pages found in different * memory areas, even if they are not shared by fork() * * Copyright (C) 2008 Qumranet, Inc. * * This work is licensed under the terms of the GNU GPL, version 2. *

[kvm-devel] [RFC][PATCH 5/5] example of userspace application register it memory in ksm

2008-01-21 Thread Izik Eidus
(this is the modification for qemu to make it work with ksm) -- woof. From 813266c7d59acb64c104448c255cc2c9d4f0187e Mon Sep 17 00:00:00 2001 From: Izik Eidus [EMAIL PROTECTED] Date: Mon, 21 Jan 2008 17:41:09 +0200 Subject: [PATCH] qemu: register the memory of qemu with ksm, so it can be shared

[kvm-devel] [RFC][PATCH 4/5] example for userspace scanner

2008-01-21 Thread Izik Eidus
-- woof. #include stdio.h #include stdlib.h #include string.h #include sys/types.h #include sys/stat.h #include fcntl.h #include sys/mman.h #include unistd.h #include linux/ksm.h int main() { int fd; int fd_scan; int r; fd = open(/dev/ksm, O_RDWR | O_TRUNC, (mode_t)0600); if (fd == -1) {

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-17 Thread Izik Eidus
Andrea Arcangeli wrote: On Wed, Jan 16, 2008 at 07:48:06PM +0200, Izik Eidus wrote: Rik van Riel wrote: On Sun, 13 Jan 2008 17:24:18 +0100 Andrea Arcangeli [EMAIL PROTECTED] wrote: In my basic initial patch I only track the tlb flushes which should be the minimum

Re: [kvm-devel] [PATCH] mmu notifiers #v2

2008-01-16 Thread Izik Eidus
Rik van Riel wrote: On Sun, 13 Jan 2008 17:24:18 +0100 Andrea Arcangeli [EMAIL PROTECTED] wrote: In my basic initial patch I only track the tlb flushes which should be the minimum required to have a nice linux-VM controlled swapping behavior of the KVM gphysical memory. I have a

Re: [kvm-devel] kvm-59 doesn't work

2008-01-13 Thread Izik Eidus
Avi Kivity wrote: Andi Kleen wrote: When I try my 64bit kernel with -kernel ... on kvm-59 I get before the kernel outputs anything: Yes, I think -kernel is broken. Izik? wasnt it was fixed with the qemu_ram_alloc(0xa) patch ??? (i remembred someone sent patch to fix it) i will

Re: [kvm-devel] kvm-59 doesn't work

2008-01-13 Thread Izik Eidus
Anthony Liguori wrote: Avi Kivity wrote: Andi Kleen wrote: When I try my 64bit kernel with -kernel ... on kvm-59 I get before the kernel outputs anything: Yes, I think -kernel is broken. If you are using a guest with more than 3.75GB or so. The load_kernel function uses

Re: [kvm-devel] kvm-59 doesn't work

2008-01-13 Thread Izik Eidus
Avi Kivity wrote: Andi Kleen wrote: Are you using the modules that come with kvm or from an upstream kernel? (which?) kvm from 2.6.24-rc5-gitXXX upstream kernels (see my original mail) This points the finger at the memory allocation backward compatibility logic. Izik, can you

Re: [kvm-devel] kvm-59 doesn't work

2008-01-13 Thread Izik Eidus
Anthony Liguori wrote: Izik Eidus wrote: Anthony Liguori wrote: Avi Kivity wrote: Andi Kleen wrote: When I try my 64bit kernel with -kernel ... on kvm-59 I get before the kernel outputs anything: Yes, I think -kernel is broken. If you are using a guest with more than

Re: [kvm-devel] KVM and Vista question

2008-01-11 Thread Izik Eidus
Anup Gangwar wrote: Hello All, I did not get any response, so, resending. Could someone please throw some more light on the points below. Any pointers will be appreciated. Regards, ok we did have some work to make vista 64 to work but there are still problems with it right now you can

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] 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

Re: [kvm-devel] KVM Test result, kernel 5ed4995.., userspace e44dce6..

2008-01-07 Thread Izik Eidus
On Mon, 2008-01-07 at 10:48 +0100, Farkas Levente wrote: Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against kvm.git 5ed49953ef3749de1198bc07cdf11339d8f74432 and kvm-userspace.git e44dce6b8c8c8cf155223ba0e036bb4ace5071b1. 4. Cannot boot 32bit smp RHEL5.1 guest

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Izik Eidus
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 a long time to memset a 58MB area of memory for mem_map[]. It appears to be taking a

Re: [kvm-devel] Slow Kernel Boot

2008-01-07 Thread Izik Eidus
Dave Hansen wrote: On Tue, 2008-01-08 at 00:16 +0200, Izik Eidus wrote: 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 a long

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

2008-01-06 Thread Izik Eidus
Antoine Martin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 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] KVM Test result, kernel e770613.., userspace 7c75d86b..

2008-01-04 Thread Izik Eidus
Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against kvm.git e7706133a12f0172b1a5ce4467277abd598155b6 and kvm-userspace.git 7c75d86ba5c761bb44ea80e6e22973fee66adb00. One update for those issues about failures of booting SMP Windows, refer to 6th and 7th issues. We found

Re: [kvm-devel] Host dies on NFS write

2007-12-29 Thread Izik Eidus
Anders wrote: Hi, I am running 32 bit Linux (Ubuntu Gutsy: 2.6.22-14-server) on host and guest. Many kvm-intel versions, including kvm-58. The guest is an NFS server. Whenever I write a large file from the host, the guest freezes within a few seconds, i dont know if it will help you, but

Re: [kvm-devel] Oops on 2.6.23.11 with KVM 57

2007-12-28 Thread Izik Eidus
Guido Guenther wrote: On Thu, Dec 27, 2007 at 12:34:58PM +0200, Avi Kivity wrote: Looks like memory corruption; this was a call through a function pointer that pointed into userspace. Please try kvm-58, that has a fix for preemption notifiers on AMD; this may solve the problem.

Re: [kvm-devel] keeping time

2007-12-26 Thread Izik Eidus
Yves Dorfsman wrote: What is the recommended way to keep the time correct on a UNIX KVM machine ? what happen when you try: -no-kvm-irqchip -tdf ? (you arent runing it with -no-kvm-irqchip right now right?, if you dont it is probably bug) I am using Linux x86_64 (gentoo) both as a host and

Re: [kvm-devel] keeping time

2007-12-26 Thread Izik Eidus
Yves Dorfsman wrote: On Wed, 26 Dec 2007, Avi Kivity wrote: ntp is too clever for virtual machines. What happens if you don't enable it? Same thing. Please provide the guest's /proc/interrupts. more /proc/interrupts CPU0 0: 27066XT-PIC-XT

Re: [kvm-devel] external module sched_in event

2007-12-21 Thread Izik Eidus
Andrea Arcangeli wrote: Hello, [ I already sent it once as [EMAIL PROTECTED] but it didn't go through for whatever reason, trying again from private email, hope there won't be dups ] oh, it was sent to the list, dont trust (in case you did) the source forge site for the mails inside

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-21 Thread Izik Eidus
Amit Shah wrote: On Friday 21 December 2007 20:28:23 Zhang, Xiantao wrote: Hi, Avi Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail , this patch fixed them. Xiantao I've not checked the patch yet; but a curiosity question: Do you also

Re: [kvm-devel] KVM Test result, kernel 5ca24d9.., userspace 120e0c8..

2007-12-19 Thread Izik Eidus
On Wed, 2007-12-19 at 16:59 +0800, Zhao, Yunfeng wrote: Seems the issue is not fully resolved. Save/restore on 64bist host may cause guest to kernel panic. Here is the snapshot: https://sourceforge.net/tracker/download.php?group_id=180599atid=893831file_id=259112aid=1824525 And following

Re: [kvm-devel] KVM Test result, kernel 5ca24d9.., userspace 120e0c8..

2007-12-19 Thread Izik Eidus
On Wed, 2007-12-19 at 16:59 +0800, Zhao, Yunfeng wrote: Seems the issue is not fully resolved. Save/restore on 64bist host may cause guest to kernel panic. Here is the snapshot: https://sourceforge.net/tracker/download.php?group_id=180599atid=893831file_id=259112aid=1824525 it seems like

Re: [kvm-devel] KVM Test result, kernel 5ca24d9.., userspace120e0c8..

2007-12-19 Thread Izik Eidus
Zhao, Yunfeng wrote: Tried this patch against latest commit. The guest will hang after it restored for several minutes. Thanks Yunfeng it shouldnt fix the guest, it should fix the ugly messages in the host did it? -Original Message- From: Izik Eidus [mailto:[EMAIL PROTECTED

Re: [kvm-devel] KVM Test result, kernel 5ca24d9.., userspace120e0c8..

2007-12-19 Thread Izik Eidus
Zhao, Yunfeng wrote: -Original Message- From: Izik Eidus [mailto:[EMAIL PROTECTED] Sent: 2007年12月20日 14:43 To: Zhao, Yunfeng Cc: Avi Kivity; kvm-devel Subject: Re: [kvm-devel] KVM Test result, kernel 5ca24d9.., userspace120e0c8.. Zhao, Yunfeng wrote: Tried this patch

Re: [kvm-devel] [RFC] concurrent guest walker and instruction emulation

2007-12-18 Thread Izik Eidus
On Tue, 2007-12-18 at 08:26 -0500, Marcelo Tosatti wrote: Hi, The following is an improvement on top of an earlier patch by Izik. It i would say MUCH improvement :) increases pagefault scalability for SMP guests by allowing concurrent guest walking, allocation and instruction emulation on

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-16 Thread Izik Eidus
On Thu, 2007-12-13 at 22:50 +0100, Farkas Levente wrote: Izik Eidus wrote: Farkas Levente wrote: Avi Kivity wrote: This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Izik Eidus
Farkas Levente wrote: Avi Kivity wrote: This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related permission fixes. unfortunately 32bit centos guest still not be able to boot

Re: [kvm-devel] kvm-55 and ne2k-pci

2007-12-10 Thread Izik Eidus
On Mon, 2007-12-10 at 08:44 -0500, Jerry Geis wrote: I installed redhat7.3 and redhat 9 an a qemu-img with 12G each. When I am running the ne2k-pci the network stalls. I tried both redhat 7.3 and redhat 9. both stall. I then tried to change to use -net nic,model=rtl8139 and I could not

Re: [kvm-devel] [PATCH] fix -kernel option

2007-12-09 Thread Izik Eidus
Dor Laor wrote: Glauber de Oliveira Costa wrote: Currently, the -kernel option is not working. Reason is, because we're registering chunks for regions 0-0xa and 0x10-ram_size, the phys_ram_addr + PA is broken. The real fix should be to rewrite all the load_linux() code to not rely

Re: [kvm-devel] kvm errors when using greater than 3572m of memory

2007-12-08 Thread Izik Eidus
Brian Almeida wrote: On Fri, Dec 07, 2007 at 09:28:42PM +0200, Izik Eidus wrote: (note that kvm-54 should be enough, you just have to make sure that you use the modules that come with it) Yes, this fixed the problem. Any idea why the ACPI opitmization patches (tpr-opt-1

Re: [kvm-devel] [PATCH] fix -kernel option

2007-12-07 Thread Izik Eidus
Glauber de Oliveira Costa wrote: Currently, the -kernel option is not working. Reason is, because we're registering chunks for regions 0-0xa and 0x10-ram_size, the phys_ram_addr + PA is broken. The real fix should be to rewrite all the load_linux() code to not rely on this, but

Re: [kvm-devel] [PATCH] fix -kernel option

2007-12-07 Thread Izik Eidus
Anthony Liguori wrote: Glauber de Oliveira Costa wrote: Currently, the -kernel option is not working. Reason is, because we're registering chunks for regions 0-0xa and 0x10-ram_size, the phys_ram_addr + PA is broken. I think this patch is a reasonable work-around but

Re: [kvm-devel] [PATCH] fix -kernel option

2007-12-07 Thread Izik Eidus
Anthony Liguori wrote: Izik Eidus wrote: Anthony Liguori wrote: Glauber de Oliveira Costa wrote: Currently, the -kernel option is not working. Reason is, because we're registering chunks for regions 0-0xa and 0x10-ram_size, the phys_ram_addr + PA is broken. I think

Re: [kvm-devel] kvm errors when using greater than 3572m of memory

2007-12-07 Thread Izik Eidus
Brian Almeida wrote: On Fri, Dec 07, 2007 at 09:14:37PM +0200, Izik Eidus wrote: yea it does look like the reason is that you use old kvm module version, i ran it on my box with 3572 mb of ram and it work Ok - I will try with the latest version. Thanks! Brian (note that kvm

Re: [kvm-devel] kvm errors when using greater than 3572m of memory

2007-12-07 Thread Izik Eidus
Izik Eidus wrote: Brian Almeida wrote: Hi, I get the following error when I give -m 3752 or higher: stormcrow:/data/kvm# kvm -no-acpi -m 3572 -cdrom /data/iso/w2k3_server_ent_r2_disc1.iso -boot d -usbdevice tablet tharkun.img create_kernel_phys_mem: Invalid argumentset_vram_mapping

Re: [kvm-devel] kvm errors when using greater than 3572m of memory

2007-12-07 Thread Izik Eidus
Brian Almeida wrote: Hi, I get the following error when I give -m 3752 or higher: stormcrow:/data/kvm# kvm -no-acpi -m 3572 -cdrom /data/iso/w2k3_server_ent_r2_disc1.iso -boot d -usbdevice tablet tharkun.img create_kernel_phys_mem: Invalid argumentset_vram_mapping: cannot allocate

Re: [kvm-devel] KVM Test result, kernel 51727a1.. , userspace 6a385c9..

2007-12-06 Thread Izik Eidus
Avi Kivity wrote: Dong, Eddie wrote: How do u disable TPR? Remove the patch, or just remove the setting? Just put 'return 0' in cpu_has_tpr_shadow() (or however it is called). avi, can you please ask from alexeye to test it with this fix? (some times i had booted 5 times

Re: [kvm-devel] KVM Test result, kernel 51727a1.. , userspace 6a385c9..

2007-12-06 Thread Izik Eidus
Avi Kivity wrote: Izik Eidus wrote: Avi Kivity wrote: Izik Eidus wrote: [Yunfeng] Yes, it may not be a recent regression, and it may be a platform related issue. Before we used Harwitch /paxville to do the test, and in a period the installation test could pass without any problem

Re: [kvm-devel] Strange network behaviour

2007-12-05 Thread Izik Eidus
, and FreeBSD 6.2 at the moment with Mint4.0 and JeOS on the drawing board. Lynn Kerby San Martin, CA On Dec 4, 2007, at 2:44 PM, Mike wrote: Hello, I already spoke to Izik Eidus. He told me to publish the results to the problem at the mailinglist. Some time ago I wrote

Re: [kvm-devel] KVM Test result, kernel 51727a1.. , userspace 6a385c9..

2007-12-05 Thread Izik Eidus
Avi Kivity wrote: Zhao, Yunfeng wrote: One regression: 1. Cannot install 64bit vista guests. https://sourceforge.net/tracker/?funcÞtailatid‰3831aid36905group_id05 99 Internal testing here confirms, but this is not a recent regression. When was the

Re: [kvm-devel] [ANNOUNCE] kvm-55 release

2007-12-05 Thread Izik Eidus
Haydn Solomon wrote: Some output from guest hanging. Message from syslogd@ at Wed Dec 5 06:41:08 2007 ... localhost kernel: Bad page state in process 'qemu-system-x86' Message from syslogd@ at Wed Dec 5 06:41:08 2007 ... localhost kernel: page:8100022132a8 flags:0x00500804

Re: [kvm-devel] 'info blockstats' to collect block device statistics

2007-12-03 Thread Izik Eidus
Richard W.M. Jones wrote: I wonder if KVM would be interested in taking my QEMU patch to support block device statistics. This patch collects per-block-device statistics and allows them to be displayed in the monitor through a 'info blockstats' command. It generalises the VMDK-only

Re: [kvm-devel] Bad Performance

2007-11-28 Thread Izik Eidus
On Wed, 2007-11-28 at 10:55 -0500, Darren Blaber wrote: dows is idle, using 1-2% cpu, the kvm process uses about 20-30% cpu. Whenever I am doing any kind of activity (especially disk activity) its shoots right up to 99%. Anyway, have a readprofile snap shot as well as kvm st what windows

  1   2   3   >