Re: [kvm-devel] question: HPET for multiple VMs

2008-03-23 Thread Avi Kivity
Anthony Liguori wrote: Avi Kivity wrote: And I would like to ask right and wrong to implement the functionality in terms of need and efficiency (scalability and time accuracy). I think that for newer kernels we already have the desired accuracy. We're not always good at exploiting

Re: [kvm-devel] [PATCH] kvm.h: __user requires compiler.h

2008-03-23 Thread Avi Kivity
Anthony Liguori wrote: This patch breaks QEMU build when doing a 'make sync'. When you do a top-level ./configure, libkvm is built with kerneldir pointing to kvm-userspace/kernel/include. While linux/kvm.h is present there, there isn't a linux/compiler.h. The host kernelpath isn't

Re: [kvm-devel] [PATCH] Move kvm_get_pit to libkvm.c common code

2008-03-23 Thread Avi Kivity
Hollis Blanchard wrote: Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT. Signed-off-by: Hollis Blanchard [EMAIL PROTECTED] diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h --- a/libkvm/libkvm.h +++ b/libkvm/libkvm.h @@ -539,6 +539,7 @@

Re: [kvm-devel] [PATCH][QEMU] Use a separate device for in-kernel PIT

2008-03-23 Thread Avi Kivity
Anthony Liguori wrote: Hollis Blanchard wrote: This patch solves annoying qemu build breakage hitting PowerPC around struct kvm_pit_state, so that's another vote in favor... I have an updated version of the patch but it's breaking the build b/c something fouled up right now with

Re: [kvm-devel] [PATCH] 'make clean' is eager to delete config.mak files

2008-03-23 Thread Avi Kivity
Ryota OZAKI wrote: Hi all, Current 'make clean' deletes config.mak files so that we have to ./configure again after doing that. This behavior is different from that of standard 'make clean'. This patch introduces 'make distclean' to delete config.mak files instead of 'make clean',

Re: [kvm-devel] [RFC PATCH 1/5] lguest: mmap backing file

2008-03-23 Thread Avi Kivity
Anthony Liguori wrote: If we're going to mod the kernel, how about a mmap this part of their address space and having the kernel keep the mappings in sync. But I think that if we want to get speed, we should probably be doing the copy between address spaces in-kernel so we

Re: yesterday night�s videos

2008-03-23 Thread Candia quesad
Rock her world with your 9 inch monster. http://www.neurues.com/ Amateur videos for you - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.

Re: [kvm-devel] [ANNOUNCE] kvm-guest-drivers-windows-1

2008-03-23 Thread Avi Kivity
Avi Kivity wrote: Daniel P. Berrange wrote: On Tue, Mar 18, 2008 at 05:01:09PM +0200, Avi Kivity wrote: This is the first release of network drivers for Windows guests running on a kvm host. The drivers are intended for Windows 2000 and Windows XP 32-bit. kvm-61 or later is

Re: [kvm-devel] [RFC/PATCH 01/15] preparation: provide hook to enable pgstes in user pagetable

2008-03-23 Thread Avi Kivity
Heiko Carstens wrote: What you've done with dup_mm() is probably the brute-force way that I would have done it had I just been trying to make a proof of concept or something. I'm worried that there are a bunch of corner cases that haven't been considered. What if someone else is poking

Re: [kvm-devel] Qemu-kvm is leaking my memory ???

2008-03-23 Thread Avi Kivity
Zdenek Kabelac wrote: 2008/3/19, Avi Kivity [EMAIL PROTECTED]: Zdenek Kabelac wrote: 2008/3/19, Avi Kivity [EMAIL PROTECTED]: Zdenek Kabelac wrote: 2008/3/16, Avi Kivity [EMAIL PROTECTED]: The -vnc switch, so there's no local X server. A remote X server should be fine as

Re: [kvm-devel] [RFC PATCH 0/4] Inter-guest virtio I/O example with lguest

2008-03-23 Thread Rusty Russell
On Friday 21 March 2008 01:11:35 Anthony Liguori wrote: Rusty Russell wrote: There are three possible solutions: 1) Just offer the lowest common denominator to both sides (ie. no features). This is what I do with lguest in these patches. 2) Offer something and handle the case where one

Re: [kvm-devel] Qemu-kvm is leaking my memory ???

2008-03-23 Thread Avi Kivity
Avi Kivity wrote: I see the same issue too now, and am investigating. The attached patch should fix the issue. It is present in 2.6.25-rc6 only, and not in kvm.git, which is why few people noticed it. -- error compiling committee.c: too many arguments to function diff --git

Re: [kvm-devel] [Qemu-devel] Coredump from qemu

2008-03-23 Thread Avi Kivity
Zdenek Kabelac wrote: Hi During execution of qemu I've got this crash: #0 0x00407a29 in qemu_mod_timer (ts=0x2e8cf90, expire_time=130685351465) at /usr/src/debug/kvm-63/qemu/vl.c:1073 #1 0x00425590 in pcnet_ioport_writew (opaque=0x0, addr=1836332585, val=8090216) at

[kvm-devel] Кадастровый план и ГКН

2008-03-23 Thread Агенство КАДАСТРА
Приглашаем Вас принять участие в НОВОМ курсе: Новое в правовом регулировании оформления прав на объекты недвижимости. Федеральный закон О

Re: [kvm-devel] [PATCH][QEMU] Use a separate device for in-kernel PIT

2008-03-23 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: Hollis Blanchard wrote: This patch solves annoying qemu build breakage hitting PowerPC around struct kvm_pit_state, so that's another vote in favor... I have an updated version of the patch but it's breaking the build b/c

[kvm-devel] [PATCH] [RFC] Fix time drift of rtc clock + general support

2008-03-23 Thread Dor Laor
Qemu device emulation for timers might be inaccurate and causes coalescing of several irq into one. It happens when the load on the host is high and the guest did not manage to ack the previous irq. By get/set request irq commands the device won't issue another irq before the previous one has been

Re: [kvm-devel] question: HPET for multiple VMs

2008-03-23 Thread Ryota OZAKI
Hi Avi, If you use the dyntick clock option (the default, IIRC), and a newer host kernel, then the kernel provides high-resolution timers, very likely using HPET internally or some other high resolution clock and event source. I see. The dyntick clock seems to be more scalable than the

Re: [kvm-devel] [RFC/PATCH 01/15] preparation: provide hook to enable pgstes in user pagetable

2008-03-23 Thread Martin Schwidefsky
On Sun, 2008-03-23 at 12:15 +0200, Avi Kivity wrote: Can you convert the page tables at a later time without doing a wholesale replacement of the mm? It should be a bit easier to keep people off the pagetables than keep their grubby mitts off the mm itself. Yes, as far as I can

[kvm-devel] (no subject)

2008-03-23 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

[kvm-devel] (no subject)

2008-03-23 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

Re: [kvm-devel] KVM: MMU: add KVM_ZAP_GFN ioctl

2008-03-23 Thread Marcelo Tosatti
On Fri, Mar 21, 2008 at 04:56:50PM +0100, Andrea Arcangeli wrote: On Fri, Mar 21, 2008 at 10:37:00AM -0300, Marcelo Tosatti wrote: This is not the final put_page(). Remote TLB's are flushed here, after rmap_remove: + if (nuked) + kvm_flush_remote_tlbs(kvm);

Re: [kvm-devel] question: HPET for multiple VMs

2008-03-23 Thread Dor Laor
On Mon, 2008-03-24 at 00:32 +0900, Ryota OZAKI wrote: Hi Avi, If you use the dyntick clock option (the default, IIRC), and a newer host kernel, then the kernel provides high-resolution timers, very likely using HPET internally or some other high resolution clock and event source.

Re: [kvm-devel] [Qemu-devel] [PATCH] [RFC] Fix time drift of rtc clock + general support

2008-03-23 Thread Dor Laor
On Sun, 2008-03-23 at 16:19 +, Paul Brook wrote: On Sunday 23 March 2008, Dor Laor wrote: --- a/qemu/hw/irq.c +++ b/qemu/hw/irq.c @@ -30,6 +30,8 @@ struct IRQState { int n; }; +uint32_t qemu_irq_acked[NR_IRQ_WORDS]; This is absolute rubbish. The whole point of the

Re: [kvm-devel] Qemu-kvm is leaking my memory ???

2008-03-23 Thread Zdenek Kabelac
2008/3/23, Avi Kivity [EMAIL PROTECTED]: Avi Kivity wrote: I see the same issue too now, and am investigating. The attached patch should fix the issue. It is present in 2.6.25-rc6 only, and not in kvm.git, which is why few people noticed it. Hi Tested - and actually seeing no

Re: [kvm-devel] [Qemu-devel] [PATCH] [RFC] Fix time drift of rtc clock + general support

2008-03-23 Thread Paul Brook
On Sunday 23 March 2008, Dor Laor wrote: On Sun, 2008-03-23 at 16:19 +, Paul Brook wrote: On Sunday 23 March 2008, Dor Laor wrote: --- a/qemu/hw/irq.c +++ b/qemu/hw/irq.c @@ -30,6 +30,8 @@ struct IRQState { int n; }; +uint32_t qemu_irq_acked[NR_IRQ_WORDS];

Re: [kvm-devel] [kvm-ppc-devel] [PATCH] Move kvm_get_pit tolibkvm.c common code

2008-03-23 Thread Zhang, Xiantao
Avi Kivity wrote: Hollis Blanchard wrote: Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT. Signed-off-by: Hollis Blanchard [EMAIL PROTECTED] diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h --- a/libkvm/libkvm.h +++ b/libkvm/libkvm.h