Re: [GIT PULL] KVM fixes for 2.6.26-rc7

2008-06-29 Thread Avi Kivity
Soren Hansen wrote: On Thu, Jun 26, 2008 at 03:52:47PM +0300, Avi Kivity wrote: The ubuntu kernel has a newer KVM module backported to it so it's really 2.6.25-rcX. That's a big no-no. We only guarantee binary compatibility for kernel.org releases. kvm-blah releases may break

Re: [PATCH 0 of 4] [kvm-userspace][test] consolidate test libs to libcflat

2008-06-29 Thread Avi Kivity
Jerone Young wrote: This set of patches are to consolidate test libraries into a single library archive. This lib archive is libcflat. This will allow common code to be shared among archs. Applied all, thanks. I squashed together 1-3 as Hollis suggested, and with git's rename

Re: another kvm-70 compile bug with rhel/centos 5.2

2008-06-29 Thread Avi Kivity
Farkas Levente wrote: anyone like to fix it? Don't worry, we'll get it fixed. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: nfsroot stays 'readonly'

2008-06-29 Thread Avi Kivity
Louis-David Mitterrand wrote: Hi, To provide an emergency off-site backup server for a client, I'm trying to use kvm on a nightly rsync'ed copy of their server. To avoid the use of a disk image I was advised to try nfsroot. This the command I am running: # kvm -nographic -hda ~/empty.qcow2

Re: [PATCH][REPOST]: Fake emulate Intel perfctr MSRs

2008-06-29 Thread Avi Kivity
Chris Lalancette wrote: Respin of my previous patch to fake emulate the Intel perfctr MSRs. As Sheng Yang pointed out, I didn't need an additional include, and I could use other #define's. Applied, thanks. Sorry about the delay. -- error compiling committee.c: too many arguments to

Re: [PATCH] KVM: VMX: Add ept_sync_context in flush_tlb

2008-06-29 Thread Avi Kivity
Yang, Sheng wrote: On Wednesday 25 June 2008 20:02:17 Avi Kivity wrote: Yang, Sheng wrote: 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

Re: [PATCH 2 of 3] Move KVM TRACE DEFINITIONS to common header

2008-06-29 Thread Avi Kivity
Jerone Young wrote: 3 files changed, 40 insertions(+), 40 deletions(-) include/asm-x86/kvm.h | 22 -- include/asm-x86/kvm_host.h | 18 -- include/linux/kvm_host.h | 40 This patch moves moves definitions

[PATCH 0/3] Fix guest time drift under heavy load.

2008-06-29 Thread Gleb Natapov
Resending one more time. There was no response last time I've sent it. Qemu device emulation for timers might be inaccurate and causes coalescing of several IRQs into one. It happens when the load on the host is high and the guest did not manage to ack the previous IRQ. The first patch in the

[PATCH 2/3] Fix time drift problem under high load when PIT is in use.

2008-06-29 Thread Gleb Natapov
Count the number of interrupts that was lost due to interrupt coalescing and re-inject them back when possible. This fixes time drift problem when pit is used as a time source. Signed-off-by: Gleb Natapov [EMAIL PROTECTED] --- hw/i8254.c | 20 +++- 1 files changed, 19

[PATCH 3/3] Fix time drift problem under high load when RTC is in use.

2008-06-29 Thread Gleb Natapov
Count the number of interrupts that was lost due to interrupt coalescing and re-inject them back when possible. This fixes time drift problem when RTC is used as a time source. Signed-off-by: Gleb Natapov [EMAIL PROTECTED] --- hw/mc146818rtc.c | 11 +-- 1 files changed, 9

[ kvm-Bugs-2005957 ] TAP networking stalls on large file transfers

2008-06-29 Thread SourceForge.net
Bugs item #2005957, was opened at 2008-06-29 19:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2005957group_id=180599 Please note that this message will contain a full copy of

[ kvm-Bugs-1872252 ] 64-bit windows no longer booting with -no-kvm

2008-06-29 Thread SourceForge.net
Bugs item #1872252, was opened at 2008-01-15 19:17 Message generated for change (Comment added) made by avik You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1872252group_id=180599 Please note that this message will contain a full copy of the comment

Re: another kvm-70 compile bug with rhel/centos 5.2

2008-06-29 Thread Avi Kivity
Farkas Levente wrote: hi, i'm just try to recompile kvm-70 with the latest centos-5.2 (aka rhel-5.2) kernel, but i've got a new compile error: error: redefinition of typedef 'bool' Please try the attached patch, and let me know if it helps. -- error compiling committee.c: too many

Re: another kvm-70 compile bug with rhel/centos 5.2

2008-06-29 Thread Farkas Levente
Avi Kivity wrote: Farkas Levente wrote: hi, i'm just try to recompile kvm-70 with the latest centos-5.2 (aka rhel-5.2) kernel, but i've got a new compile error: error: redefinition of typedef 'bool' Please try the attached patch, and let me know if it helps. not working on centos-5.2:

Re: kvm: unable to handle kernel NULL pointer dereference

2008-06-29 Thread Tobias Diedrich
Chris Wright wrote: * Tobias Diedrich ([EMAIL PROTECTED]) wrote: PM: Creating hibernation image: PM: Need to copy 126181 pages PM: Normal pages needed: 126181 + 1024 + 38, available pages: 397721 x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 svm_cpu_init: svm_data is

[PATCH] Re: kvm: unable to handle kernel NULL pointer dereference

2008-06-29 Thread Tobias Diedrich
Tobias Diedrich wrote: Chris Wright wrote: * Tobias Diedrich ([EMAIL PROTECTED]) wrote: PM: Creating hibernation image: PM: Need to copy 126181 pages PM: Normal pages needed: 126181 + 1024 + 38, available pages: 397721 x86 PAT enabled: cpu 0, old 0x7040600070406, new

Re: KVM: x86: accessors for guest registers

2008-06-29 Thread Marcelo Tosatti
On Sun, Jun 29, 2008 at 04:14:37PM +0300, Avi Kivity wrote: Marcelo Tosatti wrote: As suggested by Avi, introduce accessors to read/write guest registers. This simplifies the -cache_regs/-decache_regs interface, and improves register caching which is important for VMX, where the cost of

Re: [PATCH 2/3] Fix time drift problem under high load when PIT is in use.

2008-06-29 Thread Dor Laor
On Sun, 2008-06-29 at 16:59 +0300, Gleb Natapov wrote: Count the number of interrupts that was lost due to interrupt coalescing and re-inject them back when possible. This fixes time drift problem when pit is used as a time source. Signed-off-by: Gleb Natapov [EMAIL PROTECTED] ---

Re: KVM: x86: accessors for guest registers

2008-06-29 Thread Avi Kivity
Marcelo Tosatti wrote: - svm always caches registers, and all registers are dirty, since cache/decache is cheap Accurate regs_dirty information is useful for converting the emulator, so that you can do something like: emul_register_write(ctxt, reg, val) { if