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: >&

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

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

2008-05-04 Thread Izik Eidus
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 is locked up in a boot screen. > > H

Re: [kvm-devel] Widescreen video in KVM

2008-05-04 Thread Izik Eidus
Avi Kivity wrote: > Bob Moran wrote: >> The http://kvm.qumranet.com/kvmwiki/FAQ section3 Q13 RE. widescreen >> resolution in KVM, refers me to: >> >> >> http://thread.gmane.org/gmane.comp.emulators.kvm.devel/13557 which >> describes a patch to be applied. >> >> I am not familiar with patch ap

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

2008-04-30 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 i

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

2008-04-28 Thread Izik Eidus
refers to the > "busy" bit of the task type. Izik? > > >From cf6e76c69a38a983df0c84a3dcc2336042eb3436 Mon Sep 17 00:00:00 2001 From: Izik Eidus <[EMAIL PROTECTED]> Date: Mon, 28 Apr 2008 18:16:08 +0300 Subject: [PATCH] KVM: x86: task switch: fix wrong bit setting for

Re: [kvm-devel] Automatic page sharing/consolidation

2008-04-16 Thread Izik Eidus
Avi Kivity wrote: > Enrico Weigelt wrote: >> Hi folks, >> >> I'm using dozens of VE's / jails to separate applications >> (even complete webapps w/ their own httpd) for easier maintenance >> and better security. But this tends to consume a lot of memory, >> since code sharing (.so's) cannot take ef

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 spin

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

2008-03-30 Thread Izik Eidus
Avi Kivity wrote: > Izik Eidus wrote: >> void kvm_mmu_module_exit(void) >> { >> if (pte_chain_cache) >> @@ -1980,6 +2026,7 @@ void kvm_mmu_module_exit(void) >> kmem_cache_destroy(rmap_desc_cache); >> if (mmu_page_heade

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 8503

[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 PROTE

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_

[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

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

[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 r

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

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. w

[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. Microso

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

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/Kco

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 > > https://sourceforge.net/tracker/index.php?fun

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 testin

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: > >>&g

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Þtail&aid24525&

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Þtail&aid24525&group_ > >> id0599&atid‰3831 > > > >savevm loadvm does not work, but it d

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 i

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. > https://sourceforge.net/tracker/index.php?func=deta

[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 r

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. > > S

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 w

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

2008-02-11 Thread Izik Eidus
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

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

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]> > --- > arch/x86/k

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 emula

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 t

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

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

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

2008-02-03 Thread Izik Eidus
t still apply. commit 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 memor

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 mig

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 di

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 whi

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 'struc

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 >&g

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

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

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

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] kvm-59 doesn't work

2008-01-23 Thread Izik Eidus
rom 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, righ

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

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

2008-01-21 Thread Izik Eidus
-- woof. #include #include #include #include #include #include #include #include #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) { fprintf(stderr, "couldnt even open it\n"); exit(1); } fd_s

[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

[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 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 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 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 are

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

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

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 outpu

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.

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

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

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

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 li

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

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

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 m

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 R

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 -

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

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,

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 probl

Re: [kvm-devel] KVM Test result, kernel KVM58rc1, userspace KVM58rc1

2007-12-27 Thread Izik Eidus
On Thu, 2007-12-27 at 17:16 +0800, Zhao, Yunfeng wrote: > > Save/restore still fails on ia32e host, and sometimes it causes host to crash. > the host side was not fixed? you still get this bad_page? or is it something else? -

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: 270

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 an

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:

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 in

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.., >>

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

Re: [kvm-devel] [PATCH] Patchset to enable kvm/ia64 support.

2007-12-19 Thread Izik Eidus
On Wed, 2007-12-19 at 20:18 +0800, Zhang, Xiantao wrote: > > Now, it's time for us sending the code out for review and check-in. We > are appreciating any comments ! :) > [1/17] Adding kvm compile support in Kconfig and Makefile file > [2/17] Add kvm.h, kvm_para.h and kvm_host.h for ia64. > [3/

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=180599&atid=893831&file_id=259112&aid=1824525 > it seems

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=180599&atid=893831&file_id=259112&aid=1824525 > > And fol

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

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 ha

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 ab

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 cou

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 t

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 th

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 late

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

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

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 reg

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 wo

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. >>>>>> Bef

  1   2   3   >