[kvm-devel] frozen winXP on kvm after savevm

2007-08-18 Thread Shahar Livne
Hello list, I am running winXP English on the kvm, and sometimes after savevm when starting with loadvm - it starts frozen (the process takes 100% CPU and the target OS is not responsive). The command line to run qemu (while kvm-intel is loaded) that I use is: /usr/local/kvm/bin/qemu-system-x8

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-18 Thread Anthony Liguori
I think this is a really nice and important patch set. Just a couple things: On Sun, 2007-08-19 at 00:02 +0200, Luca Tettamanti wrote: > > In this case the dyn-tick minimum res will be 1msec. I believe it should > > work ok since this is the case without any dyn-tick. > > Actually minimum resol

Re: [kvm-devel] Vista/rtl8139 broken?

2007-08-18 Thread Daniel P. Berrange
On Sun, Aug 19, 2007 at 12:31:14AM +0100, Alistair John Strachan wrote: > Hi, > > I've been using ne2k with BSD/Linux/WindowsXP just fine with > KVM-35/2.6.23-rc2, but when I try to run Vista, which doesn't support the > ne2k any more, I tried switching to the rtl8139 emulation. > > I observed

Re: [kvm-devel] Vista/rtl8139 broken?

2007-08-18 Thread Jorge Lucángeli Obes
On 8/18/07, Alistair John Strachan <[EMAIL PROTECTED]> wrote: > Hi, > > I've been using ne2k with BSD/Linux/WindowsXP just fine with > KVM-35/2.6.23-rc2, but when I try to run Vista, which doesn't support the > ne2k any more, I tried switching to the rtl8139 emulation. > > I observed that the rtl81

[kvm-devel] Vista/rtl8139 broken?

2007-08-18 Thread Alistair John Strachan
Hi, I've been using ne2k with BSD/Linux/WindowsXP just fine with KVM-35/2.6.23-rc2, but when I try to run Vista, which doesn't support the ne2k any more, I tried switching to the rtl8139 emulation. I observed that the rtl8139 emulation works fine in WindowsXP, so it's not broken. But it does n

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-18 Thread Luca Tettamanti
Dor Laor ha scritto: > >> Hello, > >> in reply to this mail I will send a serie of 4 patches that cleans up > >and > >> expands the alarm timer handling in QEMU. Patches have been rebased > on > >QEMU > >> CVS. > >> > >> Patch 1 is mostly a cleanup of the existing code; instead of having > >multip

Re: [kvm-devel] [PATCH 0/3] add support for dynamicly allocation ofmmu pages.

2007-08-18 Thread Dor Laor
The idea to shift/share mmu cache memory between guests is great. You do need to take care of proper inter vm locking (kvm_lock lock, don't mix the kvm->lock). Combining the idea with LRU replacment algorithm and a rebalance timer for the mmu cache can be a winning combination. -- Dor. Btw: Later

Re: [kvm-devel] [PATCH 0/3] add support for dynamicly allocation of mmu pages.

2007-08-18 Thread Izik Eidus
i forgot the most important thing this is request for comment, not any more than this (as you can see it doesnt have clean up function) so all i am trying to get here, is your ideas to what to do with it now. add one of the options below?, add both of them?, not at all? anyway thanks! :) > On Sa

[kvm-devel] [PATCH 3/3] add support for dynamicly allocation of mmu pages.

2007-08-18 Thread Izik Eidus
this patch all the functions that use the mmu pages it teach them how to use the new lists. --- mmu.c 2007-08-15 11:37:08.0 +0300 +++ new_mmu.c 2007-08-19 06:27:56.0 +0300 @@ -586,14 +586,25 @@ static struct kvm_mmu_page *kvm_mmu_lookup_page(struct kvm_vcpu *vcpu, gfn_t gfn)

[kvm-devel] [PATCH 2/3] add support for dynamicly allocation of mmu pages.

2007-08-18 Thread Izik Eidus
simply make the slot memory allocation function to count how much it allocate, and create blocks of mmu pages by this, in addition it initiate the lists. --- kvm_main.c 2007-08-15 11:37:07.0 +0300 +++ new_kvm_main.c 2007-08-19 06:21:45.0 +0300 @@ -297,6 +297,8 @@ kvm_io_bus_init(&

[kvm-devel] [PATCH 1/3] add support for dynamicly allocation of mmu pages.

2007-08-18 Thread Izik Eidus
simply change kvm.h to work with the new lists and with blocks of 1MB please note that the KVM_MMU_PAGES_DIVIDER is the magic, it control on how much % memory will be allocated to the mmu pages, KVM_MMU_PAGES_DIVIDER = 100 mean 1% KVM_MMU_PAGES_DIVIDER = 50 mean 2% --- kvm.h 2007-08-15 11:37:07.000

[kvm-devel] [PATCH 0/3] add support for dynamicly allocation of mmu pages.

2007-08-18 Thread Izik Eidus
this patch make kvm dynamicly allocate memory to its mmu pages buffer. untill now kvm used to allocate just 1024 pages ( 4MB ) no matter what was the guest ram size. beacuse the mmu pages buffer was very small alot of pages that had "correct" information about the guest pte, had to be released.

Re: [kvm-devel] installing kvm on debian 4.0 r0

2007-08-18 Thread Koen de Jonge
Luca wrote: > On 8/18/07, Koen de Jonge <[EMAIL PROTECTED]> wrote: > >>> I then used these to make the system workable: >>> apt-get install openssh-server >>> apt-get install sudo >>> >>> Then I used these as prerequisite packages for kvm: >>> apt-get install gcc-3.4 >>> apt-get install libsdl1.

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-18 Thread Dor Laor
>> Hello, >> in reply to this mail I will send a serie of 4 patches that cleans up >and >> expands the alarm timer handling in QEMU. Patches have been rebased on >QEMU >> CVS. >> >> Patch 1 is mostly a cleanup of the existing code; instead of having >multiple >> #ifdefs to handle different timers s

Re: [kvm-devel] installing kvm on debian 4.0 r0

2007-08-18 Thread Luca
On 8/18/07, Koen de Jonge <[EMAIL PROTECTED]> wrote: > > I then used these to make the system workable: > > apt-get install openssh-server > > apt-get install sudo > > > > Then I used these as prerequisite packages for kvm: > > apt-get install gcc-3.4 > > apt-get install libsdl1.2-dev > > apt-get i

Re: [kvm-devel] installing kvm on debian 4.0 r0

2007-08-18 Thread Koen de Jonge
Koen de Jonge wrote: > Hi All, > > Below is how I installed kvm-35 on my debian etch installation, it may > be included in the wiki :) > > I installed the amd64 version of debian 4.0 r0 on my amd4800+ > I did all 'apt-get update' and 'apt-get upgrade' steps to get the > system updated with all la

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take 2

2007-08-18 Thread Anthony Liguori
On Sat, 2007-08-18 at 01:11 +0200, Luca Tettamanti wrote: > Hello, > in reply to this mail I will send a serie of 4 patches that cleans up and > expands the alarm timer handling in QEMU. Patches have been rebased on QEMU > CVS. > > Patch 1 is mostly a cleanup of the existing code; instead of havi

Re: [kvm-devel] lapic3 branch rebased

2007-08-18 Thread Dong, Eddie
>- rename 'struct kvm_ioctl_pic' to 'struct kvm_pic_state' >- rename 'struct kvm_ioctl_ioapic' to 'struct kvm_ioapic_state' >- rearranged struct kvm_vcpu to reduce changes relative ro master > >However, neither lapic4 nor lapic5 will boot Windows XP SP2 >(ACPI HAL). >I'll debug the Linux probl

Re: [kvm-devel] add back pending timer irqs for kernel APIC timer

2007-08-18 Thread Dong, Eddie
Avi: Any comments to this patch? Seems not in yet. The sequence is apic-timer-TMCCT.patch, apic-timer-last5.patch and apic-timer-pending4.patch. thx,eddie >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Dong, Eddie >Sent: 2007年8月14日

Re: [kvm-devel] Guest Support Status wiki page

2007-08-18 Thread Koen de Jonge
Amit Shah wrote: > On Saturday 18 August 2007 02:42:56 Koen de Jonge wrote: > >> Hi all, >> >> here is a list of Supported Guests: >> http://kvm.qumranet.com/kvmwiki/Guest_Support_Status >> >> The tables are a bit unclear to me, I will explain using the 'Debian >> Etch' example. >> > > Ther

Re: [kvm-devel] Guest Support Status wiki page

2007-08-18 Thread Amit Shah
On Saturday 18 August 2007 02:42:56 Koen de Jonge wrote: > Hi all, > > here is a list of Supported Guests: > http://kvm.qumranet.com/kvmwiki/Guest_Support_Status > > The tables are a bit unclear to me, I will explain using the 'Debian > Etch' example. There's no guideline on what the table should