From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jindrich Makovicka Subject: Re: [ANNOUNCE] kvm-37 release Date: Sun, 9 Sep 2007 16:26:06 +0200 Message-ID: <20070909162606.76851ab9@holly> References: <46E3D369.8000401@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=MP_3_1D2yJ+M0kdRnYsgrh1PWA To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --MP_3_1D2yJ+M0kdRnYsgrh1PWA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, 09 Sep 2007 14:05:13 +0300 Avi Kivity wrote: > This release merges the pic/lapic/ioapic into mainline. While some > known issues exist, we're now at the point where it's better to get > some wider exposure rather than keep it alone on a branch. > > Some regressions are expected; please report them as they appear. A > new qmeu option -no-kvm-irqchip is available to disable the new > functionality. My experience so far: On 32-bit Intel host, lapic fails to link due to missing 64bit division. I tried the attached patch to fix the build, but Windows XP froze before showing the booting screen. With -no-kvm-irqchip they work, except the IE plugins like Flash & Java, which are broken since kvm-29. With -no-kvm, qemu-system-x86_64 segfaults immediately. Regards, -- Jindrich Makovicka --MP_3_1D2yJ+M0kdRnYsgrh1PWA Content-Type: text/x-patch; name=lapic.c.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=lapic.c.diff --- lapic.c~ 2007-09-09 12:51:09.000000000 +0200 +++ lapic.c 2007-09-09 16:12:38.000000000 +0200 @@ -31,6 +31,7 @@ #include #include #include +#include #include "irq.h" #define PRId64 "d" @@ -511,8 +512,8 @@ } else passed = ktime_sub(now, apic->timer.last_update); - counter_passed = ktime_to_ns(passed) / - (APIC_BUS_CYCLE_NS * apic->timer.divide_count); + counter_passed = div64_64(ktime_to_ns(passed), + (APIC_BUS_CYCLE_NS * apic->timer.divide_count)); tmcct -= counter_passed; if (tmcct <= 0) { --MP_3_1D2yJ+M0kdRnYsgrh1PWA Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --MP_3_1D2yJ+M0kdRnYsgrh1PWA Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --MP_3_1D2yJ+M0kdRnYsgrh1PWA--