Biweekly KVM Test report, kernel 51ef04ce... qemu 3e6f07b...

2010-01-14 Thread Hao, Xudong
Hi, all This is KVM biweekly test result against kvm.git: 51ef04ce3219d05c88f204342b2db294b5590d0a and qemu-kvm.git: 3e6f07b0c86b7fabfce72c1a42e54b2ad79dc587. There is no new bugs during the two weeks. Five Old Issues: 1. Hot-added device is not

Re: qemu-kvm.git build problem

2010-01-14 Thread Paul E. McKenney
On Thu, Jan 14, 2010 at 01:11:33AM +0100, Jan Kiszka wrote: > Paul E. McKenney wrote: > > On Tue, Jan 12, 2010 at 09:28:15AM +0100, Jan Kiszka wrote: > >> If so, I will try to write something like this the next days. Will > >> surely appreciate your review afterwards! > > > > Sounds good! > > >

Re: qemu-kvm.git build problem

2010-01-14 Thread Lucas Meneghel Rodrigues
On Thu, 2010-01-14 at 01:11 +0100, Jan Kiszka wrote: > Paul E. McKenney wrote: > > On Tue, Jan 12, 2010 at 09:28:15AM +0100, Jan Kiszka wrote: > >> If so, I will try to write something like this the next days. Will > >> surely appreciate your review afterwards! > > > > Sounds good! > > > > Here

KVM: MMU: bail out pagewalk on kvm_read_guest error

2010-01-14 Thread Marcelo Tosatti
Exit the guest pagetable walk loop if reading gpte failed. Otherwise its possible to enter an endless loop processing the previous present pte. Cc: sta...@kernel.org Signed-off-by: Marcelo Tosatti diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index 58a0f1e..ede2131 100644

Re: PCI passthrough resource remapping

2010-01-14 Thread Ryan C. Underwood
On Thu, Jan 14, 2010 at 09:09:32PM +0200, Avi Kivity wrote: > > PCI cards can access system memory directly. If you assign a card > to a guest, the guest will program the card to transfer data to > system memory using guest addresses; since guest addresses don't > correspond to host addresses, m

Re: PCI passthrough resource remapping

2010-01-14 Thread Avi Kivity
On 01/14/2010 08:31 PM, Ryan C. Underwood wrote: On Thu, Jan 14, 2010 at 05:54:51PM +0200, Avi Kivity wrote: On 01/14/2010 05:47 PM, Michael S. Tsirkin wrote: Michael, I think 'DisINTx-' means the device is not PCI 2.3 compliant? No it doesn't, just that interrupt

Re: PCI passthrough resource remapping

2010-01-14 Thread Ryan C. Underwood
On Thu, Jan 14, 2010 at 05:54:51PM +0200, Avi Kivity wrote: > On 01/14/2010 05:47 PM, Michael S. Tsirkin wrote: > > > >>Michael, I think 'DisINTx-' means the device is not PCI 2.3 compliant? > >No it doesn't, just that interrupt disable bit is not set. > > Thanks. Ryan, while kvm doesn't suppor

Re: [PATCH v3 04/12] Add "handle page fault" PV helper.

2010-01-14 Thread Peter Zijlstra
On Tue, 2010-01-05 at 16:12 +0200, Gleb Natapov wrote: > Allow paravirtualized guest to do special handling for some page faults. > > The patch adds one 'if' to do_page_fault() function. The call is patched > out when running on physical HW. I ran kernbech on the kernel with and > without that add

[PATCH] KVM: remove redundant NULL tests

2010-01-14 Thread Roel Kluin
kvm_get_exit_data() cannot return a NULL pointer. Signed-off-by: Roel Kluin --- arch/ia64/kvm/kvm_fw.c | 28 +--- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/arch/ia64/kvm/kvm_fw.c b/arch/ia64/kvm/kvm_fw.c index e4b8231..cb548ee 100644 --- a/arch/ia

Re: PCI passthrough resource remapping

2010-01-14 Thread Avi Kivity
On 01/14/2010 05:47 PM, Michael S. Tsirkin wrote: Michael, I think 'DisINTx-' means the device is not PCI 2.3 compliant? No it doesn't, just that interrupt disable bit is not set. Thanks. Ryan, while kvm doesn't support assigning a device with shared interrupts now, in the future

Re: PCI passthrough resource remapping

2010-01-14 Thread Michael S. Tsirkin
On Thu, Jan 14, 2010 at 05:34:42PM +0200, Avi Kivity wrote: > On 01/14/2010 05:26 PM, Ryan C. Underwood wrote: >> On Thu, Jan 14, 2010 at 03:59:53PM +0200, Avi Kivity wrote: >> >>> > > >Also, just for further complication, the Ricoh chip does not support > >MSI and shares an

Re: PCI passthrough resource remapping

2010-01-14 Thread Avi Kivity
On 01/14/2010 05:26 PM, Ryan C. Underwood wrote: On Thu, Jan 14, 2010 at 03:59:53PM +0200, Avi Kivity wrote: > > >Also, just for further complication, the Ricoh chip does not support > >MSI and shares an IRQ on the system board with the USB host controller. > >I have rebound the U

Re: PCI passthrough resource remapping

2010-01-14 Thread Ryan C. Underwood
On Thu, Jan 14, 2010 at 03:59:53PM +0200, Avi Kivity wrote: > > >Also, just for further complication, the Ricoh chip does not support > >MSI and shares an IRQ on the system board with the USB host controller. > >I have rebound the USB host controller to pci-stub, but I'm not sure if > >that total

Re: [PATCH 4/5] KVM: Lazify fpu activation and deactivation

2010-01-14 Thread Avi Kivity
On 01/14/2010 04:34 PM, Lucas Meneghel Rodrigues wrote: On Thu, 2010-01-14 at 15:11 +0200, Avi Kivity wrote: Strangely, autotest only caught this on AMD and even it took a while. Lucas, can you integrate something like the following into autotest, so we exercise the preemption code harder?

Re: [PATCH 4/5] KVM: Lazify fpu activation and deactivation

2010-01-14 Thread Lucas Meneghel Rodrigues
On Thu, 2010-01-14 at 15:11 +0200, Avi Kivity wrote: > > Strangely, autotest only caught this on AMD and even it took a while. > > Lucas, can you integrate something like the following into autotest, > > so we exercise the preemption code harder? All right Avi, just added it to our TODO list, t

Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1

2010-01-14 Thread Avi Kivity
On 01/14/2010 04:06 PM, Dominik Brodowski wrote: x/5i $eip 0x7f317ab64a7b: movdqa %xmm0,(%rdi) 0x7f317ab64a7f: movdqa %xmm0,0x10(%rdi) 0x7f317ab64a84: movdqa %xmm0,0x20(%rdi) 0x7f317ab64a89: movdqa %xmm0,0x30(%rdi) 0x7f317ab64a8e: movdqa %xmm0,0x40(%rdi) Same va

Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1

2010-01-14 Thread Dominik Brodowski
Hey, On Thu, Jan 14, 2010 at 03:51:43PM +0200, Avi Kivity wrote: > On 01/14/2010 12:18 AM, Dominik Brodowski wrote: > > > > /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version > > 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard > > > >KVM internal error. Sube

Re: PCI passthrough resource remapping

2010-01-14 Thread Avi Kivity
On 01/11/2010 12:15 AM, Ryan C. Underwood wrote: I guess I'll run the things I've found by the list to see if I'm off track or not. There is this patch: http://marc.info/?l=xen-devel&m=124748015304566&w=4 which would seem to be related to what I'm doing, trying to pass through a multifunction d

Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1

2010-01-14 Thread Avi Kivity
On 01/14/2010 12:18 AM, Dominik Brodowski wrote: /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard KVM internal error. Suberror: 1 rax 7f53c1c96000 rbx rcx rdx 00

[ kvm-Bugs-2932002 ] Blue screen BAD_POOL_HEADER windows 2k8 over kvm

2010-01-14 Thread SourceForge.net
Bugs item #2932002, was opened at 2010-01-14 13:10 Message generated for change (Comment added) made by loumy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2932002&group_id=180599 Please note that this message will contain a full copy of the comment thr

Re: [PATCH 4/5] KVM: Lazify fpu activation and deactivation

2010-01-14 Thread Avi Kivity
(actually copying Lucas). On 01/14/2010 03:11 PM, Avi Kivity wrote: On 12/30/2009 06:25 PM, Avi Kivity wrote: Defer fpu deactivation as much as possible - if the guest fpu is loaded, keep it loaded until the next heavyweight exit (where we are forced to unload it). This reduces unnecessary ex

Re: [PATCH 4/5] KVM: Lazify fpu activation and deactivation

2010-01-14 Thread Avi Kivity
On 12/30/2009 06:25 PM, Avi Kivity wrote: Defer fpu deactivation as much as possible - if the guest fpu is loaded, keep it loaded until the next heavyweight exit (where we are forced to unload it). This reduces unnecessary exits. We also defer fpu activation on clts; while clts signals the inten

[ kvm-Bugs-2932002 ] Blue screen BAD_POOL_HEADER windows 2k8 over kvm

2010-01-14 Thread SourceForge.net
Bugs item #2932002, was opened at 2010-01-14 14:10 Message generated for change (Comment added) made by avik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2932002&group_id=180599 Please note that this message will contain a full copy of the comment thre

[ kvm-Bugs-2932002 ] Blue screen BAD_POOL_HEADER windows 2k8 over kvm

2010-01-14 Thread SourceForge.net
Bugs item #2932002, was opened at 2010-01-14 13:10 Message generated for change (Comment added) made by loumy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2932002&group_id=180599 Please note that this message will contain a full copy of the comment thr

[ kvm-Bugs-2932002 ] Blue screen windows 2k8 over kvm

2010-01-14 Thread SourceForge.net
Bugs item #2932002, was opened at 2010-01-14 13:10 Message generated for change (Tracker Item Submitted) made by loumy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2932002&group_id=180599 Please note that this message will contain a full copy of the co

Re: Migration VMWare Server -> KVM

2010-01-14 Thread Thomas Beinicke
On Tuesday 12 January 2010 17:36:49 you wrote: > Hi! > On Tue, 2010-01-12 at 17:20 +0100, Thomas Beinicke wrote: > > > Hi all, > > I am trying to migrate lots of VMWare server VMs to KVM. The linux machines > are not much of a problem but the windows machines cause me some headaches. > > Does a